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/AssassinCross.txt | 4 ++-- npc/jobs/2-1a/HighPriest.txt | 4 ++-- npc/jobs/2-1a/HighWizard.txt | 4 ++-- npc/jobs/2-1a/LordKnight.txt | 4 ++-- npc/jobs/2-1a/Sniper.txt | 4 ++-- npc/jobs/2-1a/WhiteSmith.txt | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'npc/jobs/2-1a') diff --git a/npc/jobs/2-1a/AssassinCross.txt b/npc/jobs/2-1a/AssassinCross.txt index a9fdee622..3daf3bd84 100644 --- a/npc/jobs/2-1a/AssassinCross.txt +++ b/npc/jobs/2-1a/AssassinCross.txt @@ -15,7 +15,7 @@ valkyrie,44,58,5 script Assassin Cross#Valkyrie 4_F_JOB_ASSASSIN,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Assassin Cross]"; mes "Congratulations..."; @@ -77,7 +77,7 @@ valkyrie,44,58,5 script Assassin Cross#Valkyrie 4_F_JOB_ASSASSIN,{ close; } jobchange Job_Assassin_Cross; - set ADVJOB,0; + ADVJOB = 0; mes "[Assassin Cross]"; mes "Congratulations."; mes "As an Assassin Cross,"; diff --git a/npc/jobs/2-1a/HighPriest.txt b/npc/jobs/2-1a/HighPriest.txt index e7dffe9b9..77cf7be23 100644 --- a/npc/jobs/2-1a/HighPriest.txt +++ b/npc/jobs/2-1a/HighPriest.txt @@ -15,7 +15,7 @@ valkyrie,44,42,5 script High Priest#Valkyrie 1_M_PASTOR,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[High Priest]"; mes "Congratulations."; @@ -57,7 +57,7 @@ valkyrie,44,42,5 script High Priest#Valkyrie 1_M_PASTOR,{ close; } jobchange Job_High_Priest; - set ADVJOB,0; + ADVJOB = 0; mes "[High Priest]"; mes "Congratulations."; mes "As a High Priest,"; diff --git a/npc/jobs/2-1a/HighWizard.txt b/npc/jobs/2-1a/HighWizard.txt index ab5dc6424..2a823da5f 100644 --- a/npc/jobs/2-1a/HighWizard.txt +++ b/npc/jobs/2-1a/HighWizard.txt @@ -15,7 +15,7 @@ valkyrie,44,47,5 script High Wizard#Valkyrie 4_M_JOB_WIZARD,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[High Wizard]"; mes "Congratulations."; @@ -61,7 +61,7 @@ valkyrie,44,47,5 script High Wizard#Valkyrie 4_M_JOB_WIZARD,{ close; } jobchange Job_High_Wizard; - set ADVJOB,0; + ADVJOB = 0; mes "[High Wizard]"; mes "Congratulations."; mes "As a High Wizard,"; diff --git a/npc/jobs/2-1a/LordKnight.txt b/npc/jobs/2-1a/LordKnight.txt index eb310e360..291cd930c 100644 --- a/npc/jobs/2-1a/LordKnight.txt +++ b/npc/jobs/2-1a/LordKnight.txt @@ -15,7 +15,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 1_M_KNIGHTMASTER,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Lord Knight]"; mes "Congratulations."; @@ -59,7 +59,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 1_M_KNIGHTMASTER,{ close; } jobchange Job_Lord_Knight; - set ADVJOB,0; + ADVJOB = 0; mes "[Lord Knight]"; mes "Congratulations!"; mes "As a Lord Knight,"; diff --git a/npc/jobs/2-1a/Sniper.txt b/npc/jobs/2-1a/Sniper.txt index c7060cdf6..893dc3a2d 100644 --- a/npc/jobs/2-1a/Sniper.txt +++ b/npc/jobs/2-1a/Sniper.txt @@ -15,7 +15,7 @@ valkyrie,44,55,5 script Sniper#Valkyrie 4_F_JOB_HUNTER,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Sniper]"; mes "Congratulations."; @@ -57,7 +57,7 @@ valkyrie,44,55,5 script Sniper#Valkyrie 4_F_JOB_HUNTER,{ close; } jobchange Job_Sniper; - set ADVJOB,0; + ADVJOB = 0; mes "[Sniper]"; mes "Congratulations!"; mes "As a Sniper, I hope"; 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-70-g09d2