diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:06:46 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch) | |
tree | 0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/jobs/2-2a | |
parent | 6b20c5b6988c889df35b890d93c338f8b87fa430 (diff) | |
download | hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2 hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip |
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/jobs/2-2a')
-rw-r--r-- | npc/jobs/2-2a/Champion.txt | 4 | ||||
-rw-r--r-- | npc/jobs/2-2a/Clown.txt | 4 | ||||
-rw-r--r-- | npc/jobs/2-2a/Gypsy.txt | 4 | ||||
-rw-r--r-- | npc/jobs/2-2a/Paladin.txt | 4 | ||||
-rw-r--r-- | npc/jobs/2-2a/Professor.txt | 4 | ||||
-rw-r--r-- | npc/jobs/2-2a/Stalker.txt | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/npc/jobs/2-2a/Champion.txt b/npc/jobs/2-2a/Champion.txt index 7f0f743cd..72eed8840 100644 --- a/npc/jobs/2-2a/Champion.txt +++ b/npc/jobs/2-2a/Champion.txt @@ -15,7 +15,7 @@ valkyrie,53,42,3 script Champion#Valkyrie 1_M_HOF,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Champion]"; mes "Congratulations."; @@ -62,7 +62,7 @@ valkyrie,53,42,3 script Champion#Valkyrie 1_M_HOF,{ close; } jobchange Job_Champion; - set ADVJOB,0; + ADVJOB = 0; mes "[Champion]"; mes "Congratulations!"; mes "Live as a Champion,"; diff --git a/npc/jobs/2-2a/Clown.txt b/npc/jobs/2-2a/Clown.txt index 1d9b200bf..173aedb40 100644 --- a/npc/jobs/2-2a/Clown.txt +++ b/npc/jobs/2-2a/Clown.txt @@ -17,7 +17,7 @@ valkyrie,53,54,3 script Minstrel#Valkyrie 2_M_BARD_ORIENT,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Minstrel]"; mes "Congratulations."; @@ -58,7 +58,7 @@ valkyrie,53,54,3 script Minstrel#Valkyrie 2_M_BARD_ORIENT,{ close; } jobchange Job_Clown; - set ADVJOB,0; + ADVJOB = 0; mes "[Minstrel]"; mes "Congratulations!"; mes "As a Minstrel, your"; diff --git a/npc/jobs/2-2a/Gypsy.txt b/npc/jobs/2-2a/Gypsy.txt index f8d80cc29..b265cc921 100644 --- a/npc/jobs/2-2a/Gypsy.txt +++ b/npc/jobs/2-2a/Gypsy.txt @@ -15,7 +15,7 @@ valkyrie,53,56,3 script Gypsy#Valkyrie 4W_F_01,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Gypsy]"; mes "Congratulations."; @@ -58,7 +58,7 @@ valkyrie,53,56,3 script Gypsy#Valkyrie 4W_F_01,{ close; } jobchange Job_Gypsy; - set ADVJOB,0; + ADVJOB = 0; mes "[Gypsy]"; mes "Congratulations!"; mes "As a Gypsy, I know"; diff --git a/npc/jobs/2-2a/Paladin.txt b/npc/jobs/2-2a/Paladin.txt index 9bd6a46f0..ec97506d3 100644 --- a/npc/jobs/2-2a/Paladin.txt +++ b/npc/jobs/2-2a/Paladin.txt @@ -15,7 +15,7 @@ valkyrie,53,39,3 script Paladin#Valkyrie 4_M_CRU_OLD,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Paladin]"; mes "Congratulations."; @@ -59,7 +59,7 @@ valkyrie,53,39,3 script Paladin#Valkyrie 4_M_CRU_OLD,{ close; } jobchange Job_Paladin; - set ADVJOB,0; + ADVJOB = 0; mes "[Paladin]"; mes "Congratulations."; mes "As a Paladin, I hope"; diff --git a/npc/jobs/2-2a/Professor.txt b/npc/jobs/2-2a/Professor.txt index b42e1627a..68cac14cf 100644 --- a/npc/jobs/2-2a/Professor.txt +++ b/npc/jobs/2-2a/Professor.txt @@ -15,7 +15,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 2_M_SAGE_OLD,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Scholar]"; mes "Congratulations."; @@ -66,7 +66,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 2_M_SAGE_OLD,{ close; } jobchange Job_Professor; - set ADVJOB,0; + ADVJOB = 0; mes "[Scholar]"; mes "Congratulations!"; mes "As a Professor, I hope"; diff --git a/npc/jobs/2-2a/Stalker.txt b/npc/jobs/2-2a/Stalker.txt index fbc1e060c..34ec24935 100644 --- a/npc/jobs/2-2a/Stalker.txt +++ b/npc/jobs/2-2a/Stalker.txt @@ -15,7 +15,7 @@ valkyrie,53,58,3 script Stalker#Valkyrie 4_F_ROGUE,{ if (ADVJOB == 0 || Upper != 1) { - set .@karma_d,rand(1,10); + .@karma_d = rand(1,10); if (.@karma_d > 4) { mes "[Stalker]"; mes "Congratulations."; @@ -67,7 +67,7 @@ valkyrie,53,58,3 script Stalker#Valkyrie 4_F_ROGUE,{ close; } jobchange Job_Stalker; - set ADVJOB,0; + ADVJOB = 0; mes "[Stalker]"; mes "Congratulations!"; mes "As a Stalker, I hope"; |