Remove push damage types, push and torque done through dam effects

This commit is contained in:
2023-05-01 10:26:48 +01:00
parent 06608c60bf
commit d0534e6fa3
8 changed files with 8 additions and 32 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ moveShockwave w sw
| otherwise =
cr & crState . csDamage
.:~ Damage
PUSHDAM
CONCUSSIVE
dam
(cpos -.- v)
cpos
@@ -68,7 +68,7 @@ moveInverseShockwave w sw
| dist (_crPos cr) p >= rad + _crRad cr = cr
| otherwise =
cr & crState . csDamage
.:~ Damage PUSHDAM 1 (cpos +.+ v) cpos (cpos -.- v) (PushBackDamage 25)
.:~ Damage CONCUSSIVE 1 (cpos +.+ v) cpos (cpos -.- v) (PushBackDamage 25)
where
cpos = _crPos cr
v = normalizeV (cpos -.- p)