summaryrefslogtreecommitdiff
path: root/npc/functions/seasons.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/seasons.txt')
-rw-r--r--npc/functions/seasons.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index e29c64146..f4eee082b 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -65,6 +65,10 @@ function script SeasonReload {
if (season() == AUTUMN && $@SEASON == SUMMER) {
donpcevent("#SeasonCore::OnSummerEnd");
}
+ // Autumn extra drops
+ if (season() == AUTUMN && $@SEASON != AUTUMN) {
+ donpcevent("#SeasonCore::OnAutumnStart");
+ }
$@SEASON=season();
return;
@@ -134,6 +138,14 @@ OnSummerEnd:
delmonsterdrop(RedButterfly, Sunglasses);
end;
+OnAutumnStart:
+ // Ched's Quest Winner
+ .@nb = query_sql("SELECT c.name FROM `quest` AS i, `char` AS c WHERE i.quest_id=305 AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 1", .@name$);
+ $@AUTUMN_VICTOR=.@name$[0];
+
+
+ end;
+
OnInit:
OnHour00:
if ($@SEASON != season()) {