its not so hard just take that line
// If heroConsecutiveKillCount > 4 (5+ kills) give hero aura
if(heroConsecutiveKillCount > 4)
setHeroAura(true);
and make it like
// If heroConsecutiveKillCount > 20 (21+ kills) give hero aura
if(heroConsecutiveKillCount > 20)
this.getPlayer().addSkill(SkillTable.getInstance().getInfo(skillId, skillLvl), false);
and if you want to remove the skill search for that
// Remove kill count for special hero aura if total pvp < 100
heroConsecutiveKillCount = 0;
if (!isPermaHero)
{
setHeroAura(false);
sendPacket(new UserInfo(this));
}
and make it like
// Remove kill count for special hero aura if total pvp < 100
heroConsecutiveKillCount = 0;
if (!isPermaHero)
{
setHeroAura(false);
this.getPlayer().removeSkill(SkillTable.getInstance().getInfo(skillId, skillLvl), false);
sendPacket(new UserInfo(this));
}
with that a character receive a custom skill after 20 row kill and its easier to add the stat via a skill than via java because in java its damn hard