mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Creatures
* flag creatures using creaturedisplayinfoextra.dbc as humanoid
This commit is contained in:
@@ -105,6 +105,7 @@ class NpcPage extends GenericPage
|
||||
$mapType = 1;
|
||||
}
|
||||
|
||||
|
||||
/***********/
|
||||
/* Infobox */
|
||||
/***********/
|
||||
@@ -302,6 +303,7 @@ class NpcPage extends GenericPage
|
||||
if ($stats)
|
||||
$infobox[] = Lang::npc('stats').($modes ? ' ('.Lang::npc('modes', $mapType, 0).')' : null).Lang::main('colon').'[ul][li]'.implode('[/li][li]', $stats).'[/li][/ul]';
|
||||
|
||||
|
||||
/****************/
|
||||
/* Main Content */
|
||||
/****************/
|
||||
@@ -329,6 +331,10 @@ class NpcPage extends GenericPage
|
||||
BUTTON_VIEW3D => ['type' => TYPE_NPC, 'typeId' => $this->typeId, 'displayId' => $this->subject->getRandomModelId()]
|
||||
);
|
||||
|
||||
if ($this->subject->getField('humanoid'))
|
||||
$this->redButtons[BUTTON_VIEW3D]['humanoid'] = 1;
|
||||
|
||||
|
||||
/**************/
|
||||
/* Extra Tabs */
|
||||
/**************/
|
||||
|
||||
Reference in New Issue
Block a user