Esempio n. 1
0
 function updateMaxHp()
 {
     $mod = $this->getModifier($_SESSION['con']);
     $proficiencies = Stat::getProficiency();
     $GLOBALS['DB']->exec("UPDATE stats SET max_hp = {$mod} WHERE id = {$this->getId()};");
     $this->setMaxHp($mod);
 }