- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Saxantes
Hi, i have problem with this code:
public boolean onActionTime() { L2Character effected = getEffected(); if (getSkill().getSkillType() != L2SkillType.HEAL) return false; if (getEffected().isDead()) return false;This is code from effects.
This line: if (getSkill().getSkillType() != L2SkillType.HEAL) , should stop effect if skill is different than HEAL skill, but it doesnt :x .
What should i do if i want to stop current effect if player use any type of skill or he attack someone else or he get dmg ?
Where should i search this commands in which java files?
9 answers to this question
Recommended Posts