|
@@ -265,7 +265,7 @@
|
|
|
if ($r){
|
|
if ($r){
|
|
|
$this->id = $r["id"];
|
|
$this->id = $r["id"];
|
|
|
$this->family = $r["family"];
|
|
$this->family = $r["family"];
|
|
|
- $this->name = $r["name"];
|
|
|
|
|
|
|
+ $this->name = e($r["name"]);
|
|
|
$this->element = $r["element"];
|
|
$this->element = $r["element"];
|
|
|
switch($this->element){
|
|
switch($this->element){
|
|
|
case $ELEMENT["WATER"]:
|
|
case $ELEMENT["WATER"]:
|
|
@@ -306,7 +306,7 @@
|
|
|
$this->natural_stars = $r["natural_stars"];
|
|
$this->natural_stars = $r["natural_stars"];
|
|
|
$this->obtainable = $r["obtainable"];
|
|
$this->obtainable = $r["obtainable"];
|
|
|
$this->can_awaken = $r["can_awaken"];
|
|
$this->can_awaken = $r["can_awaken"];
|
|
|
- $this->awaken_bonus = $r["awaken_bonus"];
|
|
|
|
|
|
|
+ $this->awaken_bonus = e($r["awaken_bonus"]);
|
|
|
$this->skill_ups_to_max = $r["skill_ups_to_max"];
|
|
$this->skill_ups_to_max = $r["skill_ups_to_max"];
|
|
|
if (strlen($r["leader_skill"]) > 0){
|
|
if (strlen($r["leader_skill"]) > 0){
|
|
|
$this->leader_skill = new K_Leader_Skill($this->db, $r["leader_skill"]);
|
|
$this->leader_skill = new K_Leader_Skill($this->db, $r["leader_skill"]);
|