diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-02 12:07:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-02 12:07:00 -0300 |
commit | 422468e26e4fa86c68491b5991a9c2f8640281e4 (patch) | |
tree | bd2468588338922c1ef15294b2438a3b65ce456b | |
parent | 02e629f4d9d2582941d33e1b31dcadce2a77ebec (diff) | |
download | serverdata-422468e26e4fa86c68491b5991a9c2f8640281e4.tar.gz serverdata-422468e26e4fa86c68491b5991a9c2f8640281e4.tar.bz2 serverdata-422468e26e4fa86c68491b5991a9c2f8640281e4.tar.xz serverdata-422468e26e4fa86c68491b5991a9c2f8640281e4.zip |
Option to reset Candor Fight state
-rw-r--r-- | npc/commands/event.txt | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt index f7b529b64..ace0c1ba3 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -8,6 +8,15 @@ function script GlobalEventMenu { + function resetCandor { + $@FEFE_CAVE_LEVEL=0; + $@FEFE_DELAY=0; + $@FEFE_DIFFICULTY=0; + $@FEFE_CAVE_HERO$=""; + mesc "Candor Fight Reset!"; + return; + } + function rateManagement { clear; mes l("To get the current rate:"); @@ -170,15 +179,19 @@ function script GlobalEventMenu { select l("Experience Rate management"), l("Drop Rate management"), + l("Reset Crazyfefe Fight"), l("Change Season Event"), - rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))); + rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))), + l("Close"); //.@c = getarg(0,0) ? 2 : 1; // 1 = back to event menu, 2 = back to super menu switch (@menu) { case 1: rateManagement; break; case 2: dropManagement; break; - case 3: seasonManagement; break; + case 3: resetCandor(); break; + case 4: seasonManagement; break; + case 6: close; break; default: return; } |