fixed copy/paste error

This commit is contained in:
Sarjuuk
2015-08-18 16:58:58 +02:00
parent e825ed84e8
commit 17fdd13d3d
2 changed files with 2 additions and 1 deletions

View File

@@ -186,7 +186,7 @@ class SpellList extends BaseType
Util::arraySumByKey($stats, [ITEM_MOD_STAMINA => $pts]);
else if ($mv == STAT_INTELLECT)
Util::arraySumByKey($stats, [ITEM_MOD_INTELLECT => $pts]);
else if ($mv == ITEM_MOD_SPIRIT)
else if ($mv == STAT_SPIRIT)
Util::arraySumByKey($stats, [ITEM_MOD_SPIRIT => $pts]);
else // one bullshit
trigger_error('AuraId 29 of spell #'.$this->id.' has wrong statId #'.$mv, E_USER_WARNING);