Jump to content

[11020] Fix Touch the Nightmare


Recommended Posts

Posted

The Spell Effect 3 of Touch the Nightmare(SpellEffectIndex 2) need a core Part

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d915c73..d251e79 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -388,6 +388,13 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
                        }
                        break;
                    }
+                    // Touch the Nightmare
+                    case 50341:
+                    {
+                        if(effect_idx == EFFECT_INDEX_2)
+                            damage = unitTarget->GetMaxHealth() * 0.3;
+                        break;
+                    }
                    // Tympanic Tantrum
                    case 62775:
                    {

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use