angelingh Posted August 6, 2016 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 61 Reputation: 0 Joined: 05/24/16 Last Seen: October 27, 2016 Share Posted August 6, 2016 hi soneone can make for me leveling rewards npc pls? i need every 10 levels get 5 rewards like lvl10=5 rewards lvl20=5 rewards to 170 make the script i put the id of items just tell me where XD sorry i real newbie what that i hope someone can help me:) make the script i put the id of items just tell me where XD Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 6, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted August 6, 2016 @Aureon you can write it better in a way like this... - script Sample -1,{ OnPCBaseLvUpEvent: // every 10 levels gain rewards. if ( BaseLevel >= 10 && BaseLevel % 10 == 0 ) { getitem 512,1; getitem 512,2; getitem 512,3; getitem 512,4; getitem 512,5; dispbottom "Congrats! You reached level "+BaseLevel+"!"; } end; } 2 Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted August 6, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 281 Reputation: 14 Joined: 10/14/13 Last Seen: October 9, 2017 Share Posted August 6, 2016 This can help you, - script rAthena -1,{ OnPCBaseLvUpEvent: setarray .@rewards[0],501,502,503,504,505; // change this with your own reward if (BaseLevel == 10 || BaseLevel == 20 || BaseLevel == 30 || BaseLevel == 40 || BaseLevel == 50 || BaseLevel == 60 || BaseLevel == 70 || BaseLevel == 80 || BaseLevel == 90 || BaseLevel == 100 || BaseLevel == 110 || BaseLevel == 120 || BaseLevel == 130 || BaseLevel == 140 || BaseLevel == 150 || BaseLevel == 160 || BaseLevel == 170){ getitem .@rewards[0],1; getitem .@rewards[1],1; getitem .@rewards[2],1; getitem .@rewards[3],1; getitem .@rewards[4],1; dispbottom "Congrats! You reached level "+BaseLevel+"!"; end; } else { end; } end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted August 6, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 281 Reputation: 14 Joined: 10/14/13 Last Seen: October 9, 2017 Share Posted August 6, 2016 @emistry Thanks for that, sensei!im not that good on scripting, yet just wanna help out the community Quote Link to comment Share on other sites More sharing options...
0 angelingh Posted August 7, 2016 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 61 Reputation: 0 Joined: 05/24/16 Last Seen: October 27, 2016 Author Share Posted August 7, 2016 (edited) This can help you, - script rAthena -1,{ OnPCBaseLvUpEvent: setarray .@rewards[0],501,502,503,504,505; // change this with your own reward if (BaseLevel == 10 || BaseLevel == 20 || BaseLevel == 30 || BaseLevel == 40 || BaseLevel == 50 || BaseLevel == 60 || BaseLevel == 70 || BaseLevel == 80 || BaseLevel == 90 || BaseLevel == 100 || BaseLevel == 110 || BaseLevel == 120 || BaseLevel == 130 || BaseLevel == 140 || BaseLevel == 150 || BaseLevel == 160 || BaseLevel == 170){ getitem .@rewards[0],1; getitem .@rewards[1],1; getitem .@rewards[2],1; getitem .@rewards[3],1; getitem .@rewards[4],1; dispbottom "Congrats! You reached level "+BaseLevel+"!"; end; } else { end; } end; } @Aureon you can write it better in a way like this... - script Sample -1,{ OnPCBaseLvUpEvent: // every 10 levels gain rewards. if ( BaseLevel >= 10 && BaseLevel % 10 == 0 ) { getitem 512,1; getitem 512,2; getitem 512,3; getitem 512,4; getitem 512,5; dispbottom "Congrats! You reached level "+BaseLevel+"!"; } end; } This can help you, - script rAthena -1,{ OnPCBaseLvUpEvent: setarray .@rewards[0],501,502,503,504,505; // change this with your own reward if (BaseLevel == 10 || BaseLevel == 20 || BaseLevel == 30 || BaseLevel == 40 || BaseLevel == 50 || BaseLevel == 60 || BaseLevel == 70 || BaseLevel == 80 || BaseLevel == 90 || BaseLevel == 100 || BaseLevel == 110 || BaseLevel == 120 || BaseLevel == 130 || BaseLevel == 140 || BaseLevel == 150 || BaseLevel == 160 || BaseLevel == 170){ getitem .@rewards[0],1; getitem .@rewards[1],1; getitem .@rewards[2],1; getitem .@rewards[3],1; getitem .@rewards[4],1; dispbottom "Congrats! You reached level "+BaseLevel+"!"; end; } else { end; } end; } ty!! i go try its now ! one more request if can plss i want do clon pvp i use that script i found in that furom but i have some prblem with that then the clon use buff i get the buff too:( like if clon use agi up i get agi up too how i can do only the clon get the buff and i want make the clon more stronger then me no too much but i want the clon be hard to kill and if its possible i want the npc give me chose other clon form the server but then its offline like i can select only online players i want offline (i solo playing for now so i want hard to kill and all class) and one more i want the clon use skills faster i do that but the clon dont do too much skills:( and if its possible i want the clon summon Far away from me i think its hard if its summon near me and i get no time to attack XD i use that script: https://rathena.org/board/topic/96508-npc-for-evilclone/ btw i want normal attack him,, i must use shift can make its monster type for attack him normaly? Edited August 7, 2016 by angelingh Quote Link to comment Share on other sites More sharing options...
Question
angelingh
hi soneone can make for me leveling rewards npc pls?
i need every 10 levels get 5 rewards
like lvl10=5 rewards
lvl20=5 rewards
to 170
make the script i put the id of items just tell me where XD
sorry i real newbie what that i hope someone can help me:)
make the script i put the id of items just tell me where XD
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.