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/jobs/2-1a/WhiteSmith.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/jobs/2-1a/WhiteSmith.txt') diff --git a/npc/jobs/2-1a/WhiteSmith.txt b/npc/jobs/2-1a/WhiteSmith.txt index 590f68143..a530246cc 100644 --- a/npc/jobs/2-1a/WhiteSmith.txt +++ b/npc/jobs/2-1a/WhiteSmith.txt @@ -15,7 +15,7 @@ valkyrie,44,50,5 script MasterSmith#Valkyrie 4_M_JOB_BLACKSMITH,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[MasterSmith]"; mes "Congratulations."; @@ -63,7 +63,7 @@ valkyrie,44,50,5 script MasterSmith#Valkyrie 4_M_JOB_BLACKSMITH,{ close; } jobchange Job_Whitesmith; - set ADVJOB,0; + ADVJOB = 0; mes "[MasterSmith]"; mes "Congratulations!"; mes "As a MasterSmith,"; -- cgit v1.2.3-60-g2f50