diff options
| author | offl <offl@users.noreply.github.com> | 2020-06-19 00:30:05 +0200 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2020-06-19 00:30:05 +0200 |
| commit | d26c16b8638282459665a9620288dad26b05c499 (patch) | |
| tree | 45a205915a1b8c94fed2c72688327452551aa018 | |
| parent | 17c1e07aab146565222430ab91ce47c701112cdb (diff) | |
DB/Creature: Blood Knight Adept
Closes #24790
| -rw-r--r-- | sql/updates/world/3.3.5/2020_06_18_05_world.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_06_18_05_world.sql b/sql/updates/world/3.3.5/2020_06_18_05_world.sql new file mode 100644 index 00000000000..0732a1b014b --- /dev/null +++ b/sql/updates/world/3.3.5/2020_06_18_05_world.sql @@ -0,0 +1,12 @@ +-- https://www.wowhead.com/npc=17769/blood-knight-adept#comments:id=932320 +DELETE FROM `smart_scripts` WHERE `entryorguid` = 4339 AND `source_type` = 2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(4339,2,0,0,46,0,100,0,4339,0,0,0,0,5,66,0,0,0,0,0,9,17769,0,20,0,0,0,0,0,"Areatrigger (Silvermoon City) - On Trigger - Play Emote 66 (Blood Knight Adept)"); + +DELETE FROM `areatrigger_scripts` WHERE `entry` = 4339; +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(4339,"SmartTrigger"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 4339 AND `SourceId` = 2; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,4339,2,0,15,0,2,0,0,0,0,0,"","Group 0: Execute SAI (Action 0) if player is a Paladin"); |
