Fixed Drataliornus and Sky Glaze iframes
these were set to make global iframes 0 and 1 respectively on hit npc, so removed that and made drata use 0 local iframes and sky glaze 1 static iframe
This commit is contained in:
1 parent
a8ef9cebe9
commit
21d944e15d
2 files changed
+3
-9
No files matched your search
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Projectile.aiStyle = ProjAIStyleID.Nail;
|
||||
AIType = ProjectileID.NailFriendly;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 10;
|
||||
Projectile.idStaticNPCHitCooldown = 1;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -37,10 +37,6 @@ namespace CalamityMod.Projectiles.Magic
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.immune[Projectile.owner] = 1;
|
||||
}
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
{
|
||||
|
||||
@@ -23,8 +23,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.DamageType = DamageClass.Ranged;
|
||||
Projectile.arrow = true;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 10;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 0;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -64,8 +64,6 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.immune[Projectile.owner] = 0;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<Dragonfire>(), 180);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user