summaryrefslogtreecommitdiff
path: root/npc/003-1/hasan.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/hasan.txt')
-rw-r--r--npc/003-1/hasan.txt24
1 files changed, 18 insertions, 6 deletions
diff --git a/npc/003-1/hasan.txt b/npc/003-1/hasan.txt
index 4297c04d1..f100b0c32 100644
--- a/npc/003-1/hasan.txt
+++ b/npc/003-1/hasan.txt
@@ -88,15 +88,27 @@ L_Complete:
if (season() == AUTUMN || $@GM_OVERRIDE) {
mesq l("You've killed @@ scorpions, and a total of @@ were killed this season.", getq2(SQuest_Autumn), $HASAN_ST);
mesq l("If the event ended now, you would get @@ GP.", getq2(SQuest_Autumn)*$HASAN_GP/$HASAN_ST);
+ mes "";
+ mesc l("Note: Poll may increase more than total money donated depending on current date.");
menuint
- l("Thanks."),0,
- rif(Zeny >= 5, l("Donate 5 GP for prize")),5,
- rif(Zeny >= 15, l("Donate 15 GP for prize")),15,
- rif(Zeny >= 50, l("Donate 50 GP for prize")),50,
- rif(Zeny >= 100, l("Donate 100 GP for prize")),100;
+ l("Thanks."), 0,
+ rif(Zeny >= 5, l("Donate 5 GP for prize")), 5,
+ rif(Zeny >= 15, l("Donate 15 GP for prize")), 15,
+ rif(Zeny >= 50, l("Donate 50 GP for prize")), 50,
+ rif(Zeny >= 100, l("Donate 100 GP for prize")), 100,
+ rif(Zeny >= 1000, l("Donate 1k GP for prize")), 1000,
+ rif(Zeny >= 10000, l("Donate 10k GP for prize")), 10000,
+ rif(Zeny >= 25000, l("Donate 25k GP for prize")), 25000,
+ rif(Zeny >= 100000, l("Donate 100k GP for prize")), 100000,
+ rif(Zeny >= 250000, l("Donate 250k GP for prize")), 250000;
if (@menuret > 0) {
Zeny=Zeny-@menuret;
- $HASAN_GP=$HASAN_GP+@menuret;
+ .@poll=@menuret;
+ .@bonus=10000;
+ .@bonus+=rand(gettime(GETTIME_MONTH) == DECEMBER ? 2000 : 4000);
+ .@bonus+=(gettime(GETTIME_MONTH) == DECEMBER ? 0 : 1000);
+ .@poll=.@poll*.@bonus/10000;
+ $HASAN_GP=$HASAN_GP+.@poll;
}
}