summaryrefslogtreecommitdiff
path: root/npc/functions/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-26 10:44:59 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-26 10:44:59 -0300
commit0baaf2674734e59ddaf27c326a6bdf07d34896eb (patch)
treea60b89f2518dfd04e6d5f6df0e4b2786283c805c /npc/functions/event.txt
parentbcd58850a721a39dcf538aea2a14f009810c6cf9 (diff)
downloadserverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.gz
serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.bz2
serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.xz
serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.zip
De-hardcode the battle configuration flags (BCONF)
Reason: Automatize and protect the EXP Bonus on TMW2 Day Event.
Diffstat (limited to 'npc/functions/event.txt')
-rw-r--r--npc/functions/event.txt2
1 files changed, 2 insertions, 0 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