So I want this script to use divine fury when my stamina is less then 40%...
set stamPercMod 40
set stamPerc ( ( #MAXSTAM / 100 ) * %stamPercMod )
if #STAMINA < %stamPerc
gosub dFury
sub dFury
event macro 15 205
wait 5
return
I have 153 stamina, and following that algorithm, %stamPerc should be set to 61.2, so it should use divine fury at around 61 stamina, however instead it does it at 40 stamina. Is this an integer issue?