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:
1 parent
82a1374fa9
commit
74cf7fa413
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user