Jump to content
  • 0

entrance at et need tcg as requirment


Question

2 answers to this question

Recommended Posts

  • 0
Posted
L_Enter:
	mes "Please pay me one "+getitemname(7227);
	if (select("Alright", "Cancel") == 2) close3;
	if (countitem(7227) < 1) {
		mes "You dont have enough "+getitemname(7227);
		close3;
	}
	switch(instance_enter("Endless Tower")) {
	case IE_OTHER:
		mes "An unknown error has occurred.";
		close;
	case IE_NOINSTANCE:
		mes "The memorial dungeon Endless Tower does not exist.";
		mes "The party leader did not generate the dungeon yet.";
		close;
	case IE_NOMEMBER:
		mes "You can enter the dungeon after making the party.";
		close;
	case IE_OK:
		delitem 7227, 1;
		mapannounce "e_tower", strcharinfo(0) +" of the party, "+ getpartyname( getcharid(1) ) +", is entering the dungeon, Endless Tower.",bc_map,"0x00ff99",FW_NORMAL,12;
		if (getarg(1)) {
			set etower_timer,gettimetick(2);
			set etower_partyid, getcharid(1);
			setquest 60200;
			setquest 60201;
		}
		//warp "1@tower",52,354;
		if (getarg(0) == 0) close;
		else end;
	}

npc/instances/EndlessTower.txt#L295

  • 0
Posted
On 10/23/2022 at 11:25 PM, Sergardo said:

how to add tcg as requirment when entering endless tower? 

Simple NPC

	mes "Hi"
	switch(Select("Enter","Exit"){
			case 1:
					if (countitem(7227) < 1) {
					mes "You dont have enough "+getitemname(7227);
					close;
					}
					mes "This is what you read if you have TCG add below your next thing that you want to do";
					close;
			case 2:
		}
	}

 

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