diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-20 08:23:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-20 08:23:40 -0300 |
commit | 45d0d0bcc1104d56304d6df15a0904d93e60bcb6 (patch) | |
tree | c5ebaadffa2296b644986772b8105cdfa323c15d /npc/001-1 | |
parent | d58ac334e4792f4d7b3095753d8446c15b2fd0ac (diff) | |
download | serverdata-45d0d0bcc1104d56304d6df15a0904d93e60bcb6.tar.gz serverdata-45d0d0bcc1104d56304d6df15a0904d93e60bcb6.tar.bz2 serverdata-45d0d0bcc1104d56304d6df15a0904d93e60bcb6.tar.xz serverdata-45d0d0bcc1104d56304d6df15a0904d93e60bcb6.zip |
Allow Mana Being to open and close event bridge
Diffstat (limited to 'npc/001-1')
-rw-r--r-- | npc/001-1/eventmaster.txt | 10 |
1 files changed, 10 insertions, 0 deletions
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. |