Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
This commit is contained in:
commit
f1cc096607
1 file changed
+3
-6
@@ -27,6 +27,8 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Projectile.extraUpdates = 3;
|
||||
Projectile.timeLeft = 150;
|
||||
Projectile.alpha = 100;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 5;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -102,12 +104,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
// TODO -- Why are there so many incorrectly programmed i-frame sets
|
||||
target.immune[Projectile.owner] = 5;
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user