Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

LVlup

void Character::LvlUp()
{
  bool level_up = false;
  if(this->fish == true)
  {
   int thirdrdlvl = this->flvl * 3;

    if (this->fexp >= ((this->flvl * thirdrdlvl) * 50))//EX:lvl 10 x 30 x 50 = 15000
      {
        this->flvl += 1;
        level_up = true;
      }
    }

   if(this->mine == true)
    {
     int thirdrdlvl = this->mlvl * 3;

    if (this->mexp >= ((this->mlvl * thirdrdlvl) * 50))//EX:lvl 10 x 30 x 50 = 1500
      {
        this->mlvl += 1;
        level_up = true;
      }
    }

   if (level_up)
    {
    this->Emote(EMOTE_LEVELUP, true);
    }

   this->Save();
}