[MIRROR] SM, Tesla, and general engineering adjustments [MDB IGNORE] [IDB IGNORE] (#12603)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-26 20:08:54 -07:00
committed by GitHub
parent 743a16c74d
commit a62b9ed8fe
83 changed files with 992 additions and 309 deletions
+3 -3
View File
@@ -66,14 +66,14 @@ ADMIN_VERB(admin_lightning_strike, R_FUN, "Lightning Strike", "Causes lightning
return
if(ground) // All is well.
ground.tesla_act(LIGHTNING_POWER, FALSE)
ground.tesla_act(LIGHTNING_POWER, FALSE, current_jumps = 1)
return
else if(coil) // Otherwise lets bounce off the tesla coil.
coil.tesla_act(LIGHTNING_POWER, TRUE)
coil.tesla_act(LIGHTNING_POWER, TRUE, current_jumps = 1)
else // Striking the turf directly.
tesla_zap(T, zap_range = LIGHTNING_ZAP_RANGE, power = LIGHTNING_POWER, explosive = FALSE, stun_mobs = TRUE)
tesla_zap(T, zap_range = LIGHTNING_ZAP_RANGE, power = LIGHTNING_POWER, explosive = FALSE, stun_mobs = TRUE, current_jumps = 1)
// Some extra effects.
// Some apply to those within zap range, others if they were a bit farther away.