Mass fix batch #1
1 - Fixed Astral Ore oob error 2 - Fixed a grammatical error in Blast Barrel's tooltip 3 - Fixed Blood Boiler stating the wrong chance to consume HP 4 - Fixed brimstone darts having a larger hitbox than intended 4 - Fixed Brimstone Heart artery trails not appearing 5 - Fixed vanilla bug of Gold Chests being able to contain Meteorite Bars 6 - Fixed Jousting Lance damage formula 7 - Fixed Metastasis index oob error 8 - Fixed Obstructed effect not drawing when gravity is flipped 9 - Fixed exploit with Overloaded Blaster damage when piercing 10 - Fixed Statigel armor paladin minion framing 11 - Fixed SCal being able to deal contact damage on the first frame of spawning 12 - Fixed SCal being able to fire brimstone dart spreads during bros spawn animation 13 - Fixed SCal's brimstone flame skulls briefly being able to deal damage after the bullet hell ends 14 - Fixed Ultimus Cleaver being considered true melee 15 - Fixed Wulfrum Screwdriver not being considered true melee
This commit is contained in:
1 parent
15e967ee65
commit
cf793b05fc
17 files changed
+73
-28
No files matched your search
@@ -408,6 +408,20 @@ namespace CalamityMod.Systems
|
||||
}
|
||||
}
|
||||
|
||||
// Fix vanilla's stupidity with Gold Chests being able to have Meteorite Bars in them near the Underworld
|
||||
if (isGoldChest)
|
||||
{
|
||||
for (int inventoryIndex = 0; inventoryIndex < 40; inventoryIndex++)
|
||||
{
|
||||
if (chest.item[inventoryIndex].type == ItemID.MeteoriteBar)
|
||||
{
|
||||
int oldStack = chest.item[inventoryIndex].stack;
|
||||
chest.item[inventoryIndex].SetDefaults(WorldGen.genRand.NextBool() ? ItemID.PlatinumBar : ItemID.GoldBar);
|
||||
chest.item[inventoryIndex].stack = oldStack;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Give Dead Man's Chests better loot.
|
||||
if (isDeadManChest)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user