1 - Greatly reduced rolling cacti and spike damage.
2 - Gave Life Crystals, Life Fruits and Mana Crystals autoreuse. 3 - Capped Lance damage to 1000.
This commit is contained in:
1 parent
0791ce0a8b
commit
373edcf866
3 files changed
+20
No files matched your search
@@ -5359,9 +5359,19 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
// Reduce damage from vanilla traps
|
||||
|
||||
// Explosives
|
||||
// 350 in normal, 450 in expert
|
||||
if (proj.type == ProjectileID.Explosives)
|
||||
damage = (int)(damage * (Main.expertMode ? 0.225 : 0.35));
|
||||
|
||||
// Rolling Cacti
|
||||
// 45 in normal, 65 in expert for cactus
|
||||
// 30 in normal, 36 in expert for spikes
|
||||
else if (proj.type == ProjectileID.RollingCactus || proj.type == ProjectileID.RollingCactusSpike)
|
||||
damage = (int)(damage * (Main.expertMode ? 0.3 : 0.5));
|
||||
|
||||
// Boulders
|
||||
if (Main.expertMode)
|
||||
{
|
||||
// 140 in normal, 182 in expert
|
||||
|
||||
@@ -250,6 +250,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.LeadHammer, Do(HammerPower(45), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.LeadPickaxe, Do(PickPower(40), UseTimeExact(8)) },
|
||||
{ ItemID.LeadShortsword, Do(AutoReuse, DamageRatio(1.25f)) },
|
||||
{ ItemID.LifeCrystal, autoReuse },
|
||||
{ ItemID.LifeFruit, autoReuse },
|
||||
{ ItemID.LightDisc, Do(DamageExact(128)) },
|
||||
{ ItemID.LightsBane, Do(AutoReuse, UseTurn, ScaleRatio(1.5f), DamageRatio(2f)) },
|
||||
{ ItemID.LunarFlareBook, Do(DamageRatio(1.5f)) },
|
||||
@@ -260,6 +262,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.MagicDagger, autoReuse },
|
||||
{ ItemID.MagicMissile, Do(DamageExact(48), UseExact(15)) },
|
||||
{ ItemID.MagnetSphere, Do(DamageRatio(1.1f)) },
|
||||
{ ItemID.ManaCrystal, autoReuse },
|
||||
{ ItemID.Marrow, Do(PointBlank, DamageRatio(1.5f)) },
|
||||
{ ItemID.MechanicalEye, nonConsumableBossSummon },
|
||||
{ ItemID.MechanicalSkull, nonConsumableBossSummon },
|
||||
|
||||
@@ -4032,6 +4032,13 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
}
|
||||
|
||||
// Cap lance damage.
|
||||
if (projectile.type == ProjectileID.JoustingLance || projectile.type == ProjectileID.HallowJoustingLance || projectile.type == ProjectileID.ShadowJoustingLance)
|
||||
{
|
||||
if (damage > 1000)
|
||||
damage = 1000;
|
||||
}
|
||||
|
||||
// Apply balancing resists/vulnerabilities.
|
||||
BalancingChangesManager.ApplyFromProjectile(npc, ref damage, projectile);
|
||||
|
||||
|
||||
Reference in new issue
Block a user