summaryrefslogtreecommitdiff
path: root/npc/re/quests/magic_books.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerHaru <haru@dotalux.com>2013-11-30 21:38:38 +0100
commit94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch)
treee33f4d96453941392a1d9b721d4a179ba8f89941 /npc/re/quests/magic_books.txt
parentafb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff)
downloadhercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru]
Diffstat (limited to 'npc/re/quests/magic_books.txt')
-rw-r--r--npc/re/quests/magic_books.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt
index de846567a..0fd885d8f 100644
--- a/npc/re/quests/magic_books.txt
+++ b/npc/re/quests/magic_books.txt
@@ -334,7 +334,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
next;
mes "[Lea]";
mes "Please try not to lose or damage the book to avoid paying any extra charges.";
- if (.@Payment == 1) set Zeny, Zeny - 10000;
+ if (.@Payment == 1) Zeny -= 10000;
else if (.@Payment == 2) delitem 1006,2; //Old_Magic_Book
else delitem 1097,50; //Worn_Out_Page
getitem 6188+.@i,1; //Magic_Book_FB, Magic_Book_CB, Magic_Book_LB
@@ -379,7 +379,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
- if (.@Payment == 1) set Zeny, Zeny - 50000;
+ if (.@Payment == 1) Zeny -= 50000;
else if (.@Payment == 2) delitem 603,2; //Old_Blue_Box
else delitem 985,9; //Elunium
getitem .@Books[.@i-1],1; //Magic_Book_SG, Magic_Book_LOV, Magic_Book_MS, Magic_Book_TS, Magic_Book_JT, Magic_Book_WB, Magic_Book_HD, Magic_Book_ES
@@ -451,11 +451,11 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
- if (.@Payment == 1) set Zeny, Zeny - 200000;
+ if (.@Payment == 1) Zeny -= 200000;
else if (.@Payment == 2) delitem 7094,12; //Mystery_Piece
else if (.@Payment == 3) delitem 984,7; //Oridecon
else delitem 617,1; //Old_Violet_Box
- if (.@Payment > 1) set Zeny, Zeny - 100000;
+ if (.@Payment > 1) Zeny -= 100000;
getitem 6201+.@i,1; //Magic_Book_ES_, Magic_Book_CL, Magic_Book_CR, Magic_Book_DL
close;
}
@@ -647,7 +647,7 @@ mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{
specialeffect2 EF_DISPELL;
progressbar "ffff00",4;
specialeffect2 EF_LORD;
- set Zeny, Zeny - 1000000;
+ Zeny -= 1000000;
getitem 6194+.@i,1; //Magic_Book_CM, Magic_Book_TV
mes "[Galfos]";
mes "Man, I almost lost my control to the incredible magic energy! Here's your Magic Book.";