feat: geltana applies OnFire debuff to other players

This commit is contained in:
Abdulmujeeb Raji 2024-11-13 12:34:51 +00:00
parent d23e58da89
commit 65b43df935
Signed by untrusted user: midnadimple
GPG key ID: EB02C582F8C3962B
2 changed files with 9 additions and 1 deletions

View file

@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
@ -46,5 +47,12 @@ namespace continuity.Content.Items.Weapons
{
target.AddBuff(BuffID.OnFire, 120);
}
public override void OnHitPvp(Player player, Player target, Player.HurtInfo hurtInfo)
{
target.AddBuff(BuffID.OnFire, 120);
}
}
}

View file

@ -1,4 +1,4 @@
//// DEBUG WorldGen System for testing
//// DEBUG WorldGen System for testing, uncomment this file during test. AND MUST REMEMBER TO RECOMMENT BEFORE COMMITING.
//using Terraria;
//using Terraria.ModLoader;
//using Microsoft.Xna.Framework.Input;