feat: geltana applies OnFire debuff to other players
This commit is contained in:
parent
d23e58da89
commit
65b43df935
2 changed files with 9 additions and 1 deletions
|
@ -7,6 +7,7 @@ using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Terraria;
|
using Terraria;
|
||||||
|
using Terraria.DataStructures;
|
||||||
using Terraria.ID;
|
using Terraria.ID;
|
||||||
using Terraria.ModLoader;
|
using Terraria.ModLoader;
|
||||||
|
|
||||||
|
@ -46,5 +47,12 @@ namespace continuity.Content.Items.Weapons
|
||||||
{
|
{
|
||||||
target.AddBuff(BuffID.OnFire, 120);
|
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;
|
||||||
//using Terraria.ModLoader;
|
//using Terraria.ModLoader;
|
||||||
//using Microsoft.Xna.Framework.Input;
|
//using Microsoft.Xna.Framework.Input;
|
||||||
|
|
Reference in a new issue