Jump to content
  • 0

how to make endless tower


DevilingKing

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/14/16
  • Last Seen:  

Last kill monster
Entweihen Crothen   1957

Show npc  reward

 

EndlessTower.txt.txt

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/14/16
  • Last Seen:  

sir..  this monster  Entweihen Crothen no show why..

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/14/16
  • Last Seen:  

i remove this script  monster out

		hideoffnpc instance_npc("et_reward_npc"); // <------- ADD THIS
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

hideoffnpc instance_npcname("et_reward_npc"); // <------- ADD THIS

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/14/16
  • Last Seen:  

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