nvm to lazy to rewrite these
This commit is contained in:
1 parent
a2a3ab63e7
commit
552c066084
2 files changed
+1
-5
No files matched your search
@@ -28,7 +28,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public Vector2 storedPos;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projPet[Type] = true;
|
||||
ProjectileID.Sets.MinionSacrificable[Type] = false; // To prevent blade type desync
|
||||
ProjectileID.Sets.MinionTargettingFeature[Type] = true;
|
||||
}
|
||||
@@ -305,7 +304,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
|
||||
public override bool MinionContactDamage() => attackCooldown == 0;
|
||||
public override bool? CanDamage() => (attackCooldown == 0 ? base.CanDamage() : false);
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public bool Firing = false;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projPet[Type] = true;
|
||||
ProjectileID.Sets.TrailingMode[Type] = 0;
|
||||
ProjectileID.Sets.TrailCacheLength[Type] = 7;
|
||||
}
|
||||
@@ -93,8 +92,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
}
|
||||
}
|
||||
|
||||
public override bool MinionContactDamage() => true;
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
if (Firing)
|
||||
|
||||
Reference in new issue
Block a user