On Tue, 16 Feb 1999, Kaine LaZaro wrote: *SNIP* > int thaco(int class_num, int level) > { > int mod; > swicth(class_num) { > case CLASS_MAGIC_USER: mod = 5; break; > case CLASS_WARRIOR: mod = 1; break; > case CLASS_CLERIC: mod = 3; break; > case CLASS_THIEF: mod = 2; break; > default: mod = 5; break; > } > return 100 - (mod * level); *SNIP* Don't you mean : return 100 - (level / mod); here? mod*level would give a level 100 mage -400 thac0 and a level 100 warrior only 0 thac0... and if I'm not mistaken, the lower the thac0 the better... +'~'-.,.-'~'-.,.-'~'+ / Brian Williams / +.,.-'~'-.,.-'~'-.,.+ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST