Confusion will no longer continue to confuse after being cured (#52286)

* Confusion will no longer continue to confuse after being cured

* Grammar comment fix

* Move to status effect

* Remove test per request

* Make confusion a status effect, confusion curing now completely neuters the confusion

* set_confusion changes, get_confusion

* Fix confusion going down twice per tick

* Change strength = to proc

* Move procs to status_procs
This commit is contained in:
Jared-Fogle
2020-08-05 16:36:00 -03:00
committed by GitHub
parent 4176da0cb7
commit 7df16c595e
47 changed files with 137 additions and 82 deletions
+1 -1
View File
@@ -62,6 +62,6 @@
C.apply_status_effect(/datum/status_effect/trance, 100, TRUE)
else
to_chat(C, "<span class='hypnophrase'>The light is so pretty...</span>")
C.confused += min(C.confused + 10, 20)
C.add_confusion(min(C.get_confusion() + 10, 20))
C.dizziness += min(C.dizziness + 10, 20)
C.drowsyness += min(C.drowsyness + 10, 20)