> If I understand the question correctly, here's a simple way to do it.. > Instead, just use a higher number so the chance is less: > if (number(0, 501) < GET_SKILL(ch, SKILL_DODGE)) I originally just replied to Brian, but here's what I suggested. if(number(1,100) < (GET_SKILL(ch, SKILL_DODGE)/5)) do_dodge; If max skill of 85, there is a max dodge of 17%. +, as your skill goes up, you hit it more. -pirahna
This archive was generated by hypermail 2b30 : 12/07/00 PST