mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Spell/Effects
* parse npcs for spell effect 56 and 112
This commit is contained in:
@@ -643,7 +643,7 @@ class SpellList extends BaseType
|
||||
$displays[TYPE_OBJECT][$id] = [[$i], $effMV];
|
||||
}
|
||||
// NPC Model from MiscVal
|
||||
else if (in_array($this->curTpl['effect'.$i.'Id'], [28, 90, 134]) || in_array($this->curTpl['effect'.$i.'AuraId'], [56, 78]))
|
||||
else if (in_array($this->curTpl['effect'.$i.'Id'], [28, 90, 56, 112, 134]) || in_array($this->curTpl['effect'.$i.'AuraId'], [56, 78]))
|
||||
{
|
||||
if (isset($displays[TYPE_NPC][$id]))
|
||||
$displays[TYPE_NPC][$id][0][] = $i;
|
||||
|
||||
@@ -1713,7 +1713,9 @@ class SpellPage extends GenericPage
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('quest')).' #'.$effMV;;
|
||||
break;
|
||||
case 28: // Summon
|
||||
case 56: // Summon Pet
|
||||
case 90: // Kill Credit
|
||||
case 112: // Summon Demon
|
||||
case 134: // Kill Credit2
|
||||
if ($summon = $this->subject->getModelInfo($this->typeId, $i))
|
||||
$redButtons[BUTTON_VIEW3D] = ['type' => TYPE_NPC, 'displayId' => $summon['displayId']];
|
||||
|
||||
Reference in New Issue
Block a user