Gakhan wrote:Thanks for the code- looks too crazy for me to decode- and the breakdown.
Sorry, I assumed the code is self-evident. Your strength is multiplied by 5, your Dex is multiplied by 7 and their sum is compared to a random number between 0 and 600. If the sum is higher, then you get a retaliation.
Example: your Str is 20 and your Dex is 15.
5*20+7*15=100+105=205. So 205 is compared to a random number between 0 and 600 and it means you have about 34% chance to retaliate (205/600=0.34=34%)
Another example: your Str is 15 and your Dex is 20.
5*15+7*20=75+140=215. So 215 is compared to a random number between 0 and 600 and it means you have about 36% chance to retaliate (215/600=0.36=36%)
Underestimated: cleaving, Deep Elf, Formicid, Vehumet, EV
Overestimated: AC, GDS
Twin account of
Sandman25