naturalkillergr Posted August 16, 2009 Posted August 16, 2009 PLace plz xD What do you mean? i was answered your question...
Korlash Posted August 16, 2009 Posted August 16, 2009 where i place i have a bad english >_< plz place the code in incressespvp
WizZy™ Posted August 16, 2009 Author Posted August 16, 2009 where i place i have a bad english >_< plz place the code in incressespvp I said dont post if you dont know a shit of java.Just find the first IncreasePvPKills; and place it there. //end
Horus Posted August 16, 2009 Posted August 16, 2009 Leeroy watch your tongue. If you want the Thread to maintain open please stick to the point, don't start a flaming thread.
Statique Posted August 16, 2009 Posted August 16, 2009 Thanks you very much, I needed it though, thanks and again thanks, I use equal too :)
pelopincho Posted August 16, 2009 Posted August 16, 2009 leeroy, have 1 question, with this cade, u can duplicate them, tho get from 1000, 2000, 3000, etc pvps, 1 custom skill? or only can get 1 skill??
Stealth Posted August 16, 2009 Posted August 16, 2009 Nice Share as I see it and the code is clean, keep on it Leeroy.
Horus Posted August 16, 2009 Posted August 16, 2009 leeroy, have 1 question, with this cade, u can duplicate them, tho get from 1000, 2000, 3000, etc pvps, 1 custom skill? or only can get 1 skill?? Ofcourse you can duplicate it, just make sure you do it right.
WizZy™ Posted August 16, 2009 Author Posted August 16, 2009 Yeah as horus said you can.But look .. You gotta make a new configs ,but if u're bored ,you can use something like : if (getPvpKills() == 1000 && getKnownSkill(ID) == null) addSkill(SkillTable.getInstance().getInfo(ID, LVL)); right after your old one. So it has to be like : increasePvpKills(); if (getPvpKills() == Config.PVP_CUSTOM_SKILL_P && getKnownSkill(Config.PVP_CUSTOM_SKILL_ID) == null && Config.PVP_CUSTOM_SKILL) addSkill(SkillTable.getInstance().getInfo(Config.PVP_CUSTOM_SKILL_ID, Config.PVP_CUSTOM_SKILL_LV)); if (getPvpKills() == 1000 && getKnownSkill(123) == null) addSkill(SkillTable.getInstance().getInfo(123, 123)); if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL )Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName()); return; } else { // check about wars It wont give an error at all.But its not configurable ,so you gotta edit core if you wanna change it ^^ Pretty easy though.
CнαossMαsteя Posted August 19, 2009 Posted August 19, 2009 Again AWESOME work dude !!! thanks for it [TESTING]
pelopincho Posted August 23, 2009 Posted August 23, 2009 ok i will try this, mayb Yeah as horus said you can.But look .. You gotta make a new configs ,but if u're bored ,you can use something like : if (getPvpKills() == 1000 && getKnownSkill(ID) == null) addSkill(SkillTable.getInstance().getInfo(ID, LVL)); right after your old one. So it has to be like : increasePvpKills(); if (getPvpKills() == Config.PVP_CUSTOM_SKILL_P && getKnownSkill(Config.PVP_CUSTOM_SKILL_ID) == null && Config.PVP_CUSTOM_SKILL) addSkill(SkillTable.getInstance().getInfo(Config.PVP_CUSTOM_SKILL_ID, Config.PVP_CUSTOM_SKILL_LV)); if (getPvpKills() == 1000 && getKnownSkill(123) == null) addSkill(SkillTable.getInstance().getInfo(123, 123)); if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL )Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName()); return; } else { // check about wars It wont give an error at all.But its not configurable ,so you gotta edit core if you wanna change it ^^ Pretty easy though. hehe ok, i will try it :) thanks
Recommended Posts