diff options
author | The Kandiman <kandiman@kandiman.(none)> | 2011-08-28 12:32:15 -0400 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-09-01 18:01:26 +0200 |
commit | eeeb6bf662bbc65556d9149ac73fb511b19b6acd (patch) | |
tree | 1554fdd19109b146cd469ffe83bf4b3be41076c3 /world/map/npc/002-1/rogue.txt | |
parent | c5709d4eebb58e36e1ae1eb7b3d6de5e566a5850 (diff) | |
download | serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.gz serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.bz2 serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.xz serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.zip |
Second batch of tab conversion. Maps 001-2 through 002-4 complete.
Diffstat (limited to 'world/map/npc/002-1/rogue.txt')
-rw-r--r-- | world/map/npc/002-1/rogue.txt | 67 |
1 files changed, 33 insertions, 34 deletions
diff --git a/world/map/npc/002-1/rogue.txt b/world/map/npc/002-1/rogue.txt index e5afe354..79812bee 100644 --- a/world/map/npc/002-1/rogue.txt +++ b/world/map/npc/002-1/rogue.txt @@ -1,50 +1,49 @@ // -002-1.gat,22,21,0 script Malivox 103,{ +002-1.gat,22,21,0|script|Malivox|103,{ -// if (ResetA_charstate == 1) goto L_Multiple; +// if (ResetA_charstate == 1) goto L_Multiple; -// set @cost, 10000000 / ($ResetA_uses + 1); +// set @cost, 10000000 / ($ResetA_uses + 1); - set @cost, baselevel * 100; + 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; + 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; - menu "Reset my stats",-,"Forget about it",L_Pass; + if (zeny<@cost) goto L_NoMoney; - if (zeny<@cost) goto L_NoMoney; - -// set $ResetA_uses, $ResetA_uses + 1; -// set ResetA_charstate, 1; +// set $ResetA_uses, $ResetA_uses + 1; +// set ResetA_charstate, 1; L_Reset: + set zeny, zeny-@cost; + resetstatus; - set zeny, zeny-@cost; - - resetstatus; - - mes "[Rogue Mage]"; - mes "\"There you are."; - mes ""; - mes "Good as new!\""; - close; + mes "[Rogue Mage]"; + mes "\"There you are."; + mes ""; + mes "Good as new!\""; + close; L_Pass: - mes "[Rogue Mage]"; - mes "\"Very well then, see you.\""; - close; + mes "[Rogue Mage]"; + mes "\"Very well then, see you.\""; + close; L_NoMoney: - mes "[Rogue Mage]"; - mes "\"Oh dear, the price cannot be bargained."; - mes ""; - mes "Perhaps you can borrow from a friend?\""; - close; + mes "[Rogue Mage]"; + mes "\"Oh dear, the price cannot be bargained."; + mes ""; + mes "Perhaps you can borrow from a friend?\""; + close; } |