Jump to content
  • 0

Endless Tower Requirments


nicothe1

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/30/18
  • Last Seen:  

How can I set my endless tower entry requirements with zeny + additional material?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/30/18
  • Last Seen:  

18 hours ago, Rynbef said:

I tried to declare a array for it but it doesn't work can you give me an example?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Why don't use

if(countitem(512) < 10)mes "Before u enter u need 10x ^770000"+getitemname(512)+"^000000";

else

delitem 512,10;

 

If u don't have much items u can use this simple version.

Otherwise loop throw an array of item IDs, check if the player have the required amount of the item or not (throw an 2nd array of item amounts). Remove the item or display that he need something.

 

Rynbef~

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