Jump to content
  • 0
DevilingKing

how to make endless tower

Question

6 answers to this question

Recommended Posts

  • 0
[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 by Emistry
Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0

 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;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.