General MajorMUD Formulas
Posted: Mon Sep 08, 2003 1:44 am
Well recently I've been wanting to test a lot of things before i tryed it on my legit character and this led me dasm and generate some accurate formulas for majormud based off the actual code, instead of relative approximations i have came up with some stats of interest to me sofar:
Dodge:
player->dodge=(((((15*player->dodge2))+(abs(2*player->agility+player->charisma-150)/4)+(2*player->agility+player->charisma-150)/4)+1)*(50+player->level)/100);
Accuracy:
player->acc=((player->combat-1)*5)+(player->combat*player->level/5)+((2*player->agility+player->intellect-150)/2);
i'm working on rewriting them to better suite people writing it for other languages, like mudview, very nicely done
but that's just a very unclean take from the code, going from asm to c
hopefully we can have an addon to mudview or something that will gave 100% accurate combat scenarios with any equipment you want, against any monster you want, without having to do it on your legit char first
Dodge:
player->dodge=(((((15*player->dodge2))+(abs(2*player->agility+player->charisma-150)/4)+(2*player->agility+player->charisma-150)/4)+1)*(50+player->level)/100);
Accuracy:
player->acc=((player->combat-1)*5)+(player->combat*player->level/5)+((2*player->agility+player->intellect-150)/2);
i'm working on rewriting them to better suite people writing it for other languages, like mudview, very nicely done
but that's just a very unclean take from the code, going from asm to c
hopefully we can have an addon to mudview or something that will gave 100% accurate combat scenarios with any equipment you want, against any monster you want, without having to do it on your legit char first