nicothe1 Posted February 28, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 07/30/18 Last Seen: April 6, 2024 Share Posted February 28, 2024 How can I set my endless tower entry requirements with zeny + additional material? Quote Link to comment Share on other sites More sharing options...
0 Rynbef Posted February 28, 2024 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Yesterday at 06:19 AM Share Posted February 28, 2024 Add after this line https://github.com/rathena/rathena/blob/398bae57a8fafe1bdbcdfb589d80620e789fc57b/npc/instances/EndlessTower.txt#L181 Rynbef~ Quote Link to comment Share on other sites More sharing options...
0 nicothe1 Posted February 29, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 07/30/18 Last Seen: April 6, 2024 Author Share Posted February 29, 2024 18 hours ago, Rynbef said: Add after this line https://github.com/rathena/rathena/blob/398bae57a8fafe1bdbcdfb589d80620e789fc57b/npc/instances/EndlessTower.txt#L181 Rynbef~ I tried to declare a array for it but it doesn't work can you give me an example? Quote Link to comment Share on other sites More sharing options...
0 Rynbef Posted March 5, 2024 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Yesterday at 06:19 AM Share Posted March 5, 2024 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~ Quote Link to comment Share on other sites More sharing options...
Question
nicothe1
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.