Stun turrets with electrical damage directly

This commit is contained in:
2026-02-15 17:15:08 +00:00
parent a9e80809e8
commit 8ae58823f8
7 changed files with 42 additions and 39 deletions
+1 -1
View File
@@ -1159,7 +1159,7 @@ mcShootLaser _ mc =
shootLaser (MachinePrimarySound (_mcID mc)) (DamageLaser 11) 1 pos dir yellow
where
pos = _mcPos mc +.+ 20 *.* unitVectorAtAngle dir
dir = mc ^?! mcType . _McTurret . tuDir
dir = mc ^?! mcType . mctTurret . tuDir
mcShootAuto :: Item -> Machine -> World -> World
mcShootAuto itm mc w