Spell/Effects

* parse npcs for spell effect 56 and 112
This commit is contained in:
Sarjuuk
2020-02-23 22:17:16 +01:00
parent 0694367ee9
commit 3c088cd4e8
2 changed files with 3 additions and 1 deletions

View File

@@ -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;