diff options
Diffstat (limited to 'npc/functions/aurora.txt')
-rw-r--r-- | npc/functions/aurora.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 1eca1f6a8..02b4aae35 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -24,7 +24,7 @@ // $@REGNUM_BLESSMAP_H$ // Human-readable form of the map under Regnum's Blessing // Q_AuroraEvent -// Quest Variable: FYEVENT_CYCLE, Score, ClaimedControl +// Quest Variable: DayCtrl, Score, ClaimedControl // AEF: BEGIN function script FYNewEvent { @@ -226,3 +226,14 @@ function script FYRewardEvent { return; } + + +// Normalize Aurora Event after a server restart +function script FYE_Normalize { + if ($EVENT$ == "Regnum") { + // Reapply the Regnum's blessing + setmapflag($REGNUM_BLESSMAP$, mf_bexp, 200); + } + return; +} + |