remove fog lantern cooldown while rando is active

This commit is contained in:
CraftyBoss
2026-05-18 19:17:34 -07:00
parent 769b8f02c8
commit 6ea50f33e4
+11 -2
View File
@@ -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;