mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixups
* forgotten rename fails
This commit is contained in:
@@ -1555,7 +1555,7 @@ class SmartAI
|
|||||||
{
|
{
|
||||||
$type = Type::NPC;
|
$type = Type::NPC;
|
||||||
if ($spawnType == 1)
|
if ($spawnType == 1)
|
||||||
$type == Type::GAMEOBJECT;
|
$type == Type::OBJECT;
|
||||||
|
|
||||||
$a['param'][7] = $this->spawnFlags('action', 3);
|
$a['param'][7] = $this->spawnFlags('action', 3);
|
||||||
|
|
||||||
@@ -1582,7 +1582,7 @@ class SmartAI
|
|||||||
case SAI_ACTION_RESPAWN_BY_SPAWNID: // 133
|
case SAI_ACTION_RESPAWN_BY_SPAWNID: // 133
|
||||||
$type = Type::NPC;
|
$type = Type::NPC;
|
||||||
if ($a['param'][0] == 1)
|
if ($a['param'][0] == 1)
|
||||||
$type == Type::GAMEOBJECT;
|
$type == Type::OBJECT;
|
||||||
|
|
||||||
if ($_ = DB::Aowow()->selectCell('SELECT `typeId` FROM ?_spawns WHERE `type` = ?d AND `guid` = ?d', $type, $a['param'][1]))
|
if ($_ = DB::Aowow()->selectCell('SELECT `typeId` FROM ?_spawns WHERE `type` = ?d AND `guid` = ?d', $type, $a['param'][1]))
|
||||||
$a['param'][6] = '['.Type::getFileString($type).'='.$_.']';
|
$a['param'][6] = '['.Type::getFileString($type).'='.$_.']';
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ class GuideList extends BaseType
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tt = '<table><tr><td><div style="max-width: 320px"><b class="q">'.$this->getField('title').'</b><br>';
|
$tt = '<table><tr><td><div style="max-width: 320px"><b class="q">'.$this->getField('title').'</b><br>';
|
||||||
$tt .= '<table width="100%"><tr><td>'.Lang::guide('guide').'</td><th>'.Lang::guide('byAuthor', [$this->getField('author')]).'</th></tr></table>';
|
$tt .= '<table width="100%"><tr><td>'.Lang::game('guide').'</td><th>'.Lang::guide('byAuthor', [$this->getField('author')]).'</th></tr></table>';
|
||||||
$tt .= '<table width="100%"><tr><td>'.Lang::guide('category', $this->getField('category')).$specStr.'</td><th>'.Lang::guide('patch').' 3.3.5</th></tr></table>';
|
$tt .= '<table width="100%"><tr><td>'.Lang::guide('category', $this->getField('category')).$specStr.'</td><th>'.Lang::guide('patch').' 3.3.5</th></tr></table>';
|
||||||
$tt .= '<div class="q" style="margin: 0.25em 0">'.$this->getField('description').'</div>';
|
$tt .= '<div class="q" style="margin: 0.25em 0">'.$this->getField('description').'</div>';
|
||||||
$tt .= '</div></td></tr></table>';
|
$tt .= '</div></td></tr></table>';
|
||||||
|
|||||||
Reference in New Issue
Block a user