Skip to content

Commit 008b783

Browse files
committed
narrow scope of g-mode exceptions to heat frame test
1 parent 72f6254 commit 008b783

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/asserts/keywords.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,12 @@ def process_strats(src, paramData):
748748
# Ok since there is implicit heat frames in leavesWithRunway, and it is normal
749749
# if no explicit ones to be present for a strat going from the door to itself.
750750
pass
751-
elif "comeInWithGMode" in strat.get("entranceCondition", []) or "gModeRegainMobility" in strat:
752-
# There is no heat damage in G-mode, so it is normal for these strats to not have heat frames.
751+
elif "comeInWithGMode" in strat.get("entranceCondition", []) and "leaveWithGMode" in strat.get("exitCondition", []):
752+
# Strats that come in with G-mode and leave with G-mode will be spending the entire time in G-mode,
753+
# so it is normal for these strats to not have heat frames.
754+
pass
755+
elif "gModeRegainMobility" in strat:
756+
# Regain mobility strats also take place entirely in G-mode.
753757
pass
754758
elif "comeInWithGrappleTeleport" in strat.get("entranceCondition", []) and \
755759
strat.get("bypassesDoorShell") is True:

0 commit comments

Comments
 (0)