Change hammer trigger behaviour to make it easier to repeat fire
This commit is contained in:
@@ -108,7 +108,8 @@ hammerCheck f pt loc cr w = case itemTriggerType loc of
|
||||
HammerTrigger t
|
||||
| w ^. cWorld . lWorld . lClock - t > timelastused
|
||||
, isNothing $ find ((== MakeAutoSF) . (^. dtValue . _2)) (loc ^. locDT . dtRight)
|
||||
, pt == 0 ->
|
||||
, pt < w ^. cWorld . lWorld . lClock - timelastused ->
|
||||
-- , pt == 0 ->
|
||||
f loc cr w
|
||||
AutoTrigger t
|
||||
| w ^. cWorld . lWorld . lClock - t > timelastused -> f loc cr w
|
||||
|
||||
Reference in New Issue
Block a user