From 45d0d0bcc1104d56304d6df15a0904d93e60bcb6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Mar 2018 08:23:40 -0300 Subject: Allow Mana Being to open and close event bridge --- npc/001-1/eventmaster.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/001-1/eventmaster.txt') diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 54ca667a5..e82ccda99 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -22,6 +22,7 @@ L_Menu: mes "Please select operation."; menu "Abort",L_Close, + "Start/End Event", L_EventHandler, "Spawn",L_Spawn, rif(countitem(StrangeCoin) >= 10, "Drop a Toothbrush! (10x Coins)"),L_Drop, "Adjust coins drop rate",L_Rate; @@ -174,6 +175,15 @@ L_Rate: next; goto L_Menu; +L_EventHandler: + if($@GM_EVENT) + announce l("The event is over!"), bc_all|bc_npc; // I haven't tested this yet. + $@GM_EVENT=0; + else + announce l("The mana bridge to Aeros is open! To participate on event, talk to ##BSoul Menhir##b!"), bc_all|bc_npc; + $@GM_EVENT=1; + end; + OnAerosMobDeath: if (.coinsrate < 0) end; // A level 100 monster can have a 4% drop bonus against a level 0 monster. -- cgit v1.2.3-70-g09d2