*L2PcIstance.java
Hello there , i got inspired for that by L2Core (old faction) where u had an amount of PvPs you could gain hero status .. so here its the code..
(currently the amount of pvp's you need to have is seted to 5000 , but can simple change it)
Tested on L2J Archid
find this
public void increasePvpKills()
and change it like this
public void increasePvpKills(L2PcInstance activeChar)
And then paste this
if (activeChar.getPvpKills() >= 5000)
{
activeChar.sendMessage ("Congratz , you are now a hero ");
activeChar.setHero(true);
}
down of this
{
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
Credits goes to Revenger for www.maxcheaters.com