mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Merge pull request #6040 from w1sht0l1v3/borean_tundra
Core/DB: Quest The Emissary
This commit is contained in:
5
sql/updates/world/2012_04_05_00_world_creature_misc.sql
Normal file
5
sql/updates/world/2012_04_05_00_world_creature_misc.sql
Normal file
@@ -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,'');
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user