*Fix scourge strike damage- original patch by Roland.

*Remove duplicate code for judgement of wisdom
*Correctly count diseases for death strike
*Fix a crash.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-06 15:58:50 +02:00
parent 373867b56b
commit cd98b1eeca
4 changed files with 36 additions and 23 deletions
+3 -1
View File
@@ -677,9 +677,11 @@ void Aura::Update(uint32 diff)
if (IS_PLAYER_GUID(GetCasterGUID()))
{
caster = GetCaster();
modSpell = ((Player*)caster)->FindCurrentSpellBySpellId(GetId());
if (caster)
{
modSpell = ((Player*)caster)->FindCurrentSpellBySpellId(GetId());
((Player*)caster)->SetSpellModTakingSpell(modSpell, true);
}
}
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
if (m_partAuras[i])