diff options
author | Haru <haru@dotalux.com> | 2014-10-26 05:00:08 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:51 +0100 |
commit | 54604096ac53398778a5481613061216fe47e5bc (patch) | |
tree | 4d9982857e3bd9ee7eab839cc743cb6f3e9dc7f3 /npc/quests/seals/seal_status.txt | |
parent | 46fbbaabefa29df1378ae68b7f063dbc64846042 (diff) | |
download | hercules-54604096ac53398778a5481613061216fe47e5bc.tar.gz hercules-54604096ac53398778a5481613061216fe47e5bc.tar.bz2 hercules-54604096ac53398778a5481613061216fe47e5bc.tar.xz hercules-54604096ac53398778a5481613061216fe47e5bc.zip |
Replaced 'set' with direct assignment where applicable (quests subfolders)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/seals/seal_status.txt')
-rw-r--r-- | npc/quests/seals/seal_status.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/quests/seals/seal_status.txt b/npc/quests/seals/seal_status.txt index 4809f6b7d..6c16d01b5 100644 --- a/npc/quests/seals/seal_status.txt +++ b/npc/quests/seals/seal_status.txt @@ -16,16 +16,16 @@ prontera,113,294,3 script Sign Post#god 2_BULLETIN_BOARD,{ mes "======== God Seal Status ========"; setarray .@seal$[1], "Sleipnir","Megingjard","Brisingamen","Mjolnir"; - for(set .@i,1; .@i<=4; set .@i,.@i+1) { - set .@val, getd("$God"+.@i); + for(.@i = 1; .@i<=4; ++.@i) { + .@val = getd("$God"+.@i); if (.@val == 0) - set .@status$,"Unseen"; + .@status$ = "Unseen"; else if (.@val < $@god_check1) - set .@status$,"Active"; + .@status$ = "Active"; else if (.@val < $@god_check2) - set .@status$,"Appeared"; + .@status$ = "Appeared"; else - set .@status$,"Released"; + .@status$ = "Released"; mes .@seal$[.@i]+" Seal: "+.@status$; } mes " "; |