diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-14 16:45:33 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-14 16:45:33 +0000 |
commit | b917b7d1dcfe3b6af36a5e1a4e8dd5017c998970 (patch) | |
tree | 0b971f53fa668f756bdb4023b752f375560a65e5 /npc/merchants/dye_maker.txt | |
parent | 12d79d7aef72980ea3db22369f2b95f0ed996567 (diff) | |
download | hercules-b917b7d1dcfe3b6af36a5e1a4e8dd5017c998970.tar.gz hercules-b917b7d1dcfe3b6af36a5e1a4e8dd5017c998970.tar.bz2 hercules-b917b7d1dcfe3b6af36a5e1a4e8dd5017c998970.tar.xz hercules-b917b7d1dcfe3b6af36a5e1a4e8dd5017c998970.zip |
* Several fixes to various scripts.
- Resolves: bugreport:351, bugreport:379, bugreport:393, bugreport:407, bugreport:414, partially resolves bug report:414
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11733 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/dye_maker.txt')
-rw-r--r-- | npc/merchants/dye_maker.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt index 5d0c8d65a..41c492c2e 100644 --- a/npc/merchants/dye_maker.txt +++ b/npc/merchants/dye_maker.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= eAthena Dev Team //===== Current Version: ===================================== -//= 1.3 +//= 1.4 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -14,6 +14,7 @@ //= 1.2 Rescripted to Aegis 10.3 standard. [L0ne_W0lf] //= 1.2b Fixed typos in variable names [ultramage] //= 1.3 Made the checks more dynamic [ultramage] +//= 1.4 Fixed offset in getarraysize. (counting starts at 1.) [L0ne_W0lf] //============================================================ morocc_in,146,99,3 script Java Dullihan 58,{ @@ -167,7 +168,7 @@ S_MakeDye: } next; if (select("Make Dyestuffs:Cancel") == 1) { - set .@size, getarraysize(.@item); + set .@size, (getarraysize(.@item)-1); // check requirements for( set .@i,0 ; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 ); if( .@i < .@size || Zeny < .@cost ) { |