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

    • Added: 🎁 Seasonal Bonus System When the seasonal bonus is enabled, players receive additional bonus coins equal to bonus_season_percent of their donation amount. 💡 How it works (example): A player donates through their personal account and immediately receives regular coins. At the same time, bonus coins equal to 30% of the donation are credited. Example: Donation: 1000 coins → Bonus: 300 coins (30%) These bonus coins are not available immediately — they can be claimed later when the next season begins. 📅 When the bonus can be claimed: bonus_season_claim_start_date – the date when the "Claim" button becomes available. bonus_season_claim_end_date – the date after which the bonus can no longer be claimed. During this time window, the "Claim" button will appear in the personal account, allowing players to collect their accumulated bonus. 'bonus_season_enabled' => true, // Enable/disable the seasonal bonus system 'bonus_season_percent' => 30, // Percentage of the donation to be given as bonus coins (30 = 30%) 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Date when the Claim button becomes available in the new season   'bonus_season_enabled' => true, // Вкл./Выкл Сезонную бонусную систему? 'bonus_season_percent' => 30, // Процент, при донате получает монеты в процентах 30 = 30%, которые может использовать в следующем открытии 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Дата когда доступна кнопка Claim в новом сезоне 'bonus_season_claim_end_date' => '2025-08-15 20:00:00', // Дата окончания когда кнопка Claim в новом сезоне
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
    • you can find the extender at GX-EXT Discord! http://prntscr.com/coUwKnD4Zs_w https://l2servers.com.ar/   @GX-Ext
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock