Nightw0lf Posted January 10, 2012 Posted January 10, 2012 for(L2Skill skill : player.getAllSkills()) { player.removeSkill(skill); } auto pou lete osoi kseroun aferei ola ta skill apo ton char egw thelw na ta aferei ola alla na afinei ena sigekrimeno id px 12345 mporei kapios na me voithisei na to pragmatopiisw auto?? :) euxaristw prokatavolika Quote
0 J0ck3r Posted January 13, 2012 Posted January 13, 2012 NOT TESTED for(L2Skill skill : player.getAllSkills()) { player.removeSkill(skill); player.addSkill(12345, true); } Quote
0 Malzahax Posted January 13, 2012 Posted January 13, 2012 NOT TESTED for(L2Skill skill : player.getAllSkills()) { player.removeSkill(skill); player.addSkill(12345, true); } afairei k ksanavazei ayto t code... player.getskillinfo tha protimousa apo t addskill Quote
0 An4rchy Posted January 13, 2012 Posted January 13, 2012 for(L2Skill skill : player.getAllSkills()) { if (skill.getId() != 12345) { player.removeSkill(skill); } } Quote
0 J0ck3r Posted January 13, 2012 Posted January 13, 2012 μπορει να γινει με διαφορους τροπους. Ο πιο λογικος δεν ειναι παντα ο πιο σωστος. φαντασου οταν ο server κανει return ενα ενα τα skills να ελεγχει καθε φορα αν το skill αυτο ειναι αυτο που ζητας. Θα ειναι πιο χρονοβορο. Quote
Question
Nightw0lf
for(L2Skill skill : player.getAllSkills())
{
player.removeSkill(skill);
}
auto pou lete osoi kseroun aferei ola ta skill apo ton char
egw thelw na ta aferei ola alla na afinei ena sigekrimeno id px 12345
mporei kapios na me voithisei na to pragmatopiisw auto?? :)
euxaristw prokatavolika
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.
Note: Your post will require moderator approval before it will be visible.