We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82158f3 commit 74f9ffeCopy full SHA for 74f9ffe
src/server/game/Spells/SpellEffects.cpp
@@ -1109,7 +1109,7 @@ void Spell::EffectPowerDrain()
1109
return;
1110
1111
Powers powerType = Powers(effectInfo->MiscValue);
1112
- if (!unitTarget || !unitTarget->IsAlive() || unitTarget->GetPowerType() != powerType || damage < 0)
+ if (!unitTarget || !unitTarget->IsAlive() || (unitTarget->GetPowerType() != powerType && powerType != POWER_HAPPINESS) || damage < 0)
1113
1114
1115
Unit* unitCaster = GetUnitCasterForEffectHandlers();
0 commit comments