Sometimes on 2nd floor after killing all monsters, mini-boss Commander doesn't appear.
// Commander 12@gl_k,1,1,0 script #ghmemorialmob05 HIDDEN_WARP_NPC,{
end;OnStart:
enablenpc instance_npcname("#ghmemorialmob05");for(.@i=1;.@i<=7;.@i++)
enablenpc instance_npcname("#ogh_2-"+.@i);
end;OnMyMobDead:if(rand(50)==0){// can re-spawn
mapannounce 'map_name$[1],"Evil Forces are appearing in this area.", bc_map,0xFFFF44,FW_NORMAL,15;
killmonster 'map_name$[1], instance_npcname("#ghmemorialmob05")+"::OnBossDead";.@r= rand(4)*2;
setarray .@coord[0],41,146,58,44,122,148,131,64;
monster 'map_name$[1],.@coord[.@r],.@coord[.@r+1],"1st Commander of Destruction",2473,1, instance_npcname("#ghmemorialmob05")+"::OnBossDead";}
end;OnBossDead:
mapannounce 'map_name$[1],"A portal has opened to the east in the central hallway.", bc_map,0xFFFF00;
enablenpc instance_npcname("#23 Control");
enablenpc instance_npcname("#23 Control2");
donpcevent instance_npcname("#ghmemorialmob06")+"::OnStart";
disablenpc instance_npcname("#ghmemorialmob05");for(.@i=1;.@i<=7;.@i++)
donpcevent instance_npcname("#ogh_2-"+.@i)+"::OnStop";
end;}
Question
3TAJIOH
Sometimes on 2nd floor after killing all monsters, mini-boss Commander doesn't appear.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.