Hi, I came up with a concept which allows the cooldown reset of a certain skill when someone kills a player in pvp. Here is what I tried so far but it doesn't seem to do anything at all:
//Reset skill cooldown on pvp
for (Skill skill : getAllSkills())
{
if (skill.getId() == 821) //Currently Shadow Step
{
enableSkill(skill);
}
}
P.S I added it inside IncreasePvpKills() method in L2PcInstance class. Any suggestions to make it functional? Thank you.
Question
Meydex
Hi,
I came up with a concept which allows the cooldown reset of a certain skill when someone kills a player in pvp.
Here is what I tried so far but it doesn't seem to do anything at all:
P.S I added it inside IncreasePvpKills() method in L2PcInstance class.
Any suggestions to make it functional?
Thank you.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts