mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 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/weapon/spell/spawner/fire_blast
|
|
|
|
/obj/item/weapon/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/weapon/spell/spawner/fire_blast/on_ranged_cast(atom/hit_atom, mob/user)
|
|
if(pay_energy(2000))
|
|
owner.adjust_instability(12)
|
|
..() // Makes the booms happen.
|
|
|
|
/obj/effect/temporary_effect/fire_blast
|
|
name = "fire blast"
|
|
desc = "Run!"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "at_shield1"
|
|
time_to_die = 2.5 SECONDS // After which we go boom.
|
|
invisibility = 0
|
|
new_light_range = 4
|
|
new_light_power = 5
|
|
new_light_color = "#FF6A00"
|
|
|
|
/obj/effect/temporary_effect/fire_blast/Destroy()
|
|
explosion(get_turf(src), -1, 1, 2, 5, adminlog = 1)
|
|
..() |