diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-11-19 13:38:20 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-11-19 13:38:20 +0000 |
commit | 1195ea1eb880ca9c77f2471e036d8bb8009fd70d (patch) | |
tree | 888b3dded2573c38c92acb7d6faf528d02abfd8b /npc/002-1_Sandstorm/rogue.txt | |
parent | c35d7a43946974cc85497980f4542f0b8abc1a56 (diff) | |
download | serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.gz serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.bz2 serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.xz serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.zip |
Change all script folders
Script files fixes are comming
Diffstat (limited to 'npc/002-1_Sandstorm/rogue.txt')
-rw-r--r-- | npc/002-1_Sandstorm/rogue.txt | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/npc/002-1_Sandstorm/rogue.txt b/npc/002-1_Sandstorm/rogue.txt new file mode 100644 index 00000000..87ec45fa --- /dev/null +++ b/npc/002-1_Sandstorm/rogue.txt @@ -0,0 +1,84 @@ +new_1-1.gat,22,21,0 script Malivox 103,{ + +// if (ResetA_charstate == 1) goto L_Multiple; + +// set @cost, 10000000 / ($ResetA_uses + 1); + + set @cost, baselevel * 100; + + mes "[Rogue Mage]"; + mes "\"I have come across a spell that will"; + mes "reset your status points."; + mes "Normally this spell is expensive, but"; + mes "due to an unusual constellation of the"; + mes "stars I can cast it very cheaply!"; + mes "For you it will cost only "+@cost+" gp.\""; + next; + + menu "Reset my stats",-,"Forget about it",L_Pass; + + if (zeny<@cost) goto L_NoMoney; + +// set $ResetA_uses, $ResetA_uses + 1; +// set ResetA_charstate, 1; + +L_Reset: + + set zeny, zeny-@cost; + + resetstatus; + + // even though statusup2 takes a number, it does not + // decrease chars statspoint, hence the repeating. + + statusup bStr; + statusup bStr; + statusup bStr; + statusup bStr; + + statusup bvit; + statusup bvit; + statusup bvit; + statusup bvit; + + statusup bInt; + statusup bInt; + statusup bInt; + statusup bInt; + + statusup bAgi; + statusup bAgi; + statusup bAgi; + statusup bAgi; + + statusup bDex; + statusup bDex; + statusup bDex; + statusup bDex; + + statusup bLuk; + statusup bLuk; + statusup bLuk; + statusup bLuk; + + mes "[Rogue Mage]"; + mes "\"There you are."; + mes ""; + mes "Good as new!\""; + next; + close; + +L_Pass: + mes "[Rogue Mage]"; + mes "\"Very well then, see you.\""; + next; + close; + +L_NoMoney: + mes "[Rogue Mage]"; + mes "\"Oh dear, the price cannot be bargained."; + mes ""; + mes "Perhaps you can borrow from a friend?\""; + next; + close; +} |