feat: geltana applies OnFire debuff to other players
This commit is contained in:
parent
d23e58da89
commit
65b43df935
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue