Jump to content

Recommended Posts

Posted

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

Posted

Leeroy watch your tongue.

If you want the Thread to maintain open please stick to the point, don't start a flaming thread.

Posted

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.

Posted

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.

Posted

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

Guest
This topic is now closed to further replies.



  • Posts

    • Dear players, We remind you, that on April 11 at 18:00 server time (GMT +2), the open beta test of our upcoming Chronicle 2 update will begin! To participate in open beta testing, download the client from one of the links below. Download links: Download client | Download updater
    • MoMoProxy Offers $850 for 1TB Plan. anyone interested in can view details as follow: https://momoproxy.com/residential-proxies
    • Yes there are many problems. Im trying to fix there slowly, cause i i put already a lot of work in this files. I think it will not be easy to move the project to other builds
    • You probably wanted to write l2jmobius. I would recommend that you change the build because it has a lot of problems with the movement of npcs and players. Even if you find bots you will have to correct the movement or the bots will get stuck, fly, teleport
    • Complete Server Pack + Source Files: C4 Scions Of Destiny: P656 Retail X1 L2OFF Server Pack + Source: Price: 100EUR --------------------------------------------------------------------------------------------------------------------------------------------- C4 Scions Of Destiny: P656 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR -------------------------------------------------------------------------------------------------------------------------------------------- C6 Interlude: P756 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR The same as C4 but in C6 Client  ----------------------------------------------------------------------------------------------------------------------------------------------   C6 Interlude: P746 L2Gold L2OFF Server Pack + Source: Price: 150EUR   https://imgur.com/a/pts-l2gold-interlude-p746-9kB3oA9#MbP2aJh -------------------------------------------------------------------------------------------------------------------------------------------------   C6 - Classic Interlude: P110 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 350EUR   https://imgur.com/a/pts-l2off-p110-classic-interlude-athena-x45-Z2kZxuv#YlZU9hF -------------------------------------------------------------------------------------------------------------------------------------------------   DISCORD - MMOPROMOOO TELEGRAM - MMOPROMO 
  • Topics

×
×
  • Create New...