PDA

Просмотр полной версии : [10728][spell=55269]Смертельный взгляд


virusav
11.11.2010, 23:03
Урон должен наноситься в процентах:
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 69b1279..64ab7f2 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -352,6 +352,7 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
case 29142: // Eyesore Blaster
case 35139: // Throw Boom's Doom
case 49882: // Leviroth Self-Impale
+ case 55269: // Deathly Stare
{
damage = damage * unitTarget->GetMaxHealth() / 100;
break;