mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Merge pull request #41085 from YPOQ/antimagicteslablastfix
Fixes anti-magic not actually protecting against tesla blast spell
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
if(current.anti_magic_check())
|
||||
playsound(get_turf(current), 'sound/magic/lightningshock.ogg', 50, 1, -1)
|
||||
current.visible_message("<span class='warning'>[current] absorbs the spell, remaining unharmed!</span>", "<span class='userdanger'>You absorb the spell, remaining unharmed!</span>")
|
||||
if(bounces < 1)
|
||||
else if(bounces < 1)
|
||||
current.electrocute_act(bolt_energy,"Lightning Bolt",safety=1)
|
||||
playsound(get_turf(current), 'sound/magic/lightningshock.ogg', 50, 1, -1)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user