mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fixes lightning bolt not giving tesla shock immunity when granted by an admin (#66973)
This commit is contained in:
@@ -115,6 +115,14 @@
|
||||
deactive_msg = "You let the energy flow out of your hands back into yourself..."
|
||||
projectile_type = /obj/projectile/magic/aoe/lightning
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/lightningbolt/on_gain(mob/living/user)
|
||||
. = ..()
|
||||
ADD_TRAIT(user, TRAIT_TESLA_SHOCKIMMUNE, "lightning_bolt_spell")
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/lightningbolt/on_lose(mob/living/user)
|
||||
. = ..()
|
||||
REMOVE_TRAIT(user, TRAIT_TESLA_SHOCKIMMUNE, "lightning_bolt_spell")
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/fireball
|
||||
name = "Fireball"
|
||||
desc = "This spell fires an explosive fireball at a target."
|
||||
|
||||
Reference in New Issue
Block a user