DevilingKing Posted October 16, 2021 Share Posted October 16, 2021 Last kill monster Entweihen Crothen 1957 Show npc reward EndlessTower.txt.txt Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 16, 2021 Share Posted October 16, 2021 (edited) [email protected],82,112,2 script #102FShadowDust1 844,{ end; OnInstanceInit: donpcevent instance_npcname("#102FShadowDust")+"::OnEnable"; monster instance_mapname("[email protected]"),83,85,"Entweihen Crothen",1957,1,instance_npcname("#102FShadowDust1")+"::OnMyMobDead"; end; OnMyMobDead: set [email protected]$, instance_mapname("[email protected]"); set [email protected]_dead_num,mobcount([email protected]$,instance_npcname("#102FShadowDust1")+"::OnMyMobDead"); if ([email protected]_dead_num < 1) { mapannounce [email protected]$, "Mysterious Voice: Who are you to dare intrude upon my sanctuary?!",bc_map,"0xffff00"; donpcevent instance_npcname("#102FShadowDust")+"::OnDisable"; donpcevent instance_npcname("Lucid Crystal#102")+"::OnEnable"; enablenpc "Devil Square Guardian#2"; //SetItemPartyInMap in_102floor 100 hideoffnpc instance_npcname("et_reward_npc"); // <------- ADD THIS } end; } [email protected],83,85,4 script et_reward_npc 406,{ // rewards... end; OnInstanceInit: hideonnpc strnpcinfo(3); end; } Edited October 17, 2021 by Emistry Quote Link to comment Share on other sites More sharing options...
0 DevilingKing Posted October 16, 2021 Author Share Posted October 16, 2021 sir.. this monster Entweihen Crothen no show why.. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 16, 2021 Share Posted October 16, 2021 3 hours ago, DevilingKing said: sir.. this monster Entweihen Crothen no show why.. probably something went wrong with the script, always check map-server for errors. Quote Link to comment Share on other sites More sharing options...
0 DevilingKing Posted October 17, 2021 Author Share Posted October 17, 2021 i remove this script monster out hideoffnpc instance_npc("et_reward_npc"); // <------- ADD THIS Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 17, 2021 Share Posted October 17, 2021 hideoffnpc instance_npcname("et_reward_npc"); // <------- ADD THIS Quote Link to comment Share on other sites More sharing options...
0 DevilingKing Posted October 17, 2021 Author Share Posted October 17, 2021 Emistry not work.. can make like this script? OnDevilDead3: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monsters remaining in the final round.", bc_map; else if ( .mob <= 0 ) { announce "Devil Square : CONGRATULATIONS. Please click on the NPC for your rewards.", bc_map; goto OnStopEvent; } end; OnStopEvent: killmonsterall "ordeal_1-1"; enablenpc "Devil Square Guardian#2"; .start = .round = .mob = 0; end; } ordeal_1-1,246,245,7 script Devil Square Guardian#2 406,{ mes "[Exit]"; mes "Farewell."; close2; getitem 7539,50; warp "SavePoint",0,0; end; } Quote Link to comment Share on other sites More sharing options...
Last kill monster
Entweihen Crothen 1957
Show npc reward
EndlessTower.txt.txt
Link to comment
Share on other sites