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 12:36:00 -07:00
committed by GitHub
parent 4176da0cb7
commit 7df16c595e
47 changed files with 137 additions and 82 deletions
+1 -1
View File
@@ -90,7 +90,7 @@
if(2,3)
owner.dizziness += 10
if(4,5)
owner.confused += 10
owner.add_confusion(10)
owner.blur_eyes(10)
if(6 to 9)
owner.slurring += 30
+1 -1
View File
@@ -118,7 +118,7 @@
owner.blind_eyes(10)
if(4)
owner.dizziness += 10
owner.confused += 10
owner.add_confusion(10)
owner.Jitter(10)
owner.stuttering += 10
+2 -2
View File
@@ -190,12 +190,12 @@
if(!high_stress)
to_chat(owner, "<span class='warning'>You can't stop shaking...</span>")
owner.dizziness += 20
owner.confused += 20
owner.add_confusion(20)
owner.Jitter(20)
else
to_chat(owner, "<span class='warning'>You feel weak and scared! If only you weren't alone...</span>")
owner.dizziness += 20
owner.confused += 20
owner.add_confusion(20)
owner.Jitter(20)
owner.adjustStaminaLoss(50)