From 7ee0e2be1beae9223eeb8d1b16e6745caae0ec90 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Sun, 28 Nov 2021 15:24:20 -0600 Subject: [PATCH] 1 - Adjusted several prehm mage weapons from xyk's list. --- Items/CalamityGlobalItemBalance.cs | 17 +++++++++++++++-- Projectiles/CalamityGlobalProjectile.cs | 9 +++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Items/CalamityGlobalItemBalance.cs b/Items/CalamityGlobalItemBalance.cs index d2c5368533..49683dbe0c 100644 --- a/Items/CalamityGlobalItemBalance.cs +++ b/Items/CalamityGlobalItemBalance.cs @@ -32,9 +32,11 @@ namespace CalamityMod.Items { ItemID.AdamantiteSword, Do(UseTurn, ScaleRatio(1.5f), UseRatio(0.8f), DamageExact(77)) }, { ItemID.AdamantiteWaraxe, Do(AxePower(160), UseTimeExact(10), TileBoostExact(+1)) }, { ItemID.Amarok, autoReuse }, - { ItemID.AmberStaff, Do(DamageRatio(1.33f)) }, + { ItemID.AmberStaff, Do(DamageRatio(1.33f), UseTimeExact(15), UseAnimationExact(40)) }, + { ItemID.AmethystStaff, Do(ManaExact(2)) }, { ItemID.Anchor, Do(DamageExact(107)) }, { ItemID.AntlionClaw, Do(ScaleRatio(1.5f), DamageRatio(1.5f)) }, + { ItemID.AquaScepter, Do(DamageExact(21), ShootSpeedExact(25f)) }, { ItemID.Arkhalis, trueMelee }, // { ItemID.BabyBirdStaff, Do(AutoReuse, UseExact(35)) }, { ItemID.BallOHurt, Do(DamageRatio(2f)) }, @@ -139,6 +141,7 @@ namespace CalamityMod.Items { ItemID.DeathbringerPickaxe, Do(PickPower(70), UseTimeExact(10)) }, { ItemID.DemonBow, Do(PointBlank, DamageRatio(1.1f)) }, { ItemID.DemonScythe, Do(DamageRatio(0.75f)) }, + { ItemID.DiamondStaff, Do(DamageExact(26)) }, { ItemID.Drax, Do(TrueMelee, PickPower(200), AxePower(110), UseTimeExact(4), TileBoostExact(+1)) }, { ItemID.DyeTradersScimitar, Do(AutoReuse, UseTurn, ScaleRatio(1.5f), DamageRatio(1.33f)) }, { ItemID.Dynamite, maxStack999 }, @@ -147,6 +150,7 @@ namespace CalamityMod.Items { ItemID.EbonwoodSword, Do(AutoReuse, UseTurn) }, { ItemID.ElectrosphereLauncher, Do(DamageRatio(1.1f)) }, { ItemID.EldMelter, Do(DamageRatio(1.5f)) }, // intentionally not in alphabetical order to correct for typo + { ItemID.EmeraldStaff, Do(DamageExact(28)) }, // { ItemID.EmpressBlade, Do(UseExact(20)) }, { ItemID.EnchantedBoomerang, Do(DamageRatio(2f)) }, { ItemID.EnchantedSword, Do(ScaleRatio(1.5f), DamageExact(42), UseAnimationExact(20), ShootSpeedExact(15f)) }, @@ -157,12 +161,14 @@ namespace CalamityMod.Items { ItemID.FieryGreatsword, Do(AutoReuse, UseTurn, ScaleRatio(1.5f), DamageExact(98), UseExact(45)) }, { ItemID.FireworksLauncher, Do(DamageRatio(2f)) }, { ItemID.Flamarang, Do(DamageRatio(2f)) }, + { ItemID.Flamelash, Do(DamageExact(75), UseExact(38)) }, { ItemID.Flamethrower, Do(DamageRatio(1.5f)) }, { ItemID.FlamingArrow, Do(DamageRatio(1.1f)) }, { ItemID.FlareGun, pointBlank }, { ItemID.FleshGrinder, Do(HammerPower(70), UseTimeExact(13), TileBoostExact(+0)) }, { ItemID.FlintlockPistol, pointBlank }, // { ItemID.FlinxStaff, Do(AutoReuse, UseExact(35)) }, + { ItemID.FlowerofFire, Do(AutoReuse, DamageExact(60)) }, { ItemID.FlowerofFrost, Do(DamageRatio(1.2f)) }, { ItemID.FlowerPow, Do(DamageRatio(2f)) }, { ItemID.FormatC, autoReuse }, @@ -231,6 +237,7 @@ namespace CalamityMod.Items { ItemID.LunarHamaxeStardust, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) }, { ItemID.LunarHamaxeVortex, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) }, { ItemID.MagicDagger, autoReuse }, + { ItemID.MagicMissile, Do(DamageExact(48), UseExact(15)) }, { ItemID.MagnetSphere, Do(DamageRatio(1.1f)) }, { ItemID.Marrow, Do(PointBlank, DamageRatio(1.5f)) }, { ItemID.MechanicalEye, nonConsumableBossSummon }, @@ -334,7 +341,9 @@ namespace CalamityMod.Items { ItemID.RocketIV, Do(DamageRatio(0.75f)) }, { ItemID.RocketLauncher, Do(DamageRatio(2f)) }, { ItemID.Rockfish, Do(HammerPower(50), UseTimeExact(10), TileBoostExact(+0)) }, + { ItemID.RubyStaff, Do(DamageExact(25)) }, { ItemID.Sandgun, pointBlank }, + { ItemID.SapphireStaff, Do(AutoReuse, DamageExact(25)) }, // { ItemID.SanguineStaff, Do(AutoReuse, UseExact(25)) }, { ItemID.SawtoothShark, Do(TrueMelee, AxePower(45), UseTimeExact(4), TileBoostExact(-1)) }, { ItemID.SDMG, pointBlank }, @@ -367,6 +376,7 @@ namespace CalamityMod.Items { ItemID.SolarFlareLeggings, Do(DefenseDelta(+4)) }, { ItemID.SolarFlarePickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) }, { ItemID.SoulDrain, Do(DamageRatio(1.33f)) }, + { ItemID.SpaceGun, Do(DamageExact(25)) }, { ItemID.Spear, Do(AutoReuse, TrueMelee, DamageRatio(2f)) }, { ItemID.SpectreHamaxe, Do(HammerPower(90), AxePower(170), UseTimeExact(8), TileBoostExact(+4)) }, { ItemID.SpectrePickaxe, Do(PickPower(200), UseTimeExact(8), TileBoostExact(+4)) }, @@ -416,6 +426,7 @@ namespace CalamityMod.Items { ItemID.TitaniumSword, Do(UseTurn, ScaleRatio(1.5f), UseRatio(0.8f), DamageExact(77)) }, { ItemID.TitaniumTrident, Do(AutoReuse, TrueMelee, UseRatio(0.8f), DamageExact(72), ShootSpeedRatio(1.25f)) }, { ItemID.TitaniumWaraxe, Do(AxePower(160), UseTimeExact(10), TileBoostExact(+1)) }, + { ItemID.TopazStaff, Do(ManaExact(2)) }, { ItemID.Trident, Do(AutoReuse, TrueMelee, DamageRatio(2f)) }, { ItemID.TrueExcalibur, Do(AutoReuse, UseTurn, DamageRatio(1.33f)) }, { ItemID.TrueNightsEdge, Do(AutoReuse, UseTurn, DamageRatio(1.66f)) }, @@ -435,13 +446,15 @@ namespace CalamityMod.Items { ItemID.VenomArrow, Do(DamageRatio(1.1f)) }, { ItemID.VenomStaff, Do(DamageRatio(1.33f)) }, { ItemID.VenusMagnum, Do(AutoReuse, PointBlank) }, + { ItemID.Vilethorn, Do(DamageExact(14)) }, { ItemID.VortexBeater, pointBlank }, { ItemID.VortexChainsaw, trueMelee }, { ItemID.VortexDrill, Do(TrueMelee, PickPower(225), UseTimeExact(3), TileBoostExact(+4)) }, { ItemID.VortexPickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) }, - { ItemID.WandofSparking, Do(DamageRatio(1.33f)) }, + { ItemID.WandofSparking, Do(AutoReuse, DamageExact(15)) }, { ItemID.WarAxeoftheNight, Do(AxePower(100), UseTimeExact(13), TileBoostExact(+0)) }, { ItemID.WaspGun, Do(DamageRatio(1.5f)) }, + { ItemID.WaterBolt, Do(DamageExact(28)) }, { ItemID.WhitePhaseblade, Do(AutoReuse, UseTurn, ScaleRatio(1.5f), DamageRatio(2f)) }, { ItemID.WhitePhasesaber, Do(ScaleRatio(1.5f), DamageExact(72), UseExact(20)) }, { ItemID.WoodenArrow, Do(DamageRatio(1.1f)) }, diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 7cb2756fbf..93b8232fdd 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -303,6 +303,15 @@ namespace CalamityMod.Projectiles projectile.scale = 2f; break; + case ProjectileID.EmeraldBolt: + projectile.penetrate = 1; + break; + + case ProjectileID.Bee: + case ProjectileID.GiantBee: + projectile.penetrate = 2; + break; + case ProjectileID.Retanimini: case ProjectileID.MiniRetinaLaser: case ProjectileID.FlowerPetal: