-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change faction of Ritual Candle Aura trap.
Closes #1773
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
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,22 @@ | ||
DROP PROCEDURE IF EXISTS add_migration; | ||
delimiter ?? | ||
CREATE PROCEDURE `add_migration`() | ||
BEGIN | ||
DECLARE v INT DEFAULT 1; | ||
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20230123070823'); | ||
IF v=0 THEN | ||
INSERT INTO `migrations` VALUES ('20230123070823'); | ||
-- Add your query below. | ||
|
||
|
||
-- Change faction of Ritual Candle Aura to one that is hostile to mobs but friendly to players. | ||
-- This is a server side trap, so it's not sniffable, and true faction is unknown. | ||
UPDATE `gameobject_template` SET `faction`=250 WHERE `entry`=179688; | ||
|
||
|
||
-- End of migration. | ||
END IF; | ||
END?? | ||
delimiter ; | ||
CALL add_migration(); | ||
DROP PROCEDURE IF EXISTS add_migration; |
87ec00f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and confirmed this does not solve the issue. The spell Ritual Candle Aura 23226 does not have an aura effect - it has a dot application on the target.
87ec00f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it too and it solved it for me. I spawned the trap and it no longer affected me once I changed the faction.
And it definitely has an aura, the first effect is an aura.
![Untitled](https://user-images.githubusercontent.com/35845488/214088691-c399dd05-be6b-4f29-b07f-52df9d415f06.jpg)