2013 errors and Drat flames literally don't exist
This commit is contained in:
1 parent
a7f684447d
commit
9158c2f2f0
3778 files changed
+14542
-14556
No files matched your search
@@ -2,7 +2,7 @@ using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ModLoader; using CalamityMod.Buffs; using CalamityMod.Items; using CalamityMod.NPCs; using CalamityMod.Projectiles; using CalamityMod.Tiles; using CalamityMod.Walls;
|
||||
|
||||
namespace CalamityMod.Utilities
|
||||
{
|
||||
@@ -171,7 +171,7 @@ namespace CalamityMod.Utilities
|
||||
public static bool DropRevBagAccessories(Player p)
|
||||
{
|
||||
CalamityMod mod = ModContent.GetInstance<CalamityMod>();
|
||||
return DropItemFromSetCondition(p, CalamityWorld.revenge, 0.05f, mod.ItemType("StressPills"), mod.ItemType("Laudanum"), mod.ItemType("HeartofDarkness"));
|
||||
return DropItemFromSetCondition(p, CalamityWorld.revenge, 0.05f, ModContent.ItemType<StressPills>(), ModContent.ItemType<Laudanum>(), ModContent.ItemType<HeartofDarkness>());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -190,9 +190,9 @@ namespace CalamityMod.Utilities
|
||||
|
||||
CalamityMod mod = ModContent.GetInstance<CalamityMod>();
|
||||
int dropped = 0;
|
||||
dropped += DropItem(theBoss, mod.ItemType("MagnumRounds"), magnum);
|
||||
dropped += DropItem(theBoss, mod.ItemType("GrenadeRounds"), bazooka);
|
||||
dropped += DropItem(theBoss, mod.ItemType("ExplosiveShells"), hydra);
|
||||
dropped += DropItem(theBoss, ModContent.ItemType<MagnumRounds>(), magnum);
|
||||
dropped += DropItem(theBoss, ModContent.ItemType<GrenadeRounds>(), bazooka);
|
||||
dropped += DropItem(theBoss, ModContent.ItemType<ExplosiveShells>(), hydra);
|
||||
return dropped;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user