de-dima
Members-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
de-dima's Achievements
Newbie (1/3)
0
Reputation
-
What features does the patch add? Implement 59088 talent (second part). For which repository revision was the patch created? 8896 + dual spec patch (if you use clean Mangos - use HasSpell instead HasTalent) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index b1c03f8..0867f1b 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2724,6 +2724,47 @@ void Spell::EffectApplyAura(uint32 i) if(!caster) return; + switch(m_spellInfo->Id) + { + case 23920: // Improved Spell Reflection + { + + if (m_caster->GetTypeId() == TYPEID_PLAYER) + { + Player* pPlayer = (Player*)m_caster; + + int count = 0; + if(pPlayer->HasTalent(59088, pPlayer->GetActiveSpec())) count = 2; + if(pPlayer->HasTalent(59089, pPlayer->GetActiveSpec())) count = 4; + + if (count == 0) + break; + + Group *pGroup = pPlayer->GetGroup(); + if (pGroup) + { + for (GroupReference *itr = pGroup->GetFirstMember(); itr != NULL; itr = itr->next()) + { + Player* pGroupie = itr->getSource(); + + if (count == 0) + break; + + if (!pGroupie || (pPlayer->GetGUID() == pGroupie->GetGUID())) + continue; + + if (pPlayer->IsWithinDistInMap(pGroupie, 20.0f) && (pGroupie->GetSubGroup() == pPlayer->GetSubGroup()) && pGroupie->isAlive() && pGroupie->IsInWorld()) + { + pGroupie->CastSpell(pGroupie, 43443, false); + count--; + } + } + } + } + break; + } + } + sLog.outDebug("Spell: Aura is: %u", m_spellInfo->EffectApplyAuraName[i]); Aura* Aur = CreateAura(m_spellInfo, i, &m_currentBasePoints[i], unitTarget, caster, m_CastItem);
-
some enchantable item and not tranformed into roll of enchating --- confirm
-
Paladin talent - Seals of the Pure don't work. All have this problem or not? Priest talent - Searing Light is analog , but it work Where is the problem? Core: 8769 + insider42 latest patch Data Base : YTDB 517fix Sorry, i know english very bad =(
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®