summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-15 17:41:12 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-15 17:41:12 -0300
commit5d4e8f9f4e7fd2f564c2d58380b9f64080d75674 (patch)
tree57e27cebdc83ca3677d42a1368a9936627ffbd7b /npc/commands
parentf6c556b30a746cd4db62c3c07a75c7690522945c (diff)
downloadserverdata-5d4e8f9f4e7fd2f564c2d58380b9f64080d75674.tar.gz
serverdata-5d4e8f9f4e7fd2f564c2d58380b9f64080d75674.tar.bz2
serverdata-5d4e8f9f4e7fd2f564c2d58380b9f64080d75674.tar.xz
serverdata-5d4e8f9f4e7fd2f564c2d58380b9f64080d75674.zip
Regnum Blessing prototype (another Aurora Event)
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index e65112e79..c7564d499 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -60,6 +60,15 @@ function script sClear {
kamibroadcast("EXP Rate changed from %d%% to %d%%", $BCONFB_EXPR+50, $BCONFB_EXPR);
}
+ // Nullify Regnum Blessing
+ if ($EVENT$ == "Regnum") {
+ // Remove the blessing
+ setmapflag($@REGNUM_BLESSMAP$, mf_bexp, 100);
+ $@REGNUM_BLESSMAP_H$="";
+ $@REGNUM_BLESSMAP$="";
+ kamibroadcast("Regnum's Blessing is over.");
+ }
+
// Simpler events
$PATRICK_DAYCTRL=0;
$PATRICK_DAYMAX=0;