diff options
author | Haru <haru@dotalux.com> | 2014-10-26 03:19:01 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:51 +0100 |
commit | d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710 (patch) | |
tree | 6f58d1d5202d286dd64c9fc3083cae1d4f2e240a /npc/re/quests/eden/11-25.txt | |
parent | eb5a3ece8568bae80d2d6912cd172f4cce029e68 (diff) | |
download | hercules-d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710.tar.gz hercules-d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710.tar.bz2 hercules-d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710.tar.xz hercules-d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710.zip |
Replaced 'set' with direct assignment where applicable (re/quests folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/quests/eden/11-25.txt')
-rw-r--r-- | npc/re/quests/eden/11-25.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/re/quests/eden/11-25.txt b/npc/re/quests/eden/11-25.txt index 17f5edb22..b9c9f85ce 100644 --- a/npc/re/quests/eden/11-25.txt +++ b/npc/re/quests/eden/11-25.txt @@ -19,9 +19,9 @@ moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{ mes "- to receive these missions. -"; close; } - for(set .@i,11124; .@i<11134; set .@i,.@i+1) + for(.@i = 11124; .@i<11134; ++.@i) if (questprogress(.@i,PLAYTIME) == 2) erasequest .@i; - for(set .@i,11114; .@i<11123; set .@i,.@i+1) { + for(.@i = 11114; .@i<11123; ++.@i) { .@state = questprogress(.@i,HUNTING); if (.@state == 2) { mes " - You must collect your - "; @@ -79,7 +79,7 @@ L_Quest: close; } mes " - Mission '"+getarg(1)+"' - "; - for(set .@i,2; .@i<getargcount(); set .@i,.@i+1) + for(.@i = 2; .@i<getargcount(); ++.@i) mes getarg(.@i); mes " "; mes " - Manager : Spike - "; @@ -89,7 +89,7 @@ L_Quest: mes " - other missions. - "; close; } - for(set .@i,2; .@i<getargcount(); set .@i,.@i+1) + for(.@i = 2; .@i<getargcount(); ++.@i) mes getarg(.@i); if (getarg(0) == 11123 && questprogress(11123,PLAYTIME) == 2) erasequest 11133; // Special case for "Collect Poison Spores" @@ -98,7 +98,7 @@ L_Quest: } moc_para01,32,30,6 script Spike 4_F_CHILD,{ - for(set .@i,11114; .@i<11124; set .@i,.@i+1) { + for(.@i = 11114; .@i<11124; ++.@i) { .@state = questprogress(.@i,HUNTING); if (.@state == 2) switch(.@i) { case 11114: callsub L_Quest,.@i,"Hornet Hunting",900; |