forked from The-Legion-Preservation-Project/LegionCore-7.3.5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DB/Quest: undead start (The-Legion-Preservation-Project#234)
- Loading branch information
1 parent
eed2836
commit f1957fc
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- | ||
SET @ENTRY := 49044; | ||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; | ||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY; | ||
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES | ||
(@ENTRY,0,0,1,19,0,100,0,24959,0,0,0,11,73524,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,'Agatha - On quest 24959 - cast spell'), | ||
(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,28,73523,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,'Agatha - Remove aura from the player'); | ||
|
||
UPDATE `creature_template_addon` SET `auras` = '49414' WHERE `entry` = @ENTRY; | ||
|
||
DELETE FROM `spell_area` WHERE spell=65051 and area=5692; | ||
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `racemask`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES | ||
(65051, 5692, 0, 28608, 16, 1, 0, 3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters