mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* fixed misc php8 errors that went unnoticed as php7 warnings before * added lost areatrigger generator to Setup script * updated readme with working TCDB info and php 8.0 support
This commit is contained in:
@@ -142,7 +142,7 @@ class FactionPage extends GenericPage
|
||||
case 'creature_rate': $buff .= '[tr][td]'.Lang::game('npcs') .Lang::main('colon').'[/td]'; break;
|
||||
case 'spell_rate': $buff .= '[tr][td]'.Lang::game('spells') .Lang::main('colon').'[/td]'; break;
|
||||
default:
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
|
||||
$buff .= '[td width=35px align=right][span class=q'.($v < 1 ? '10]' : '2]+').intVal(($v - 1) * 100).'%[/span][/td][/tr]';
|
||||
|
||||
@@ -253,7 +253,7 @@ class ZonePage extends GenericPage
|
||||
|
||||
$this->extendGlobalData($started->getJSGlobals());
|
||||
|
||||
if (($tpl['A'] != -1) & ($_ = $started->getSOMData(SIDE_ALLIANCE)))
|
||||
if (($tpl['A'] != -1) && ($_ = $started->getSOMData(SIDE_ALLIANCE)))
|
||||
$addToSOM('alliancequests', array(
|
||||
'coords' => [[$spawn['posX'], $spawn['posY']]],
|
||||
'level' => $spawn['floor'],
|
||||
@@ -264,7 +264,7 @@ class ZonePage extends GenericPage
|
||||
'quests' => array_values($_)
|
||||
));
|
||||
|
||||
if (($tpl['H'] != -1) & ($_ = $started->getSOMData(SIDE_HORDE)))
|
||||
if (($tpl['H'] != -1) && ($_ = $started->getSOMData(SIDE_HORDE)))
|
||||
$addToSOM('hordequests', array(
|
||||
'coords' => [[$spawn['posX'], $spawn['posY']]],
|
||||
'level' => $spawn['floor'],
|
||||
@@ -350,7 +350,7 @@ class ZonePage extends GenericPage
|
||||
|
||||
$this->extendGlobalData($started->getJSGlobals());
|
||||
|
||||
if (($tpl['A'] != -1) & ($_ = $started->getSOMData(SIDE_ALLIANCE)))
|
||||
if (($tpl['A'] != -1) && ($_ = $started->getSOMData(SIDE_ALLIANCE)))
|
||||
$addToSOM('alliancequests', array(
|
||||
'coords' => [[$spawn['posX'], $spawn['posY']]],
|
||||
'level' => $spawn['floor'],
|
||||
@@ -363,7 +363,7 @@ class ZonePage extends GenericPage
|
||||
'quests' => array_values($_)
|
||||
));
|
||||
|
||||
if (($tpl['H'] != -1) & ($_ = $started->getSOMData(SIDE_HORDE)))
|
||||
if (($tpl['H'] != -1) && ($_ = $started->getSOMData(SIDE_HORDE)))
|
||||
$addToSOM('hordequests', array(
|
||||
'coords' => [[$spawn['posX'], $spawn['posY']]],
|
||||
'level' => $spawn['floor'],
|
||||
|
||||
Reference in New Issue
Block a user