Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Big Bang After Effects: HP/MP recalc?
#3
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.
Reply


Messages In This Thread
Big Bang After Effects: HP/MP recalc? - by Kalovale - 2010-10-17, 11:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)