Skip to content
Snippets Groups Projects
Commit 6828a8e7 authored by kopareigns's avatar kopareigns
Browse files

Another one

parent 5fa96b6f
No related branches found
No related tags found
1 merge request!3137Fixes
...@@ -8,7 +8,7 @@ As $args[0].slaveName is going about $his business with $his overfilled $args[0] ...@@ -8,7 +8,7 @@ As $args[0].slaveName is going about $his business with $his overfilled $args[0]
<<for _dw = 0; _dw < $slaves.length; _dw++>> <<for _dw = 0; _dw < $slaves.length; _dw++>>
<<if ($slaves[_dw].trust <= 50)>> <<if ($slaves[_dw].trust <= 50)>>
<<if ($slaves[_dw].inflation >= 0)>> <<if ($slaves[_dw].inflation >= 0)>>
<<set $slaves[_dw].trust -= ((($slaves[_dw].inflation)^3)*5)>> <<set $slaves[_dw].trust -= (Math.pow($slaves[_dw].inflation,3)*5)>>
<<else>> <<else>>
<<set $slaves[_dw].trust -= 10>> <<set $slaves[_dw].trust -= 10>>
<</if>> <</if>>
......
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