From bf4b0a281207e46a9b21a9c9f779aeafaa739b62 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 26 Oct 2014 02:06:46 +0100 Subject: Replaced 'set' with direct assignment where applicable (common folder) Signed-off-by: Haru --- npc/merchants/old_pharmacist.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/merchants/old_pharmacist.txt') 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!"; -- cgit v1.2.3-60-g2f50