diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-08-31 21:10:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-08-31 21:10:43 -0300 |
commit | ca0304d87cb0b03f0e053791bd9851d980808734 (patch) | |
tree | ce98001661c87d3a0ac4ada1fda9fbaf25705de4 /npc/003-1/ched.txt | |
parent | 612e88f45df6c9e095fcb1c6fd88dc09bdd7558f (diff) | |
download | serverdata-ca0304d87cb0b03f0e053791bd9851d980808734.tar.gz serverdata-ca0304d87cb0b03f0e053791bd9851d980808734.tar.bz2 serverdata-ca0304d87cb0b03f0e053791bd9851d980808734.tar.xz serverdata-ca0304d87cb0b03f0e053791bd9851d980808734.zip |
Ched's reward. Minor tweak to Jhedia.
Diffstat (limited to 'npc/003-1/ched.txt')
-rw-r--r-- | npc/003-1/ched.txt | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/npc/003-1/ched.txt b/npc/003-1/ched.txt index 0ad1e8e83..839e77e5a 100644 --- a/npc/003-1/ched.txt +++ b/npc/003-1/ched.txt @@ -103,11 +103,43 @@ L_Summer: // Summer Quest Claim Rewards Time L_Autumn: mesc l("Your Score: @@", @ched), 1; - mes ""; ScoreSSC; next; - // TODO: Do whatever reward whatever way you want whatever whatevers. + + // Ensure you have free space on your inv. + inventoryplace NPCEyes, 1; + + // Are you entitled for a Boia? + if (@ched >= 25) { + mesc l("Boias, unlike common shields, does not have any penalty!"); + mesc l("They are filled with a strange gas which makes they deflect attacks. They are done from a material which cannot be cut easily."); + mesc l("They can be a bit lacking in defensive power, however."); + mes ""; + } + + // Give you the due boia + if (strcharinfo(0) == $@AUTUMN_VICTOR && @ched > 1000) + getitem MasterBoia, 1; + else if (@ched >= 1000) + getitem PiouBoia, 1; + else if (@ched >= 700) + getitem SnakeBoia, 1; + else if (@ched >= 400) + getitem TulimsharBoia, 1; + else if (@ched >= 200) + getitem PurpleBoia, 1; + else if (@ched >= 60) + getitem CandorBoia, 1; + else if (@ched >= 25) + getitem KidBoia, 1; + + // Give you extra money reward Zeny=Zeny+@ched; + + // Give experience on 2018 Summer due extensive amount of bugs + getexp BaseLevel*@ched, @ched; + + // The quest is complete for the year. setq3 SQuest_Ched, 1; closedialog; goodbye; |