Files
Kashargul 5926589c16 removes var/ inside all procs (#19450)
* removes var/ inside all procs

* .

* ugh
2026-05-05 10:55:17 +02:00

40 lines
923 B
Plaintext

/datum/spell/targeted/projectile/dumbfire/fireball
name = "Fireball"
desc = "This spell fires a fireball at a target and does not require wizard garb."
proj_type = /obj/item/projectile/spell_projectile/fireball
school = "evocation"
charge_max = 100
spell_flags = 0
invocation = "ONI SOMA"
invocation_type = SpI_SHOUT
range = 20
cooldown_min = 20 //10 deciseconds reduction per rank
spell_flags = 0
duration = 20
proj_step_delay = 1
amt_dam_brute = 20
amt_dam_fire = 25
var/ex_severe = -1
var/ex_heavy = 1
var/ex_light = 2
var/ex_flash = 5
hud_state = "wiz_fireball"
/datum/spell/targeted/projectile/dumbfire/fireball/prox_cast(list/targets, spell_holder)
for(var/mob/living/M in targets)
apply_spell_damage(M)
explosion(get_turf(spell_holder), ex_severe, ex_heavy, ex_light, ex_flash)
//PROJECTILE
/obj/item/projectile/spell_projectile/fireball
name = "fireball"
icon_state = "fireball"