Ill use an example to explain myself.
If i wanted to have a flee action, from a fight, I wanna take the enemys agility var and the usr.
so, Ill say...
var/a=14
and
var/b=54
Now... I wanna subtract the 1 from the other then average them out or somthing, Or just get the average within a hundred range (like percent)
So this way i can do...
if(percent>=25)
world<<"PlayerA Fled from battle!"
any help?
Thanks.