diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 04:46:50 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 04:46:50 +0000 |
commit | c116ea51790a6d42280cf599192614dc373cf91d (patch) | |
tree | 8eccdef78694bac85683e7a5730bd42d3a6a4228 /npc/merchants/refine.txt | |
parent | 2b6f3618d99f725d224859d17344b640e0255d59 (diff) | |
download | hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.gz hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.bz2 hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.xz hercules-c116ea51790a6d42280cf599192614dc373cf91d.zip |
Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give me a hand or something? :B
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/refine.txt')
-rw-r--r-- | npc/merchants/refine.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt index 1ea743dc3..5f3922984 100644 --- a/npc/merchants/refine.txt +++ b/npc/merchants/refine.txt @@ -798,12 +798,13 @@ function script repairmain { getitemname(getbrokenid(3)),getitemname(getbrokenid(4)),getitemname(getbrokenid(5)),
getitemname(getbrokenid(6)),getitemname(getbrokenid(7)),getitemname(getbrokenid(8)),
getitemname(getbrokenid(9)),getitemname(getbrokenid(10)));
+ if(@choice == 255) end;
mes "[" + @name$ + "]";
mes "You're gonna repair " + getitemname(getbrokenid(@choice)) + ".";
mes "To repair this, I need " + @repairprice + " Zeny.";
mes "Continue?";
next;
- if(select("Yes","No") == 2) {
+ if(select("Yes","No") == 2 || @menu == 255) {
mes "[" + @name$ + "]";
mes "Ok, but don't expect to be using that...";
close;
|