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
|
HammerTrigger t
|
||||||
| w ^. cWorld . lWorld . lClock - t > timelastused
|
| w ^. cWorld . lWorld . lClock - t > timelastused
|
||||||
, isNothing $ find ((== MakeAutoSF) . (^. dtValue . _2)) (loc ^. locDT . dtRight)
|
, isNothing $ find ((== MakeAutoSF) . (^. dtValue . _2)) (loc ^. locDT . dtRight)
|
||||||
, pt == 0 ->
|
, pt < w ^. cWorld . lWorld . lClock - timelastused ->
|
||||||
|
-- , pt == 0 ->
|
||||||
f loc cr w
|
f loc cr w
|
||||||
AutoTrigger t
|
AutoTrigger t
|
||||||
| w ^. cWorld . lWorld . lClock - t > timelastused -> f loc cr w
|
| w ^. cWorld . lWorld . lClock - t > timelastused -> f loc cr w
|
||||||
|
|||||||
Reference in New Issue
Block a user