cadz Posted September 14, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Share Posted September 14, 2012 hi there, is there any chance a npc can give @allskill to a certain player that need to be max level before giving the @allskill? and required certain items? thanks in advance. Quote Link to comment Share on other sites More sharing options...
Euphy Posted September 14, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted September 14, 2012 if (BaseLevel == max_level && countitem(your_item) >= item_amount) { atcommand "@allskill"; delitem your_item, item_amount; } end; Quote Link to comment Share on other sites More sharing options...
cadz Posted September 14, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Author Share Posted September 14, 2012 ohh thanks a lot ohh btw if zeny required how to put it? sorry for bad english Quote Link to comment Share on other sites More sharing options...
Euphy Posted September 14, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted September 14, 2012 if (Zeny >= zeny_amount) { set Zeny, Zeny-zeny_amount; } end; Consider reading: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt Quote Link to comment Share on other sites More sharing options...
cadz Posted September 14, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Author Share Posted September 14, 2012 thanks euphy already fix. Quote Link to comment Share on other sites More sharing options...
Question
cadz
hi there, is there any chance a npc can give @allskill to a certain player that need to be max level before giving the @allskill? and required certain items?
thanks in advance.
Link to comment
Share on other sites
4 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.