mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Formating
* removed excess ;
This commit is contained in:
@@ -656,7 +656,7 @@ class QuestListFilter extends Filter
|
||||
if ($cr[1])
|
||||
return ['AND', ['zoneOrSort', 0, '>'], [['flags', QUEST_FLAG_DAILY | QUEST_FLAG_WEEKLY | QUEST_FLAG_REPEATABLE , '&'], 0], [['specialFlags', QUEST_FLAG_SPECIAL_REPEATABLE | QUEST_FLAG_SPECIAL_MONTHLY , '&'], 0]];
|
||||
else
|
||||
return ['OR', ['zoneOrSort', 0, '<'], ['flags', QUEST_FLAG_DAILY | QUEST_FLAG_WEEKLY | QUEST_FLAG_REPEATABLE , '&'], ['specialFlags', QUEST_FLAG_SPECIAL_REPEATABLE | QUEST_FLAG_SPECIAL_MONTHLY , '&']];;
|
||||
return ['OR', ['zoneOrSort', 0, '<'], ['flags', QUEST_FLAG_DAILY | QUEST_FLAG_WEEKLY | QUEST_FLAG_REPEATABLE , '&'], ['specialFlags', QUEST_FLAG_SPECIAL_REPEATABLE | QUEST_FLAG_SPECIAL_MONTHLY , '&']];
|
||||
}
|
||||
|
||||
protected function cbSpellRewards($cr)
|
||||
|
||||
@@ -23,7 +23,7 @@ class AreaTriggersPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
if (isset($this->category[0]))
|
||||
header('Location: ?areatriggers&filter=ty='.$this->category[0], true, 302);
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class EnchantmentsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new EnchantmentListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -21,7 +21,7 @@ class EventsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class FactionsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -1126,7 +1126,7 @@ class GenericPage
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;;
|
||||
return false;
|
||||
}
|
||||
|
||||
private function memcached() : Memcached
|
||||
|
||||
@@ -24,7 +24,7 @@ class NpcsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new CreatureListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -19,7 +19,7 @@ class PetsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class SkillsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class SoundsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
if (isset($this->category[0]))
|
||||
header('Location: ?sounds&filter=ty='.$this->category[0], true, 302);
|
||||
|
||||
|
||||
@@ -1761,7 +1761,7 @@ class SpellPage extends GenericPage
|
||||
if ($_ = QuestList::getName($effMV))
|
||||
$foo['name'] .= '(<a href="?quest='.$effMV.'">'.$_.'</a>)';
|
||||
else
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('quest')).' #'.$effMV;;
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('quest')).' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_SUMMON:
|
||||
case SPELL_EFFECT_SUMMON_PET:
|
||||
@@ -1845,7 +1845,7 @@ class SpellPage extends GenericPage
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('spell')).' #'.$effMV;
|
||||
}
|
||||
else
|
||||
$foo['name'] .= ' #'.$effMV;;
|
||||
$foo['name'] .= ' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_SKINNING:
|
||||
switch ($effMV)
|
||||
@@ -1877,7 +1877,7 @@ class SpellPage extends GenericPage
|
||||
if ($_ = SkillList::getName($effMV))
|
||||
$foo['name'] .= '(<a href="?skill='.$effMV.'">'.$_.'</a>)';
|
||||
else
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('skill')).' #'.$effMV;;
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('skill')).' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_ACTIVATE_RUNE:
|
||||
$_ = Lang::spell('powerRunes', $effMV);
|
||||
@@ -2105,7 +2105,7 @@ class SpellPage extends GenericPage
|
||||
if ($n = SkillList::getName($effMV))
|
||||
$bar = ' (<a href="?skill='.$effMV.'">'.$n.'</a>)';
|
||||
else
|
||||
$bar = Lang::main('colon').Util::ucFirst(Lang::game('skill')).' #'.$effMV;;
|
||||
$bar = Lang::main('colon').Util::ucFirst(Lang::game('skill')).' #'.$effMV;
|
||||
|
||||
break;
|
||||
case SPELL_AURA_ADD_FLAT_MODIFIER:
|
||||
@@ -2164,7 +2164,7 @@ class SpellPage extends GenericPage
|
||||
$bar = $transform['typeId'] ? ' (<a href="?npc='.$transform['typeId'].'">'.$transform['displayName'].'</a>)' : ' (#0)';
|
||||
}
|
||||
else
|
||||
$bar = Lang::main('colon').Lang::game('npc').' #'.$effMV;;
|
||||
$bar = Lang::main('colon').Lang::game('npc').' #'.$effMV;
|
||||
|
||||
break;
|
||||
case SPELL_AURA_FORCE_REACTION:
|
||||
|
||||
@@ -91,7 +91,7 @@ class SpellsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new SpellListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -19,7 +19,7 @@ class TitlesPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class ZonesPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(function () {
|
||||
function create(w, h) {
|
||||
var body = 'STATIC_URL/widgets/searchbox/searchbox.html';;
|
||||
var body = 'STATIC_URL/widgets/searchbox/searchbox.html';
|
||||
var buff = '<iframe src="' + body + '" width="' + w + '" height="' + h + '" frameborder="0" class="aowow-searchbox"';
|
||||
buff += "></iframe>";
|
||||
|
||||
|
||||
@@ -23672,7 +23672,7 @@ var ConditionList = new function() {
|
||||
else if (i > 0)
|
||||
buff += ', ';
|
||||
|
||||
buff += $WH.sprintf(tpl, arr[i], src[arr[i]]);;
|
||||
buff += $WH.sprintf(tpl, arr[i], src[arr[i]]);
|
||||
}
|
||||
|
||||
return buff;
|
||||
@@ -23688,7 +23688,7 @@ var ConditionList = new function() {
|
||||
if (strIdx == 22 || strIdx == 23)
|
||||
strIdx = 4;
|
||||
else if (strIdx == 16 || strIdx == 30 || strIdx == 32)
|
||||
strIdx--;;
|
||||
strIdx--;
|
||||
|
||||
if (!g_conditions[strIdx])
|
||||
return 'unknown condition index ' + strIdx;
|
||||
|
||||
Reference in New Issue
Block a user