mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* added option to 'verbose' concatenate a list of items to class Lang * added option to strip tags from a string to class Markdown * fixed several instances of wrong categories on pages * actually display world state conditions for zone music * some typos all over the place
This commit is contained in:
@@ -1366,7 +1366,7 @@ class ItemList extends BaseType
|
||||
return null;
|
||||
}
|
||||
// level independant Bonus
|
||||
else if (in_array($type, Util::$lvlIndepRating))
|
||||
else if (in_array($type, Game::$lvlIndepRating))
|
||||
return Lang::item('trigger', 1).str_replace('%d', '<!--rtg'.$type.'-->'.$value, Lang::item('statType', $type));
|
||||
// rating-Bonuses
|
||||
else
|
||||
|
||||
@@ -57,7 +57,7 @@ class SkillList extends BaseType
|
||||
'name' => Util::jsEscape($this->getField('name', true)),
|
||||
'profession' => $this->curTpl['professionMask'],
|
||||
'recipeSubclass' => $this->curTpl['recipeSubClass'],
|
||||
'specializations' => Util::toJSON($this->curTpl['specializations']),
|
||||
'specializations' => Util::toJSON($this->curTpl['specializations'], JSON_NUMERIC_CHECK),
|
||||
'icon' => Util::jsEscape($this->curTpl['iconString'])
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user