mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[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:
parent
40d7fecb36
commit
e573bd9ea8
8 changed files with 123 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue