Stun turret turn with electrical damage

This commit is contained in:
2021-11-05 01:41:57 +00:00
parent 92026bf06a
commit 5cbfa6f1ff
24 changed files with 58 additions and 99 deletions
+4
View File
@@ -31,4 +31,8 @@ data DamageType
| PoisonDam {_dmAmount :: Int}
deriving (Eq,Ord,Show)
isElectrical :: DamageType -> Bool
isElectrical Electrical {} = True
isElectrical _ = False
makeLenses ''DamageType
+1
View File
@@ -5,6 +5,7 @@ data SoundOrigin = InventorySound
| OnceSound
| CrSound Int
| CrWeaponSound Int Int
| MachineSound Int
| WallSound Int
| CrReloadSound Int
| Flamer