Spell cooldown refactor (#18327)

* Squashed commit of the following:

commit 979fe5287c3dd33cd5d69bdd968beae245984f2e
Author: hal9000PR <charliesteeples@outlook.com>
Date:   Sat Jul 9 23:40:53 2022 +0100

    guts the old system

* refactors spell cooldowns into a handler

* charge datum

* garbage collection

* cleanup, renames cooldown var

* review changes

* boo cooldown fix

* styling

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
Charlie
2022-07-23 00:00:42 +02:00
committed by GitHub
co-authored by Sirryan2002
parent 247f9712c5
commit ded049a902
55 changed files with 255 additions and 221 deletions
@@ -392,7 +392,7 @@
/obj/effect/proc_holder/spell/exit_possession
name = "Exit Possession"
desc = "Exits the body you are possessing"
charge_max = 60
base_cooldown = 60
clothes_req = FALSE
invocation_type = "none"
action_icon_state = "exit_possession"