summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/event.txt2
-rw-r--r--npc/functions/weather.txt8
2 files changed, 6 insertions, 4 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 88741f871..de5df5e3d 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -317,6 +317,8 @@ OnClock0000:
// Begin the event
if (.@d == .tmw2day_stday) {
kamibroadcast("Moubootaur Legends Anniversary Event begun!");
+ if ($EVENT$ != "Anniversary")
+ $BCONFB_EXPR+=50;
$EVENT$="Anniversary";
}
// End the event the day after
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 1b9d57491..410fa221d 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -211,8 +211,8 @@ OnMinute45:
for (.@i = 0; .@i < .@c; .@i++) {
message(.@players[.@i], "The night falls.");
}
- setbattleflag("mob_spawn_delay", BCONFN_SPAWN);
- setbattleflag("monster_hp_rate", BCONFN_MOBHP);
+ setbattleflag("mob_spawn_delay", $BCONFN_SPAWN);
+ setbattleflag("monster_hp_rate", $BCONFN_MOBHP);
//charcommand("@reloadbattleconf"); // Careful!
donpcevent("@exprate::OnInheirtedReload");
//donpcevent("@droprate::OnReload");
@@ -221,8 +221,8 @@ OnMinute45:
for (.@i = 0; .@i < .@c; .@i++) {
message(.@players[.@i], "The day rises.");
}
- setbattleflag("mob_spawn_delay", BCONFD_SPAWN);
- setbattleflag("monster_hp_rate", BCONFD_MOBHP);
+ setbattleflag("mob_spawn_delay", $BCONFD_SPAWN);
+ setbattleflag("monster_hp_rate", $BCONFD_MOBHP);
//charcommand("@reloadbattleconf"); // Careful!
donpcevent("@exprate::OnInheirtedReload");
//donpcevent("@droprate::OnReload");