diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b8c4449cc..c47cfd79b 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6689,6 +6689,13 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl } } + // Apply Spell Power from ScalingStatValue if set + if(ssv) + { + if (int32 spellbonus = ssv->getSpellBonus(proto->ScalingStatValue)) + ApplySpellPowerBonus(spellbonus, apply); + } + // If set ScalingStatValue armor get it or use item armor uint32 armor = proto->Armor; if (ssv) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c78be8ee6..7773ed4ec 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8531" + #define REVISION_NR "8532" #endif // __REVISION_NR_H__