ID:169818
 
I was wonder how can I make a person evade depeing on their agility,I can do a formula for attacking but not evadeing.
mob
var
dex
agi
verb
asdf(mob/M as mob in world)
if(prob(M.agi/4-dex*1.5)+rand(-5,5))
src<<"Phailure!"
else
src<<"Winnar!"


That works, I think. :p
Uhm, if(prob(sqrt(round(src.agility)-1)))? O.o. There are other formulas for this, especially if your using 1-255 stat values like on Final Fantasy 10.