Start to add respawn points, re-fix semi-auto triggers

This commit is contained in:
2025-08-11 00:00:32 +01:00
parent 38e8f91346
commit dd1f3b2ef5
10 changed files with 116 additions and 113 deletions
+2 -2
View File
@@ -15,13 +15,13 @@ import Dodge.Data.TriggerType
itemTriggerType :: LocationDT OItem -> TriggerType
itemTriggerType loc
| isPulseLaser loc = SemiAutoTrigger 9
| isPulseLaser loc = AutoTrigger 9
| otherwise = baseItemTriggerType $ loc ^. locDT . dtValue . _1
baseItemTriggerType :: Item -> TriggerType
baseItemTriggerType itm = case itm ^. itType of
HELD hit -> heldTriggerType hit
ATTACH CAPACITOR -> SemiAutoTrigger 10
ATTACH CAPACITOR -> AutoTrigger 10
_ -> NoTrigger
heldTriggerType :: HeldItemType -> TriggerType