diff options
-rw-r--r-- | npc/003-1/hasan.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/003-1/hasan.txt b/npc/003-1/hasan.txt index 29f47d0a9..aeef80c63 100644 --- a/npc/003-1/hasan.txt +++ b/npc/003-1/hasan.txt @@ -20,6 +20,11 @@ // 3 - Sorfina unlocked Mahoud's Basement // 4 - Player killed Murderer Scorpion // 5 - Quest is complete +// +// $HASAN_ST +// Number of Scorpions killed during Autumn +// $HASAN_GP +// Total money Hasan collected for Autumn event // Temporary sprite 003-1,62,148,0 script Hasan NPC_ELVEN_MAN_RED,2,2,{ @@ -71,6 +76,10 @@ L_Finish: L_Complete: mesn; mesq l("Thanks for avenging my father."); + next; + mesn; + mesq l("I am collecting money for the Yearly Autumn Scorpion Hunter quest."); + mesq l("You're, of course, invited. Thus far, the total prize money I've collected is @@ GP.", $HASAN_GP); close; L_TouchComplete: @@ -92,7 +101,9 @@ L_Steal: end; L_DoSteal: - Zeny=Zeny-rand(3,12); + .@s=rand(3,12); + $HASAN_GP=$HASAN_GP+.@s; + Zeny=Zeny-.@s; if (getq(TulimsharQuest_Hasan) == 0) setq TulimsharQuest_Hasan, 1; dispbottom l("##BYou were stolen##b by an evil NPC."); @@ -105,5 +116,10 @@ OnInit: //npcspeed(150); //npcwalkto(<x>, <y>); + // Create initial GP poll + if ($HASAN_GP == 0) + $HASAN_GP=rand(3,12)+rand(3,12)+rand(3,12); end; + + } |