mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
/datum/technomancer/spell/fire_blast
|
|
name = "Fire Blast"
|
|
desc = "Causes a disturbance on a targeted tile. After two and a half seconds, it will explode in a small radius around it. Be \
|
|
sure to not be close to the disturbance yourself."
|
|
cost = 175
|
|
obj_path = /obj/item/spell/spawner/fire_blast
|
|
category = OFFENSIVE_SPELLS
|
|
|
|
/obj/item/spell/spawner/fire_blast
|
|
name = "fire blast"
|
|
desc = "Leading your booms might be needed."
|
|
icon_state = "fire_blast"
|
|
cast_methods = CAST_RANGED
|
|
aspect = ASPECT_FIRE
|
|
spawner_type = /obj/effect/temporary_effect/fire_blast
|
|
|
|
/obj/item/spell/spawner/fire_blast/on_ranged_cast(atom/hit_atom, mob/user)
|
|
if(within_range(hit_atom) && pay_energy(2000))
|
|
adjust_instability(12)
|
|
..() // Makes the booms happen.
|
|
|
|
/obj/effect/temporary_effect/fire_blast
|
|
name = "fire blast"
|
|
desc = "Run!"
|
|
icon_state = "at_shield1"
|
|
time_to_die = 2.5 SECONDS // After which we go boom.
|
|
light_range = 4
|
|
light_power = 5
|
|
light_color = "#FF6A00"
|
|
|
|
/obj/effect/temporary_effect/fire_blast/Destroy()
|
|
explosion(get_turf(src), -1, 1, 2, 5, adminlog = 1)
|
|
..() |