fix(Scripts/ZulAman): Permbind players when using the gong (#20554)
This commit is contained in:
@@ -15,17 +15,6 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ScriptData
|
|
||||||
SDName: Zulaman
|
|
||||||
SD%Complete: 90
|
|
||||||
SDComment: Forest Frog will turn into different NPC's. Workaround to prevent new entry from running this script
|
|
||||||
SDCategory: Zul'Aman
|
|
||||||
EndScriptData */
|
|
||||||
|
|
||||||
/* ContentData
|
|
||||||
npc_forest_frog
|
|
||||||
EndContentData */
|
|
||||||
|
|
||||||
#include "zulaman.h"
|
#include "zulaman.h"
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
@@ -429,6 +418,7 @@ struct npc_harrison_jones : public ScriptedAI
|
|||||||
{
|
{
|
||||||
if (action == ACTION_COMPLETE_EVENT_3)
|
if (action == ACTION_COMPLETE_EVENT_3)
|
||||||
{
|
{
|
||||||
|
me->GetMap()->ToInstanceMap()->PermBindAllPlayers();
|
||||||
_gongEvent = GONG_EVENT_4;
|
_gongEvent = GONG_EVENT_4;
|
||||||
_gongTimer = 0;
|
_gongTimer = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user