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/cities/niflheim.txt | |
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/cities/niflheim.txt')
-rw-r--r-- | npc/cities/niflheim.txt | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/npc/cities/niflheim.txt b/npc/cities/niflheim.txt index 4e6ba1f97..0bfa9a088 100644 --- a/npc/cities/niflheim.txt +++ b/npc/cities/niflheim.txt @@ -232,17 +232,20 @@ niflheim,350,258,1 script Cursed Spirit#nif 4_NFWISP,{ mes "lost to the ages~!"; emotion e_gg; next; - if (select("Clover:Klaatu:Klaytos") == 2) - set .@spell,.@spell+1; - if (select("Verit:Veritas:Verata") == 3) - set .@spell,.@spell+1; - if (select("Necktie:Necklace:Nero:^FFFFFFNictu!!!^000000") == 4) - set .@spell,.@spell+1; + if (select("Clover:Klaatu:Klaytos") == 2) { + ++.@spell; + } + if (select("Verit:Veritas:Verata") == 3) { + ++.@spell; + } + if (select("Necktie:Necklace:Nero:^FFFFFFNictu!!!^000000") == 4) { + ++.@spell; + } if (.@spell == 3) { switch(rand(1,5)) { case 1: if (morison_meat < 15) { - set morrison_meat,15; + morrison_meat = 15; mes "[Ashe Bruce]"; mes "You... You broke the curse!"; mes "How did you know that spell?!"; @@ -262,7 +265,7 @@ niflheim,350,258,1 script Cursed Spirit#nif 4_NFWISP,{ close; case 2: if (thai_head == 1) { - set thai_head,2; + thai_head = 2; mes "[Ashe Bruce]"; mes "What's..."; mes "this feeling?"; @@ -285,7 +288,7 @@ niflheim,350,258,1 script Cursed Spirit#nif 4_NFWISP,{ close; case 3: if (thai_head == 8) { - set thai_head,7; + thai_head = 7; mes "[Ashe Bruce]"; mes "You... You broke the curse!"; mes "Who taught you that spell?!"; |