diff options
author | Haru <haru@dotalux.com> | 2017-11-18 20:05:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 20:05:20 +0100 |
commit | 7b2f685d9fa8a2998b424c003d7a1386f76d45db (patch) | |
tree | a5f118370396e8168c5aa84b4fb105951157d35c /npc/quests/cooking_quest.txt | |
parent | a63c82c8bd29fd829a5d8cfba7d02d11cf4634c5 (diff) | |
parent | 42248822bf5348c7cbf33efbdf12873bea11ff38 (diff) | |
download | hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.gz hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.bz2 hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.xz hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.zip |
Merge pull request #1902 from MishimaHaruna/getiteminfo-fix
getiteminfo() / setiteminfo() fixes
Diffstat (limited to 'npc/quests/cooking_quest.txt')
-rw-r--r-- | npc/quests/cooking_quest.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt index ad0306b2c..505561f52 100644 --- a/npc/quests/cooking_quest.txt +++ b/npc/quests/cooking_quest.txt @@ -2069,8 +2069,8 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{ close; S_SellSets: - .@item_cost = getiteminfo(getarg(0),0); - .@item_weight = getiteminfo(getarg(0),6); + .@item_cost = getiteminfo(getarg(0), ITEMINFO_BUYPRICE); + .@item_weight = getiteminfo(getarg(0), ITEMINFO_WEIGHT); mes "[Madeleine Chu]"; mes "How many " + (getarg(0)==12125 ? "Outdoor":"Indoor"); mes "Cooking Kits would"; |