Acid Gun rebalancing

This commit is contained in:
ben-tk committed 2022-10-07 19:11:59 -04:00
1 parent 3ac45002e9
commit c837d83178
2 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void SetDefaults()
{
Item.damage = 26;
Item.damage = 28;
Item.DamageType = DamageClass.Magic;
Item.mana = 9;
Item.width = 42;
+11
View File
@@ -1,3 +1,4 @@
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.Dusts;
using Microsoft.Xna.Framework;
using Terraria;
@@ -84,5 +85,15 @@ namespace CalamityMod.Projectiles.Magic
proj.Kill();
}
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
}
public override void OnHitPvp(Player target, int damage, bool crit)
{
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
}
}
}