Rod of balance requires exos + scal dead
This commit is contained in:
1 parent
6e2b0b6702
commit
3bd8928198
2 files changed
+16
No files matched your search
@@ -9,6 +9,20 @@ namespace CalamityMod.ILEditing
|
||||
{
|
||||
public partial class ILChanges
|
||||
{
|
||||
#region Rod of Harmony Changes
|
||||
|
||||
private static bool ChangeRodOfHarmonyShimmerRequirement(On_Item.orig_CanShimmer orig, Item item)
|
||||
{
|
||||
//Rod of Harmony requires Draedong and SCal dead instead of Moon Lord.
|
||||
if (item.type == ItemID.RodofDiscord)
|
||||
{
|
||||
return DownedBossSystem.downedCalamitas && DownedBossSystem.downedExoMechs;
|
||||
}
|
||||
return orig(item);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Soaring Insignia Changes
|
||||
private static void RemoveSoaringInsigniaInfiniteWingTime(ILContext il)
|
||||
{
|
||||
|
||||
@@ -118,6 +118,7 @@ namespace CalamityMod.ILEditing
|
||||
IL_Sandstorm.HasSufficientWind += DecreaseSandstormWindSpeedRequirement;
|
||||
IL_Item.TryGetPrefixStatMultipliersForItem += RelaxPrefixRequirements;
|
||||
On_NPC.SlimeRainSpawns += PreventBossSlimeRainSpawns;
|
||||
On_Item.CanShimmer += ChangeRodOfHarmonyShimmerRequirement;
|
||||
|
||||
// TODO -- Beat Lava Slimes once and for all
|
||||
// IL.Terraria.NPC.VanillaHitEffect += RemoveLavaDropsFromExpertLavaSlimes;
|
||||
@@ -144,6 +145,7 @@ namespace CalamityMod.ILEditing
|
||||
{
|
||||
VanillaSpawnTownNPCs = null;
|
||||
labDoorOpen = labDoorClosed = aLabDoorOpen = aLabDoorClosed = exoDoorClosed = exoDoorOpen = -1;
|
||||
On_Item.CanShimmer -= ChangeRodOfHarmonyShimmerRequirement;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user