diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-10-26 10:26:12 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-10-26 10:26:12 +0530 |
commit | e9eeb59068934ee8e71b7b9f37f131ef41459e76 (patch) | |
tree | d54affa32f418cfe57b8f8c2b9bf73bd508389df /npc/re | |
parent | e54cab202300a8fc5bc7f7e326f09906cfe8d800 (diff) | |
download | hercules-e9eeb59068934ee8e71b7b9f37f131ef41459e76.tar.gz hercules-e9eeb59068934ee8e71b7b9f37f131ef41459e76.tar.bz2 hercules-e9eeb59068934ee8e71b7b9f37f131ef41459e76.tar.xz hercules-e9eeb59068934ee8e71b7b9f37f131ef41459e76.zip |
Fixed OldGlastHeim instance not showing any npc
Diffstat (limited to 'npc/re')
-rw-r--r-- | npc/re/instances/OldGlastHeim.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 131b54eb8..1d908ac39 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -29,8 +29,7 @@ glast_01,204,273,6 script Hugin#ghinstance 4_M_SAGE_C,{ .@p_name$ = getpartyname(.@party_id); .@md_name$ = "Old Glast Heim"; - if (!instance_check_party(.@party_id,2)) { - //custom + if (!instance_check_party(.@party_id,2)) { // Custom mes "[Hugin]"; mes "Where are your party members?"; close; @@ -145,6 +144,8 @@ glast_01,204,273,6 script Hugin#ghinstance 4_M_SAGE_C,{ end; } OnInstanceInit: + donpcevent instance_npcname("Varmunt#ghinstance1")+"::OnEnable"; + end; OnDisable: hideonnpc instance_npcname("Varmunt#ghinstance1"); end; @@ -515,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"; @@ -1479,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"; @@ -1588,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"; |