Merge pull request #15778 from Sirryan2002/Despookify

Prevents Ghosts from circumventing boo spell cooldown
This commit is contained in:
Fox McCloud
2021-07-13 00:34:47 -04:00
committed by GitHub
+1 -1
View File
@@ -503,8 +503,8 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
revert_cast(user)
return FALSE
perform(targets, user = user, make_attack_logs = create_logs)
remove_ranged_ability(user)
perform(targets, user = user, make_attack_logs = create_logs)
return TRUE
/* Checks if a target is valid