summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1a/Sniper.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 02:06:46 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:50 +0100
commitbf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch)
tree0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/jobs/2-1a/Sniper.txt
parent6b20c5b6988c889df35b890d93c338f8b87fa430 (diff)
downloadhercules-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-1a/Sniper.txt')
-rw-r--r--npc/jobs/2-1a/Sniper.txt4
1 files changed, 2 insertions, 2 deletions
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";