Skip to content
Snippets Groups Projects
Commit 9279ca80 authored by kopareigns's avatar kopareigns
Browse files

Health fixes

parent 258f98b2
No related branches found
No related tags found
2 merge requests!2047RA rework,!1704SecExp Spellcheck and Bugfixes
...@@ -519,7 +519,7 @@ ...@@ -519,7 +519,7 @@
<<if $Concubine.health >= -60>> <<if $Concubine.health >= -60>>
<<set $Concubine.health -= 30>> <<set $Concubine.health -= 30>>
<<else>> <<else>>
<<set $Concubine.health -= Math.abs(90 - $Concubine.health)>> <<set $Concubine.health = -90>>
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
<<if $Bodyguard.health >= -60>> <<if $Bodyguard.health >= -60>>
<<set $Bodyguard.health -= 30>> <<set $Bodyguard.health -= 30>>
<<else>> <<else>>
<<set $Bodyguard.health -= Math.abs(90 - $Bodyguard.health)>> <<set $Bodyguard.health = -90>>
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
...@@ -689,7 +689,7 @@ ...@@ -689,7 +689,7 @@
<<if $Concubine.health >= -60>> <<if $Concubine.health >= -60>>
<<set $Concubine.health -= 30>> <<set $Concubine.health -= 30>>
<<else>> <<else>>
<<set $Concubine.health -= Math.abs(90 - $Concubine.health)>> <<set $Concubine.health = -90>>
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
...@@ -797,7 +797,7 @@ ...@@ -797,7 +797,7 @@
<<if $Concubine.health >= -60>> <<if $Concubine.health >= -60>>
<<set $Concubine.health -= 30>> <<set $Concubine.health -= 30>>
<<else>> <<else>>
<<set $Concubine.health -= Math.abs(90 - $Concubine.health)>> <<set $Concubine.health = -90>>
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
...@@ -831,4 +831,4 @@ ...@@ -831,4 +831,4 @@
<</if>> <</if>>
<<set $slaveRebellion = 0>> <<set $slaveRebellion = 0>>
<<set $citizenRebellion = 0>> <<set $citizenRebellion = 0>>
<<set $tension = Math.clamp($tension - random(50,100), 0, 100)>> <<set $tension = Math.clamp($tension - random(50,100), 0, 100)>>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment