diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:29:12 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | eb5a3ece8568bae80d2d6912cd172f4cce029e68 (patch) | |
tree | 59ad4ef160c69bf9be6574e56ded3c54acb13526 /npc/pre-re/jobs/1-1/archer.txt | |
parent | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (diff) | |
download | hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.gz hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.bz2 hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.xz hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.zip |
Replaced 'set' with direct assignment where applicable (pre-re folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/pre-re/jobs/1-1/archer.txt')
-rw-r--r-- | npc/pre-re/jobs/1-1/archer.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/pre-re/jobs/1-1/archer.txt b/npc/pre-re/jobs/1-1/archer.txt index 710580054..97ea540c1 100644 --- a/npc/pre-re/jobs/1-1/archer.txt +++ b/npc/pre-re/jobs/1-1/archer.txt @@ -95,7 +95,7 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ mes "If so, you need to fill out this application form."; next; if (select("Apply.:Cancel") == 1) { - set job_archer_q,1; + job_archer_q = 1; setquest 1004; mes "[Archer Guildsman]"; mes "Okay, sign here. Alright, um, I'll promote you once you meet the requirements."; @@ -132,12 +132,12 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ close; } if (job_archer_q == 1) { - set .@archer_item1,countitem(1066) * 5; - set .@archer_item2,countitem(1067) * 3; - set .@archer_item3,countitem(1068) * 2; - set .@archer_item4,countitem(1019); - set .@total_archer,.@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4; - set .@total_archer2,(((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4); + .@archer_item1 = countitem(1066) * 5; + .@archer_item2 = countitem(1067) * 3; + .@archer_item3 = countitem(1068) * 2; + .@archer_item4 = countitem(1019); + .@total_archer = .@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4; + .@total_archer2 = (((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4); mes "[Archer Guildsman]"; mes "Excellent!"; mes "Now then,"; |