nerfed event horizon
This commit is contained in:
1 parent
f3dd3e536e
commit
5e6db28f2d
2 files changed
+4
-4
No files matched your search
@@ -24,7 +24,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
projectile.magic = true;
|
||||
projectile.tileCollide = false;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 5;
|
||||
projectile.localNPCHitCooldown = 8;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
}
|
||||
else
|
||||
{
|
||||
if (projectile.frame == 0 || projectile.frame == 1 || projectile.frame == 2 || projectile.frame == 3)
|
||||
if (projectile.frame < 4)
|
||||
projectile.frame = 4;
|
||||
if (projectile.frame >= 8)
|
||||
projectile.frame = 4;
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
projectile.penetrate = 1;
|
||||
projectile.magic = true;
|
||||
projectile.tileCollide = false;
|
||||
projectile.timeLeft = 600;
|
||||
projectile.timeLeft = 300;
|
||||
projectile.alpha = 180;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Daybreak, 300);
|
||||
Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<EventHorizonBlackhole>(), projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<EventHorizonBlackhole>(), (int)(projectile.damage * 0.5f), projectile.knockBack * 0.5f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
Reference in new issue
Block a user