Jump to content
  • 0

how to make endless tower


Question

6 answers to this question

Recommended Posts

  • 0
Posted (edited)
5@tower,82,112,2	script	#102FShadowDust1	844,{
	end;

OnInstanceInit:
	donpcevent instance_npcname("#102FShadowDust")+"::OnEnable";
	monster instance_mapname("5@tower"),83,85,"Entweihen Crothen",1957,1,instance_npcname("#102FShadowDust1")+"::OnMyMobDead";
	end;

OnMyMobDead:
	set .@map$, instance_mapname("5@tower");
	set .@mob_dead_num,mobcount(.@map$,instance_npcname("#102FShadowDust1")+"::OnMyMobDead");
	if (.@mob_dead_num < 1) {
		mapannounce .@map$, "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;
}
5@tower,83,85,4	script	et_reward_npc	406,{
	// rewards...
	end;
	
	OnInstanceInit:
		hideonnpc strnpcinfo(3);
		end;
}

 

Edited by Emistry
  • 0
Posted
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.

  • 0
Posted

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

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...