mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
* new support spell #1 * adjustment * pre-emptively fixing icons to avoid conflicts * re-implemented pacifism flag * removed unnecessary vars * oops * oops again * whoops 3 * fixes bad math * math fix 2
21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
/spell/targeted/ice_barrage
|
|
name = "Ice Barrage"
|
|
desc = "Freezes the target in a block of ice. Also inflicts psychological damage."
|
|
user_type = USER_TYPE_ARTIFACT
|
|
|
|
school = "abjuration"
|
|
charge_max = 300
|
|
spell_flags = NEEDSCLOTHES | WAIT_FOR_CLICK | IS_HARMFUL
|
|
range = 7
|
|
max_targets = 1
|
|
|
|
amt_stunned = 5
|
|
cooldown_min = 30
|
|
|
|
hud_state = "ice_barrage"
|
|
|
|
/spell/targeted/ice_barrage/cast(var/list/targets, mob/user)
|
|
..()
|
|
for(var/mob/living/L in targets)
|
|
playsound(L, 'sound/effects/ice_barrage.ogg', 50, 100, extrarange = 3, gas_modified = 0)
|
|
new /obj/structure/ice_block(L.loc, L, 10 SECONDS) |