diff --git a/Common/Players/ERIPlayer.cs b/Common/Players/ERIPlayer.cs index d8a8ab8..64fab3a 100644 --- a/Common/Players/ERIPlayer.cs +++ b/Common/Players/ERIPlayer.cs @@ -12,10 +12,7 @@ public class ERIPlayer : ModPlayer { public bool Blessed = false; public bool WeaponImbueBlackFlame = false; - - public bool DarkMoonGreatswordIsCharged = false; - public bool DarkMoonGreatswordCharging = false; - + public override void ResetEffects() { WeaponImbueBlackFlame = false; @@ -24,8 +21,6 @@ public override void ResetEffects() public override void OnRespawn() { Blessed = false; - DarkMoonGreatswordIsCharged = false; - DarkMoonGreatswordCharging = false; } public override void MeleeEffects(Item item, Rectangle hitbox) @@ -34,9 +29,7 @@ public override void MeleeEffects(Item item, Rectangle hitbox) { if (item.DamageType.CountsAsClass() && !item.noMelee && !item.noUseGraphic) { if (Main.rand.NextBool(2)) - { Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, DustID.Wraith, Scale: Main.rand.NextFloat(0.5f, 0.8f)); - } } } } @@ -44,9 +37,7 @@ public override void MeleeEffects(Item item, Rectangle hitbox) public override void OnHitNPCWithItem(Item item, NPC target, NPC.HitInfo hit, int damageDone) { if (WeaponImbueBlackFlame && item.DamageType.CountsAsClass()) - { - target.AddBuff(ModContent.BuffType(), 60*3); - } + target.AddBuff(ModContent.BuffType(), 60 * 3); // 3 seconds } } } \ No newline at end of file