[7051] Implement some mage dummy triggers (fix typo)

44546 and ranks
44449 and ranks
54747 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-08 03:49:36 +03:00
parent 40d7fecb36
commit e573bd9ea8
8 changed files with 123 additions and 14 deletions

View file

@ -2247,7 +2247,8 @@ void Spell::EffectPowerDrain(uint32 i)
unitTarget->ModifyPower(drain_power,-new_damage);
if(drain_power == POWER_MANA)
// Don`t restore from self drain
if(drain_power == POWER_MANA && m_caster != unitTarget)
{
float manaMultiplier = m_spellInfo->EffectMultipleValue[i];
if(manaMultiplier==0)