mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 18:43:48 +00:00
fix(Script/Quest): Plagued Lands [2118] (#9541)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1638832657384544715');
|
||||
|
||||
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_tharnarian' WHERE `entry`=3701;
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_rabid_thistle_bear' WHERE `entry`=2164;
|
||||
UPDATE `gameobject_template` SET `ScriptName`='go_bear_trap' WHERE `entry`=109515;
|
||||
UPDATE `gameobject_template` SET `AIName`='' WHERE `entry`=111148;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=111148 AND `source_type`=1;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=2164 AND `source_type`=0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=216400 AND `source_type`=9;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=3701 AND `source_type`=0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=370100 AND `source_type`=9;
|
||||
|
||||
-- Condition for source Spell implicit target condition type Object entry guid
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=9439 AND `SourceId`=0;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(13, 1, 9439, 0, 0, 31, 0, 3, 2164, 0, 0, 0, 0, '', 'Bear Captured in Trap (effect 0) will hit the potential target of the spell if target is Rabid Thistle Bear.');
|
||||
Reference in New Issue
Block a user