diff options
Diffstat (limited to 'npc/merchants/old_pharmacist.txt')
-rw-r--r-- | npc/merchants/old_pharmacist.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt index d74b3287d..1889ea3b9 100644 --- a/npc/merchants/old_pharmacist.txt +++ b/npc/merchants/old_pharmacist.txt @@ -56,13 +56,13 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ next; mes "[Old Pharmacist]"; if (countitem(507) < countitem(713)) { - set .@max,countitem(507); + .@max = countitem(507); } else if (countitem(508) < countitem(713)) { - set .@max,countitem(508); + .@max = countitem(508); } else { - set .@max,countitem(713); + .@max = countitem(713); } if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) { mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; @@ -186,9 +186,9 @@ L_Making: next; mes "[Old Pharmacist]"; if ((countitem(getarg(0))/2) < countitem(713)) { - set .@max,countitem(getarg(0))/2; + .@max = countitem(getarg(0))/2; } else { - set .@max,countitem(713); + .@max = countitem(713); } if ((countitem(getarg(0)) < 2) || (countitem(713) == 0)) { mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; |