Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Scripts: Fix phase and visibility of master shang xi, aysa, ji and zh…
Browse files Browse the repository at this point in the history
…ao ren
  • Loading branch information
AriDEV3 committed Nov 28, 2023
1 parent 39ee625 commit 52e619d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sql/updates/world/2023_11_28_world_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
DELETE FROM `creature_addon` WHERE `guid` IN (225863, 225864, 225865, 225866);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(225863, 0, 0, 0, 0, 0, '60921'),
(225864, 0, 0, 0, 0, 0, '60921'),
(225865, 0, 0, 0, 0, 0, '60921'),
(225866, 0, 0, 0, 0, 0, '60921');

DELETE FROM `spell_area` WHERE `spell`=60922 AND `area`5829;
INSERT INTO `spell_area` (`spell`, `area`, `quest_end`, `autocast`, `quest_end_status`) VALUES
(60922, 5829, 29786, 1, 66);

UPDATE `creature` SET `phaseId`=524 WHERE `id`=64507;
5 changes: 5 additions & 0 deletions src/server/scripts/Pandaria/zone_wandering_island.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,12 @@ class boss_zhao_ren : public CreatureScript
GetPlayerListInGrid(playerList, me, 60.0f);

for (auto player : playerList)
{
player->KilledMonsterCredit(me->GetEntry());
player->CastSpell(player, 60922);
player->SetPhased(169, true, true);
player->SetPhased(524, true, false);
}
}

void MovementInform(uint32 type, uint32 pointId) OVERRIDE
Expand Down

0 comments on commit 52e619d

Please sign in to comment.