diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-14 16:50:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-14 16:50:48 -0300 |
commit | 0bfaa6266edbd9a9d9169d029bc858967e827722 (patch) | |
tree | 62afaf9fe1947f4c683eab642b3fb9a9a88474af /npc/003-1/hasan.txt | |
parent | 7c5a86fd0d6ff3715325b972b6530cdd852d3b75 (diff) | |
download | serverdata-0bfaa6266edbd9a9d9169d029bc858967e827722.tar.gz serverdata-0bfaa6266edbd9a9d9169d029bc858967e827722.tar.bz2 serverdata-0bfaa6266edbd9a9d9169d029bc858967e827722.tar.xz serverdata-0bfaa6266edbd9a9d9169d029bc858967e827722.zip |
Hasan Challenge - More donation options and matching parity funds.
Diffstat (limited to 'npc/003-1/hasan.txt')
-rw-r--r-- | npc/003-1/hasan.txt | 24 |
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; } } |