|
|
|||||||||||||||
|
product->essences as $essence){
?>
product->base_stars; $i ++){
?>
Collection:
product->owned as $owned){
if ($owned->unit->awakens_from == "" && $owned->unit->awakens_to == ""){
// No to, no from, silver monster.
$star_class ="star_silver";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
elseif ($owned->unit->awakens_from != "" && $owned->unit->awakens_to == ""){
// Already awakened
if ($owned->unit->base_stars - $owned->unit->natural_stars == 1){
// Normal awaken.
$star_class ="star_purple";
}
else{
// Second awaken.
$star_class ="star_red";
}
$mon_title = $owned->unit->name;
}
elseif ($owned->unit->awakens_to != ""){
// Awakeable.
$star_class ="star_gold";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
$mon_title = $mon_title . " - " . $owned->stars . "* - Lv." . $owned->level;
?>
stars; $i ++){
?>
|
ingredient_unawaken[0]->essences as $essence){
?>
ingredient[0]->base_stars; $i ++){
?>
Collection:
ingredient[0]->owned as $owned){
?>
unit->awakens_from == "" && $owned->unit->awakens_to == ""){
// No to, no from, silver monster.
$star_class ="star_silver";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
elseif ($owned->unit->awakens_from != "" && $owned->unit->awakens_to == ""){
// Already awakened
if ($owned->unit->base_stars - $owned->unit->natural_stars == 1){
// Normal awaken.
$star_class ="star_purple";
}
else{
// Second awaken.
$star_class ="star_red";
}
$mon_title = $owned->unit->name;
}
elseif ($owned->unit->awakens_to != ""){
// Awakeable.
$star_class ="star_gold";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
for ($i = 0; $i < $owned->stars; $i ++){
?>
|
||||||||||||||
|
ingredient_unawaken[$num]->essences as $essence){
?>
ingredient_unawaken[$num]->base_stars; $i ++){
?>
Collection:
owned as $owned){
if ($owned->unit->awakens_from == "" && $owned->unit->awakens_to == ""){
// No to, no from, silver monster.
$star_class ="star_silver";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
elseif ($owned->unit->awakens_from != "" && $owned->unit->awakens_to == ""){
// Already awakened
if ($owned->unit->base_stars - $owned->unit->natural_stars == 1){
// Normal awaken.
$star_class ="star_purple";
}
else{
// Second awaken.
$star_class ="star_red";
}
$mon_title = $owned->unit->name;
}
elseif ($owned->unit->awakens_to != ""){
// Awakeable.
$star_class ="star_gold";
$mon_title = $owned->unit->element_name . " " . $owned->unit->name;
}
$mon_title = $mon_title . " - " . $owned->stars . "* - Lv." . $owned->level;
?>
stars; $i ++){
?>
|
|||||||||||||||