From 0aab7ba7416ea5ca730e91c2c38e66b3af533c18 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Sat, 5 Aug 2023 20:25:37 -0500 Subject: [PATCH] Cirrus fucks mounts if you exit her arena while on one. --- NPCs/SupremeCalamitas/SupremeCalamitas.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 06abf33d2f..1ef3f61799 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -657,6 +657,28 @@ namespace CalamityMod.NPCs.SupremeCalamitas } NPC.Calamity().CurrentlyEnraged = !player.Hitbox.Intersects(safeBox); + // Cirrus fucks mounts if you exit her arena. + if (cirrus) + { + if (!player.Hitbox.Intersects(safeBox) && player.mount.Active) + { + player.ResetEffects(); + player.head = -1; + player.body = -1; + player.legs = -1; + player.handon = -1; + player.handoff = -1; + player.back = -1; + player.front = -1; + player.shoe = -1; + player.waist = -1; + player.shield = -1; + player.neck = -1; + player.face = -1; + player.balloon = -1; + } + } + // Set DR to be 99% and unbreakable if enraged. Boost DR during the 5th attack. CalamityGlobalNPC global = NPC.Calamity(); if (protectionBoost && !gettingTired5)