diff options
| author | kandera <kanderacutie@hotmail.com> | 2012-05-24 07:31:10 -0700 |
|---|---|---|
| committer | kandera <kanderacutie@hotmail.com> | 2012-05-24 07:31:10 -0700 |
| commit | 624a5629b94936ffbb290dd7d8433cf33bd17e39 (patch) | |
| tree | 5d6df9f87e6127e0164e5d022e9705280327d560 | |
| parent | 84b420160dacd5b9a9c6cf77ecc9e5cfc1b4afae (diff) | |
| parent | 8cf7d9185725b14b31f35c73f167a665edce543f (diff) | |
Merge pull request #6040 from w1sht0l1v3/borean_tundra
Core/DB: Quest The Emissary
| -rw-r--r-- | sql/updates/world/2012_04_05_00_world_creature_misc.sql | 5 | ||||
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sql/updates/world/2012_04_05_00_world_creature_misc.sql b/sql/updates/world/2012_04_05_00_world_creature_misc.sql new file mode 100644 index 00000000000..ae35b3fba5d --- /dev/null +++ b/sql/updates/world/2012_04_05_00_world_creature_misc.sql @@ -0,0 +1,5 @@ +UPDATE `creature_template` SET `faction_A`=1914,`faction_H`=1914,`unit_flags`=33024 WHERE `entry`=26452; + +DELETE FROM `creature_template_addon` WHERE `entry`=26452; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(26452,0,0,0,1,383,''); diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 09ff5935b6e..4e2eb633662 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1535,7 +1535,7 @@ class spell_item_impale_leviroth : public SpellScriptLoader void HandleDummy(SpellEffIndex /* effIndex */) { if (Unit* target = GetHitCreature()) - if (target->GetEntry() == NPC_LEVIROTH && target->HealthBelowPct(95)) + if (target->GetEntry() == NPC_LEVIROTH && !target->HealthBelowPct(95)) target->CastSpell(target, SPELL_LEVIROTH_SELF_IMPALE, true); } |
