summaryrefslogtreecommitdiff
path: root/npc/functions/aurora.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/aurora.txt')
-rw-r--r--npc/functions/aurora.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt
index afbb6e4cc..0ebe80919 100644
--- a/npc/functions/aurora.txt
+++ b/npc/functions/aurora.txt
@@ -23,6 +23,9 @@ function script FYNewEvent {
kamibroadcast("Kamelot Season is now open!", "Aurora Events");
break;
case 2:
+ $EVENT$="Regnum";
+ callfunc("FYE_Regnum");
+ kamibroadcast("Regnum's Blessing: %s is now blessed!", $@REGNUM_BLESSMAP_H$);
break;
case 3:
break;
@@ -80,3 +83,17 @@ function script FYE_Kamelot {
return false;
}
+
+// Regnum Blessing
+function script FYE_Regnum {
+ setarray .@ma$, "004-1", "007-1";
+ setarray .@mb$, "Tulimshar Outskirts", "Tulimshar Mines";
+ .@m=rand2(getarraysize(.@ma$));
+ $@REGNUM_BLESSMAP$=.@ma$[.@m];
+ $@REGNUM_BLESSMAP_H$=.@mb$[.@m];
+ // Apply the blessing
+ setmapflag(.@ma$[.@m], mf_bexp, 200);
+ return;
+}
+
+