shellfish gets typeless scaling, dreadmine doesn't double hit
This commit is contained in:
1 parent
54efac2b97
commit
baf126259e
2 files changed
+4
-3
No files matched your search
@@ -39,7 +39,7 @@ namespace CalamityMod.Buffs.DamageOverTime
|
||||
}
|
||||
|
||||
Item heldItem = Main.player[owner].HeldItem;
|
||||
int totalDamage = (int)Main.player[owner].GetTotalDamage<SummonDamageClass>().ApplyTo(debuffData.EnemyLostRegen);
|
||||
int totalDamage = (int)npc.Calamity().ActiveTypelessDebuffMultiplier.ApplyTo(Main.player[owner].GetTotalDamage<SummonDamageClass>().ApplyTo(debuffData.EnemyLostRegen));
|
||||
|
||||
if (CalamityUtils.ShouldTriggerSummonPenalty(Main.player[owner], heldItem))
|
||||
totalDamage = (int)(totalDamage * BalancingConstants.SummonerCrossClassNerf);
|
||||
|
||||
@@ -24,6 +24,9 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.timeLeft = 600;
|
||||
Projectile.DamageType = DamageClass.Summon;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = -1;
|
||||
Projectile.appliesImmunityTimeOnSingleHits = true;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -171,8 +174,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.position.Y = Projectile.position.Y - (float)(Projectile.height / 2);
|
||||
Projectile.maxPenetrate = -1;
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 10;
|
||||
Projectile.Damage();
|
||||
SoundEngine.PlaySound(SoundID.Item14, Projectile.position);
|
||||
for (int j = 0; j < 20; j++)
|
||||
|
||||
Reference in new issue
Block a user