
Results 1 to 5 of 5
Thread: [Release] Archerus Gryphon Fix
Threaded View
-
23-02-09, 06:52 AM #1
[Release] Archerus Gryphon Fix
(working) Taxi Acherus Scourge Gryphons
from: Heart of Acherus to: Death's Breach and back
from: Death's Breach to: Heart of Acherus
1. first - make SQL file from the line below, and import in world-database
(otherwise LUA script not work, when you right-click on Scourge Gryphon)
Taxi_Acherus_Gryphons.sql
Code:UPDATE `creature_proto` SET `npcflags`=3 WHERE `entry` IN (29488,29501);
Taxi-Gryphons.lua
Code:function GryphonDown_OnGossip(Unit, Event, Player) Unit:GossipCreateMenu(100, Player, 0) Unit:GossipMenuAddItem(0, "Go Down to Death's Breach", 1, 0) Unit:GossipSendMenu(Player) end function GryphonDown_OnSelect(Unit, Event, Player, MenuId, id, Code) if (id == 1) then Player:Teleport(609, 2430.61, -5730.25, 157.855) Unit:GossipComplete(Player) end end function GryphonUp_OnGossip(Unit, Event, Player) Unit:GossipCreateMenu(100, Player, 0) Unit:GossipMenuAddItem(0, "Go Up to Heart of Acherus", 1, 0) Unit:GossipSendMenu(Player) end function GryphonUp_OnSelect(Unit, Event, Player, MenuId, id, Code) if (id == 1) then Player:Teleport(609, 2363.69, -5659.33, 382.270) Unit:GossipComplete(Player) end end RegisterUnitGossipEvent(29488, 1, "GryphonDown_OnGossip") RegisterUnitGossipEvent(29501, 1, "GryphonUp_OnGossip") RegisterUnitGossipEvent(29488, 2, "GryphonDown_OnSelect") RegisterUnitGossipEvent(29501, 2, "GryphonUp_OnSelect")
Credits to Everlast118 of ******* who copied it from Trap of ArcEmu