mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Aimed Fireball Spells! (#19030)
* Fireball Spell Changes - Changes the fireball spell to be click-to-fire. - Converted Devil and Wand fireballs as well. - Moved some code to the /proc_holder level to work across the /alien and /spell branches. * Tweaks and Fixes - Infernal Fireball is now a projectile and has the right explosion values. - Removed non-projectile spell versions of fireball, as they are unused - Fixed fireball not seeking adjacent targets. - Fixed incorrect bolding slashes. * Fix Fixes the fireball sometimes missing. * Fixes and tweak - Uses TRUE/FALSE defines instead of 0 and 1 for boolean variables. - Ranged abilities now remove themselves tries to use an ability in a disabled state. (Such as being knocked out) - Define for the click cooldown.
This commit is contained in:
@@ -251,7 +251,7 @@
|
||||
/obj/item/weapon/paper/contract/infernal/magic/FulfillContract(mob/living/carbon/human/user = target.current)
|
||||
if(!istype(user) || !user.mind)
|
||||
return -1
|
||||
user.mind.AddSpell(new /obj/effect/proc_holder/spell/dumbfire/fireball(null))
|
||||
user.mind.AddSpell(new /obj/effect/proc_holder/spell/fireball(null))
|
||||
user.mind.AddSpell(new /obj/effect/proc_holder/spell/aoe_turf/knock(null))
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user