aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-03-15 09:53:32 +0100
committerBlaymoira <none@none>2009-03-15 09:53:32 +0100
commite70d6bf2c9959fb2094bb6b88201e78919a0dcac (patch)
treea024fd042a6cdad31db24a8265a095c743dfa2c4 /src/game/SpellEffects.cpp
parentc8d967a0ae16d16e8f3ee5f59d5619215349001a (diff)
parenta0a4d405b81784402c2ac8e62451e21dacd479fa (diff)
*Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e33a79908f5..9400f61917b 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -443,6 +443,8 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
// Haunt
else if (m_spellInfo->SpellFamilyFlags[1] & 0x40000)
{
+ // Save damage for future healing
+ // TODO: Implement spell proc on aura expire
m_currentBasePoints[1] = int32(damage * m_currentBasePoints[1] / 100);
}
@@ -3702,7 +3704,7 @@ void Spell::EffectAddFarsight(uint32 i)
dynObj->GetMap()->Add(dynObj); //grid will also be loaded
// Need to update visibility of object for client to accept farsight guid
- ((Player*)m_caster)->SetSeer(dynObj);
+ ((Player*)m_caster)->CreateSeer(dynObj);
//((Player*)m_caster)->UpdateVisibilityOf(dynObj);
}