Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 5d57e5b4768ea88d8e335886b4a0c61cad0e3490 Mon Sep 17 00:00:00 2001
- From: unknown <cristi@cristis-PC.(none)>
- Date: Sat, 28 Jul 2012 01:39:00 +0300
- Subject: [PATCH] Fix talent Phantasm - Priest
- ---
- src/server/game/Spells/Auras/SpellAuras.cpp | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
- diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
- index 702857f..9306bdb 100755
- --- a/src/server/game/Spells/Auras/SpellAuras.cpp
- +++ b/src/server/game/Spells/Auras/SpellAuras.cpp
- @@ -1319,6 +1319,21 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
- caster->CastCustomSpell(GetUnitOwner(), 56160, &heal, NULL, NULL, true, 0, GetEffect(0));
- }
- }
- + // Fade: Phantasm Talent
- + else if (m_spellInfo->Id == 586)
- + {
- + uint32 uChance = 0;
- +
- + if(caster->HasAura(47569)) //phantasm rank1
- + uChance = 50;
- + else if(caster->HasAura(47570)) //phantasm rank2
- + uChance = 100;
- +
- + if(uChance && roll_chance_i(uChance))
- + {
- + caster->RemoveMovementImpairingAuras();
- + }
- + }
- break;
- case SPELLFAMILY_ROGUE:
- // Sprint (skip non player casted spells by category)
- --
- 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment