Add Nullified debuff, add Transcendent weapons and tool

This commit is contained in:
2025-11-20 13:25:27 +00:00
parent f3aecf176c
commit d1a99ca8b1
26 changed files with 1037 additions and 99 deletions
+25
View File
@@ -0,0 +1,25 @@
using Terraria;
using Terraria.ModLoader;
namespace ForgottenWawiTech.Content.Buffs.Debuffs
{
public class TypeNull : ModBuff
{
public override void SetStaticDefaults()
{
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
}
public override void Update(Player player, ref int buffIndex)
{
// Debuff endurance, wing time, life regen and mana regen, but double speed
player.endurance -= 0.20f;
player.wingTimeMax = (int)(player.wingTimeMax * 0.2f);
player.lifeRegen -= 10;
player.manaRegenBonus -= 20;
player.moveSpeed += 0.20f;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB