View Single Post
  #4  
Old 04-30-2003, 06:57 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

sint32 base_hp = 0;
switch(classb) {
case WARRIOR:
if (levelb < 20)
multiplier = 22;
else if (levelb < 30)
multiplier = 23;
else if (levelb < 40)
multiplier = 25;
else if (levelb < 53)
multiplier = 27;
else if (levelb < 57)
multiplier = 28;
else
multiplier = 30;
case DRUID:



I'd guess that its falling through to the default: case since the break is missing..

I'll fix it tonight in CVS
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote