Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 4b8d464aafd7687a321ea1d92549c693ef7b43b1 Mon Sep 17 00:00:00 2001
- From: unknown <cristi@cristis-PC.(none)>
- Date: Sun, 29 Jul 2012 17:18:18 +0300
- Subject: [PATCH] Fix talent Body and Soul and also PowerWordShiled condition.
- ---
- src/server/game/Spells/Auras/SpellAuras.cpp | 12 +++++++++++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
- diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
- index 96d474d..70ca683 100755
- --- a/src/server/game/Spells/Auras/SpellAuras.cpp
- +++ b/src/server/game/Spells/Auras/SpellAuras.cpp
- @@ -1309,7 +1309,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
- }
- }
- // Power Word: Shield
- - else if (m_spellInfo->SpellFamilyFlags[0] & 0x1 && m_spellInfo->SpellFamilyFlags[2] & 0x400 && GetEffect(0))
- + else if (m_spellInfo->SpellFamilyFlags[0] & 0x1 && GetEffect(0))
- {
- // Glyph of Power Word: Shield
- if (AuraEffect* glyph = caster->GetAuraEffect(55672, 0))
- @@ -1318,6 +1318,16 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
- int32 heal = glyph->GetAmount() * GetEffect(0)->GetAmount()/100;
- caster->CastCustomSpell(GetUnitOwner(), 56160, &heal, NULL, NULL, true, 0, GetEffect(0));
- }
- + //Body and Soul Talent
- + if(caster->HasAura(64127))
- + {
- + caster->AddAura(64128,target); //rank1
- + }
- + else if(caster->HasAura(64129))
- + {
- + caster->AddAura(65081,target); //rank2
- + }
- +
- }
- // Fade: Phantasm Talent
- else if (m_spellInfo->Id == 586)
- --
- 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment