Thread: Mys 1.3.x Stat/SKill System
View Single Post
  #87  
Old 01-13-2016, 04:50 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 149,728
Abronsyth is on a distinguished road
Default

There is indeed a value in for that adopt (and for all of them I've tested), but it simply will not show up (though it does show up when I re-visit that adopt so it loads the "you've already seen this pet today" page). I've even tried adding the function to the levelupview.php page. I'm having the same issue with displaying the "medals" with the levelupview.php file, as well. What's really odd is that I use {$adopt->getBirthday();} to show the adoptable's birth-date, and that shows up just fine, so I do not understand why {$adopt->getMagic();} isn't working, since they're both defined in all the same places, the same way in class_ownedadoptable.php:
PHP Code:
    public function getBirthday(){
        return 
$this->birthday;
    }
    
    public function 
getMagic(){
        return 
$this->magic;
    }
    
    public function 
getMagicMedalStatus(){
        return 
$this->magicmedalstatus;
    } 
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote