2010-10-17, 11:19 AM
Code:
signed int __cdecl IncHPVal(__int32 a1)
{
__int32 v1; // eax@1
signed int v3; // [sp-4h] [bp-8h]@7
v1 = a1 % 1000 / 100;
if ( !v1 ) //Beginner
return 8;
if ( v1 == 1 ) //Warrior
return 20;
if ( v1 == 2 ) //Mage
{
if ( a1 / 100 != 32 ) //If not a battlemage
{
if ( a1 / 100 != 22 && a1 != 2001 ) //If not an Evan
v3 = 6;
else //If you're an Evan
v3 = 12;
return v3;
}
return 20; //Battlemage
}
if ( v1 <= 2 ) //All other beginner classes
return 0;
if ( v1 <= 4 ) //Thieves and Bowmen
return 16;
if ( v1 != 5 ) //Anything else not yet covered
return 0;
return 18; //Pirates
}Is this it? At least, it's minimum, I believe. Either this isn't what I think it is, or Warrior looks quite depressing.

