summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/event.txt44
1 files changed, 6 insertions, 38 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index db5781d1f..45c1d9910 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -110,34 +110,6 @@ function script GlobalEventMenu {
return;
}
- function rateManagement {
- clear;
- mes l("To get the current rate:");
- mes col(" @exprate", 7);
- next;
- mes l("To set the exp rate:");
- mes col(" @exprate ##Brate##b hours", 7);
- next;
- mes l("To reset back to normal:");
- mes col(" @exprate default", 7); // note to translators: any non-numerical value will reset so "default" is safe to translate
- next;
- return;
- }
-
- function dropManagement {
- clear;
- mes l("To get the current rate:");
- mes col(" @rates", 7);
- next;
- mes l("To set the drop rate:");
- mes col(" @droprate ##Brate##b hours", 7);
- next;
- mes l("To reset back to normal:");
- mes col(" @droprate default", 7); // note to translators: any non-numerical value will reset so "default" is safe to translate
- next;
- return;
- }
-
// :>
function superSpawn {
mesc l("Monster ID, 0 to cancel");
@@ -386,10 +358,8 @@ function script GlobalEventMenu {
mes l("What do you want to access?");
select
- l("Experience Rate management"),
- l("Drop Rate management"),
l("Reset Crazyfefe Fight"),
- l("Change Season Event"),
+ rif(is_master(), l("Change Season Event")),
rif(is_gm(), l("Spawn customized boss")),
rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))),
l("Close");
@@ -397,12 +367,10 @@ function script GlobalEventMenu {
//.@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: resetCandor(); break;
- case 4: seasonManagement; break;
- case 5: superSpawn(); break;
- case 7: close; break;
+ case 1: resetCandor(); break;
+ case 2: seasonManagement(); break;
+ case 3: superSpawn(); break;
+ case 5: close; break;
default: return;
}
@@ -419,7 +387,7 @@ OnCall:
end;
}
- GlobalEventMenu;
+ GlobalEventMenu();
closedialog;
end;
}