View Single Post
  #2  
Old 05-05-2017, 12:21 PM
KatFennec's Avatar
KatFennec KatFennec is offline
Member
 
Join Date: Apr 2017
Posts: 57
Gender: Female
Credits: 7,859
KatFennec is on a distinguished road
Default

Now, log into your database, and browse to the prefix_items_functions table, and copy the row for "Level1", changing the name to "LevelCheck", and setting a description such as "This item checks the total clicks of your pet against the clicks required for a specified level."


Finally, you need to open levelup.php, found in the root of your mysidia install, and comment out or remove the following entry:
PHP Code:
if($this->adopt->hasNextLevel()){
$nextLevel $this->adopt->getNextLevel();
$requiredClicks $nextLevel->getRequiredClicks();
if(
$requiredClicks and $newClicks >= $requiredClicks$this->adopt
->setCurrentLevel($nextLevel->getLevel(), "update");

Now, all you need to do is to create the items you want to use, and remember to set their values to the level you want them to advance the pet to.
__________________
Reply With Quote