summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-18 05:57:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-18 05:57:44 -0300
commit60ff4413bc1a6acd5b21ccb3bc65c746a9dcbb14 (patch)
treef4e9bf6900983bdf82e1d83db912829dbab50b09 /npc/commands/event.txt
parent5c90003cf468780c7dc6c3860928749afaf07a42 (diff)
downloadserverdata-60ff4413bc1a6acd5b21ccb3bc65c746a9dcbb14.tar.gz
serverdata-60ff4413bc1a6acd5b21ccb3bc65c746a9dcbb14.tar.bz2
serverdata-60ff4413bc1a6acd5b21ccb3bc65c746a9dcbb14.tar.xz
serverdata-60ff4413bc1a6acd5b21ccb3bc65c746a9dcbb14.zip
Server Restart: The Regnum's Blessing effects will now be preserved.
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 9079a2d03..b25a46ea7 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -61,14 +61,16 @@ function script sClear {
// Nullify Regnum Blessing
if ($EVENT$ == "Regnum") {
// Remove the blessing
- setmapflag($@REGNUM_BLESSMAP$, mf_bexp, 100);
- $@REGNUM_BLESSMAP_H$="";
- $@REGNUM_BLESSMAP$="";
+ setmapflag($REGNUM_BLESSMAP$, mf_bexp, 100);
+ $REGNUM_BLESSMAP_H$="";
+ $REGNUM_BLESSMAP$="";
kamibroadcast("Regnum's Blessing is over.");
}
// Hand Aurora Event Rewards
callfunc("FYRewardEvent");
+ $REGNUM_BLESSMAP$="";
+ $REGNUM_BLESSMAP_H$="";
// Simpler events
$PATRICK_DAYCTRL=0;
@@ -366,7 +368,7 @@ function script GlobalEventMenu {
break;
case 11:
$EVENT$="Regnum"; callfunc("FYE_Regnum");
- dispbottom l("Blessing applied at: %s", $@REGNUM_BLESSMAP_H$);
+ dispbottom l("Blessing applied at: %s", $REGNUM_BLESSMAP_H$);
logmes "Enabled REGNUM event.", LOGMES_ATCOMMAND;
break;
case 12: DelItemFromEveryPlayer(MurdererCrown); break;