Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Entities/Unit/StatSystem.cpp b/src/server/game/Entities/Unit/StatSystem.cpp
- index 77d38b9..e4e13b8 100755
- --- a/src/server/game/Entities/Unit/StatSystem.cpp
- +++ b/src/server/game/Entities/Unit/StatSystem.cpp
- @@ -1152,16 +1152,6 @@ bool Guardian::UpdateStats(Stats stat)
- mod = 0.725f;
- break;
- }
- -
- - PetSpellMap::const_iterator itr = (ToPet()->m_spells.find(62758)); // Wild Hunt rank 1
- - if (itr == ToPet()->m_spells.end())
- - itr = ToPet()->m_spells.find(62762); // Wild Hunt rank 2
- -
- - if (itr != ToPet()->m_spells.end()) // If pet has Wild Hunt
- - {
- - SpellEntry const* sProto = sSpellStore.LookupEntry(itr->first); // Then get the SpellProto and add the dummy effect value
- - mod += mod * (SpellMgr::CalculateSpellEffectAmount(sProto, 0) / 100.0f);
- - }
- }
- ownersBonus = float(owner->GetStat(stat)) * mod;
- // ownersBonus is multiplied by TOTAL_PCT too
Advertisement
Add Comment
Please, Sign In to add comment