[svn] Spell target selection improvement. Remove most mangos hacks in spell target selection. (work almost done)
Merge mangos svn rev 6744. --HG-- branch : trunk
This commit is contained in:
1 parent
daec9868d9
commit
67b86d636b
9 files changed
+159
-121
No files matched your search
+4
-2
@@ -5085,7 +5085,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, SpellEntry const *dummySpell, uint
|
||||
RemoveAurasDueToSpell(triggeredByAura->GetId());
|
||||
|
||||
// Cast finish spell (triggeredByAura already not exist!)
|
||||
CastSpell(this, 27285, true, castItem, NULL, casterGuid);
|
||||
if(Unit* caster = GetUnit(*this, casterGuid))
|
||||
caster->CastSpell(this, 27285, true, castItem);
|
||||
return true; // no hidden cooldown
|
||||
}
|
||||
|
||||
@@ -5107,7 +5108,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, SpellEntry const *dummySpell, uint
|
||||
RemoveAurasDueToSpell(triggeredByAura->GetId());
|
||||
|
||||
// Cast finish spell (triggeredByAura already not exist!)
|
||||
CastSpell(this, 32865, true, castItem, NULL, casterGuid);
|
||||
if(Unit* caster = GetUnit(*this, casterGuid))
|
||||
caster->CastSpell(this, 32865, true, castItem);
|
||||
return true; // no hidden cooldown
|
||||
}
|
||||
// Damage counting
|
||||
|
||||
Reference in new issue
Block a user