Commit of decompiled and "updated" code.

This commit is contained in:
Big Duckie
2022-07-03 14:13:26 -06:00
parent 3d34e53842
commit e1441e74a5
731 changed files with 18423 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Buffs.ShimadaSword;
public class BadDream : ModBuff
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bad Dream");
Description.SetDefault(" - Losing life!\n - Sweating!");
Main.buffNoTimeDisplay[Type] = false;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.lifeRegen -= 20;
npc.color = Color.Gainsboro;
}
public override void Update(Player player, ref int buffIndex)
{
player.lifeRegen -= 20;
}
}