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.
Telegram Bot TOP Search Promotion | SEO Optimization for Bots |
SMMTG.PRO
We promote Telegram bots to the TOP of search results — by keywords, topics, and countries.
What’s included:
• Promotion to the TOP of Telegram search
• Bot optimization for Telegram algorithms
• Competitor analysis and keyword selection
• Testing and securing stable ranking
Delivery time:
2–3 days per bot
Pricing:
Starts from $40 per bot
(final cost depends on competition level and target country)
We work with 50+ countries:
Russia • Ukraine • USA • Israel • Uzbekistan • Turkey • China • Thailand • Europe • India
Training is also available:
Telegram bot SEO optimization
Techniques & insights for reaching TOP search positions
Real-world cases and recommendations
Contact:
Telegram — t.me/smmtg_link
Our SMM panel: SMMTG.PRO
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:
//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.
9 answers to this question
Recommended Posts