From 6ea50f33e40e4a4681f851f3346612a4ef7ce4f6 Mon Sep 17 00:00:00 2001 From: CraftyBoss Date: Mon, 18 May 2026 19:17:34 -0700 Subject: [PATCH] remove fog lantern cooldown while rando is active --- src/d/actor/d_a_kytag08.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/d/actor/d_a_kytag08.cpp b/src/d/actor/d_a_kytag08.cpp index 44f4bf5f9a..d825d2f7c4 100644 --- a/src/d/actor/d_a_kytag08.cpp +++ b/src/d/actor/d_a_kytag08.cpp @@ -88,8 +88,17 @@ static int daKytag08_Execute(kytag08_class* i_this) { } } - if ((daPy_getPlayerActorClass()->checkKandelaarSwing(TRUE) && i_this->mSizeTimer < 100) || - dComIfGs_BossLife_public_Get() == 1) +#if TARGET_PC + bool doFogWipe = false; + if (randomizer_IsActive()) { + doFogWipe = ((i_this->mSizeTimer < 100) || dComIfGs_BossLife_public_Get() == 1); + }else { + doFogWipe = (daPy_getPlayerActorClass()->checkKandelaarSwing(TRUE) && i_this->mSizeTimer < 100) || dComIfGs_BossLife_public_Get() == 1; + } + if (doFogWipe) +#else + if ((daPy_getPlayerActorClass()->checkKandelaarSwing(TRUE) && i_this->mSizeTimer < 100) || dComIfGs_BossLife_public_Get() == 1) +#endif { dComIfGs_BossLife_public_Set(0); i_this->mTargetAvoidPos = i_this->current.pos;