Nerfed Batho/Proto Bangles
This commit is contained in:
1 parent
b3a4d0e38c
commit
a11523e4b6
3 files changed
+2
-24
No files matched your search
@@ -288,7 +288,7 @@ BatholithBangle: {
|
||||
Tooltip:
|
||||
'''
|
||||
Magic enemy hits create a powerful granite flash that always critically strikes
|
||||
This effect has a 10 second cooldown, but is halved if the flash kills an enemy
|
||||
This effect has a 10 second cooldown
|
||||
Visual and audio effects are reduced if visibility is disabled
|
||||
[c/0189D7:'The solid granite radiates energy throughout your body']
|
||||
'''
|
||||
@@ -1391,7 +1391,7 @@ ProtolithBangle: {
|
||||
Tooltip:
|
||||
'''
|
||||
Ranged enemy hits create a marble flash that always critically strikes and can hit multiple enemies
|
||||
This effect has a 7 second cooldown, but is halved if the flash kills the first enemy it hits
|
||||
This effect has a 7 second cooldown
|
||||
Visual and audio effects are reduced if visibility is disabled
|
||||
[c/C5B965:'The cold marble against your wrist puts your mind at ease']
|
||||
'''
|
||||
|
||||
@@ -127,17 +127,6 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
float launchPower = 9;
|
||||
target.MoveNPC(launchVel, launchPower, true);
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
bool hasCD = Owner.Calamity().cooldowns.TryGetValue(GenericBandCooldown.ID, out CooldownInstance bandCD);
|
||||
|
||||
if ((damageDone <= 2 || (target.life <= 0 && target.realLife == -1)) && Owner.Calamity().generalBandCooldown > BatholithBangle.cooldown / 2)
|
||||
{
|
||||
Owner.Calamity().generalBandCooldown -= BatholithBangle.cooldown / 2;
|
||||
if (hasCD)
|
||||
bandCD.timeLeft -= BatholithBangle.cooldown / 2;
|
||||
}
|
||||
}
|
||||
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, Projectile.width * 0.5f, targetHitbox);
|
||||
public override bool? CanDamage()
|
||||
{
|
||||
|
||||
@@ -115,17 +115,6 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
float launchPower = 6;
|
||||
target.MoveNPC(launchVel, launchPower, true);
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
bool hasCD = Owner.Calamity().cooldowns.TryGetValue(GenericBandCooldown.ID, out CooldownInstance bandCD);
|
||||
|
||||
if ((damageDone <= 2 || (target.life <= 0 && target.realLife == -1)) && Owner.Calamity().generalBandCooldown > ProtolithBangle.cooldown / 2)
|
||||
{
|
||||
Owner.Calamity().generalBandCooldown -= ProtolithBangle.cooldown / 2;
|
||||
if (hasCD)
|
||||
bandCD.timeLeft -= ProtolithBangle.cooldown / 2;
|
||||
}
|
||||
}
|
||||
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, Projectile.width * 0.5f * Projectile.scale, targetHitbox);
|
||||
public override bool? CanDamage()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user