diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-16 15:56:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-16 15:56:28 -0300 |
commit | a848c3b595c63111b6cbe95bb4738668d5671e34 (patch) | |
tree | 9b7fb7d71f760c4fb328bc5c1ba0bff4e3ee8a23 /npc/functions/aurora.txt | |
parent | d86605b17166e8da846cdef38297dfa3c5b3e45e (diff) | |
download | serverdata-a848c3b595c63111b6cbe95bb4738668d5671e34.tar.gz serverdata-a848c3b595c63111b6cbe95bb4738668d5671e34.tar.bz2 serverdata-a848c3b595c63111b6cbe95bb4738668d5671e34.tar.xz serverdata-a848c3b595c63111b6cbe95bb4738668d5671e34.zip |
This sketch can give birth to World Expo Aurora Event
Diffstat (limited to 'npc/functions/aurora.txt')
-rw-r--r-- | npc/functions/aurora.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 8d26cdfb8..962e9409e 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -87,6 +87,7 @@ function script FYNewEvent { return; } + // Modify Kamelot function script FYE_Kamelot { .@g=getcharid(2); @@ -138,6 +139,17 @@ function script FYE_Regnum { return; } + +// Modify Treasure Chests +function script FYE_Expo { + // TODO: Merit-based random formula + getitem EventTreasure1, rand2(6); + getitem EventTreasure2, rand2(4); + getitem EventTreasure3, rand2(2); + return; +} + + // Stops any Aurora Event function script FYStopEvent { setarray .@av$, "Kamelot", "Regnum"; |