This one too
This commit is contained in:
parent
33453d809c
commit
c8e4a8ea01
@ -33,7 +33,7 @@ let checkWeaponHasCooldown (weapon : Item) attacker =
|
||||
attacker.Events
|
||||
|> Array.tryFind (fun a ->
|
||||
match a.Type with
|
||||
| Hacking h -> h.HackId = weapon.Id
|
||||
| Hacking h -> h.HackId = weapon.Id && h.IsInstigator
|
||||
| Shielding id -> id = weapon.Id
|
||||
| _ -> false)
|
||||
|> function
|
||||
|
Loading…
x
Reference in New Issue
Block a user