diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-30 15:54:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-30 15:54:59 -0300 |
commit | 3bfcbb65a0c745ce850b4d48142023b9a386db93 (patch) | |
tree | 59e7b02a7be8e88d7e3d2b064c0fdc4ac5a309ac /npc/craft | |
parent | e651a1b03199b1a810d693193644dfa7c2bedf9d (diff) | |
download | serverdata-3bfcbb65a0c745ce850b4d48142023b9a386db93.tar.gz serverdata-3bfcbb65a0c745ce850b4d48142023b9a386db93.tar.bz2 serverdata-3bfcbb65a0c745ce850b4d48142023b9a386db93.tar.xz serverdata-3bfcbb65a0c745ce850b4d48142023b9a386db93.zip |
Fix a bug
Diffstat (limited to 'npc/craft')
-rw-r--r-- | npc/craft/options.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 8e6d61edd..6a4c9a970 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -751,15 +751,15 @@ function script CsysNpcCraft { // Apply the bonuses if needed if (.@opt1) - setitemoptionbyindex(.@it, 0, .@opt1, .@val1); + setitemoptionbyindex(.@index, 0, .@opt1, .@val1); if (.@opt2) - setitemoptionbyindex(.@it, 1, .@opt2, .@val2); + setitemoptionbyindex(.@index, 1, .@opt2, .@val2); if (.@opt3) - setitemoptionbyindex(.@it, 2, .@opt3, .@val3); + setitemoptionbyindex(.@index, 2, .@opt3, .@val3); if (.@opt4) - setitemoptionbyindex(.@it, 3, .@opt4, .@val4); + setitemoptionbyindex(.@index, 3, .@opt4, .@val4); if (.@opt5) - setitemoptionbyindex(.@it, 4, .@opt5, .@val5); + setitemoptionbyindex(.@index, 4, .@opt5, .@val5); return; } |