nicothe1 Posted February 28, 2024 Posted February 28, 2024 How can I set my endless tower entry requirements with zeny + additional material? Quote
0 Rynbef Posted February 28, 2024 Posted February 28, 2024 Add after this line https://github.com/rathena/rathena/blob/398bae57a8fafe1bdbcdfb589d80620e789fc57b/npc/instances/EndlessTower.txt#L181 Rynbef~ Quote
0 nicothe1 Posted February 29, 2024 Author 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
0 Rynbef Posted March 5, 2024 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
Question
nicothe1
How can I set my endless tower entry requirements with zeny + additional material?
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.