Let's do this actually
This commit is contained in:
1 parent
54d357ebe5
commit
7c3bfb2b37
3 files changed
+4
-4
No files matched your search
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 8;
|
||||
Item.height = 8;
|
||||
Item.damage = 17;
|
||||
Item.damage = 18;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -41,7 +41,7 @@ BubonicRound: {
|
||||
Tooltip:
|
||||
'''
|
||||
Spreads the plague on hit
|
||||
Ignores 20% of enemy defense
|
||||
Ignores 10% of enemy defense
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -69,8 +69,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
|
||||
// Ignores 20% of armor
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) => modifiers.ScalingArmorPenetration += 0.2f;
|
||||
public override void ModifyHitPlayer(Player target, ref Player.HurtModifiers modifiers) => modifiers.ScalingArmorPenetration += 0.2f;
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) => modifiers.ScalingArmorPenetration += 0.1f;
|
||||
public override void ModifyHitPlayer(Player target, ref Player.HurtModifiers modifiers) => modifiers.ScalingArmorPenetration += 0.1f;
|
||||
|
||||
// Inflicts Plague for 0.75 seconds
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Plague>(), 45);
|
||||
|
||||
Reference in new issue
Block a user