diff options
author | Vincent Petithory <vincent.petithory@gmail.com> | 2012-11-08 12:28:22 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-11-08 14:23:09 +0100 |
commit | 1f941bef28ddfc9aa862caaafc19cc7523d4218f (patch) | |
tree | 0bbfa1e70e81692d9442024feb27f8ae008d8e8f /world/map/npc/048-2/sageNikolai.txt | |
parent | dafe3ad044287c833a11532144b3147f935b83ba (diff) | |
download | serverdata-1f941bef28ddfc9aa862caaafc19cc7523d4218f.tar.gz serverdata-1f941bef28ddfc9aa862caaafc19cc7523d4218f.tar.bz2 serverdata-1f941bef28ddfc9aa862caaafc19cc7523d4218f.tar.xz serverdata-1f941bef28ddfc9aa862caaafc19cc7523d4218f.zip |
Fix usages of getinventorylist():
* replace incorrect usage of @inventory_count with
the correct variable created by getinventorylist(): @inventorylist_count
Diffstat (limited to 'world/map/npc/048-2/sageNikolai.txt')
-rw-r--r-- | world/map/npc/048-2/sageNikolai.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/048-2/sageNikolai.txt b/world/map/npc/048-2/sageNikolai.txt index 6374b973..9c2356cc 100644 --- a/world/map/npc/048-2/sageNikolai.txt +++ b/world/map/npc/048-2/sageNikolai.txt @@ -232,7 +232,7 @@ L_GrimoireReward: next; mes "\"I'd like you to have this as a reward for your help.\""; getinventorylist; - if ((checkweight("Grimoire", 1) == 0) || (@inventory_count == 100)) + if ((checkweight("Grimoire", 1) == 0) || (@inventorylist_count == 100)) goto L_Full_Inv; getitem "Grimoire", 1; set QUEST_BlueSage, QUEST_BlueSage | $@Q_BlueSageGrimoire; @@ -247,7 +247,7 @@ L_SlimesReward: next; mes "\"While looking through some old artifacts that we found during the cleaning, we found this sword. We don't really have a use for it.\""; getinventorylist; - if ((checkweight("IceGladius", 1) == 0) || (@inventory_count == 100)) + if ((checkweight("IceGladius", 1) == 0) || (@inventorylist_count == 100)) goto L_Full_Inv; getitem "IceGladius", 1; set QUEST_BlueSage, QUEST_BlueSage | $@Q_BlueSageIceSword; |