summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-06 16:55:40 +0100
committerHaru <haru@dotalux.com>2015-12-06 16:55:40 +0100
commitc4f79322d1d38d4345dd7a6ef126f5a8d25196c1 (patch)
tree5aff3763efe86daafbfcc4742acf270d112c6229 /npc
parente711753b9d584845e385ada29780b9ed216c4f55 (diff)
downloadhercules-c4f79322d1d38d4345dd7a6ef126f5a8d25196c1.tar.gz
hercules-c4f79322d1d38d4345dd7a6ef126f5a8d25196c1.tar.bz2
hercules-c4f79322d1d38d4345dd7a6ef126f5a8d25196c1.tar.xz
hercules-c4f79322d1d38d4345dd7a6ef126f5a8d25196c1.zip
Minor follow-up to e9eeb59068934ee8e71b7b9f37f131ef41459e76
Always use the prefix form of increment/decrement operators where posible. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc')
-rw-r--r--npc/re/instances/OldGlastHeim.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt
index 1d908ac39..2666f8151 100644
--- a/npc/re/instances/OldGlastHeim.txt
+++ b/npc/re/instances/OldGlastHeim.txt
@@ -516,7 +516,7 @@ OnTimer85000:
monster .@map$,145,99,"Abyss Knight",2470,1,.@label$;
monster .@map$,154,99,"Abyss Knight",2470,1,.@label$;
- for(.@i = 1; .@i<=22; .@i++)
+ for (.@i = 1; .@i <= 22; ++.@i)
hideoffnpc instance_npcname(".#ghinstance"+.@i);
donpcevent instance_npcname(".#ghinstance22")+"::OnTalkK";
@@ -1480,7 +1480,7 @@ OnEnable:
end;
OnMyMobDead:
.@map$ = instance_mapname("2@gl_k");
- .MyMobs--;
+ --.MyMobs;
if (.MyMobs == 0) {
mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
donpcevent instance_npcname("#ghmemorialmob06")+"::OnDisable2";
@@ -1589,7 +1589,7 @@ OnEnable:
end;
OnMyMobDead:
.@map$ = instance_mapname("2@gl_k");
- .MyMobs--;
+ --.MyMobs;
if (.MyMobs == 0) {
mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
donpcevent instance_npcname("#ghmemorialmob09")+"::OnEnable";