Skip to content

Commit

Permalink
Change faction of Ritual Candle Aura trap.
Browse files Browse the repository at this point in the history
Closes #1773
  • Loading branch information
ratkosrb committed Jan 23, 2023
1 parent e933695 commit 87ec00f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sql/migrations/20230123070823_world.sql
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;

2 comments on commit 87ec00f

@Neto-WoW
Copy link
Contributor

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.

@ratkosrb
Copy link
Contributor Author

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

Please sign in to comment.