Scripts/BWD: allow Shadow Conductor to be affected by resistances and other damage reduction auras instead of enforcing damage valuews

This commit is contained in:
Ovahlord
2020-09-05 00:22:49 +02:00
parent 82a1374fa9
commit 74cf7fa413

View File

@@ -1515,7 +1515,7 @@ class spell_omnotron_shadow_conductor : public SpellScript
return;
float distanceMultiplier = std::max(caster->GetExactDist2d(target) * 0.5f, 1.0f);
SetHitDamage(int32(6000 * distanceMultiplier));
SetEffectValue(int32(6000 * distanceMultiplier));
}
void Register() override