diff options
author | MadCamel <madcamel@gmail.com> | 2010-10-10 05:25:45 -0400 |
---|---|---|
committer | MadCamel <madcamel@gmail.com> | 2010-10-10 05:25:45 -0400 |
commit | f6cdec86cc22622645b0526d2ad7c6cfa7136c21 (patch) | |
tree | 23d054dd75052372f8a0792b798c52274a66cbbf /npc/010-2_Dimonds_Cove | |
parent | 1d0b868844de57fc76d04daf7ba873c7e93d0d29 (diff) | |
parent | 3ab2089653f73d01bd6aa98073688c2d79b3650a (diff) | |
download | serverdata-f6cdec86cc22622645b0526d2ad7c6cfa7136c21.tar.gz serverdata-f6cdec86cc22622645b0526d2ad7c6cfa7136c21.tar.bz2 serverdata-f6cdec86cc22622645b0526d2ad7c6cfa7136c21.tar.xz serverdata-f6cdec86cc22622645b0526d2ad7c6cfa7136c21.zip |
Merge branch 'master' of git://gitorious.org/tmw-eathena-data/mainline
Diffstat (limited to 'npc/010-2_Dimonds_Cove')
-rw-r--r-- | npc/010-2_Dimonds_Cove/loratay.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/010-2_Dimonds_Cove/loratay.txt b/npc/010-2_Dimonds_Cove/loratay.txt index 47d5ea1d..c336de32 100644 --- a/npc/010-2_Dimonds_Cove/loratay.txt +++ b/npc/010-2_Dimonds_Cove/loratay.txt @@ -315,6 +315,9 @@ L_trim: if (@item >= 2100 && @item <= 2109) set @genitem, @item + 70; if (@genitem == 0) goto L_trim_impossible; if (zeny < 100) goto L_trim_nozeny; + + if (countitem(@delitem) < 1) + goto L_main_menu; delitem @delitem, 1; getitem @genitem, 1; @@ -368,6 +371,9 @@ L_lengthen: if (@genitem == 0) goto L_lengthen_impossible; if (zeny < 500) goto L_lengthen_nozeny; if (countitem ("CottonCloth") < 1) goto L_lengthen_nocotton; + + if (countitem(@delitem) < 1) + goto L_main_menu; delitem @delitem, 1; delitem "CottonCloth", 1; |