L2Weapon.java
This method returns effects on associated skill. But some skill active and does not contain effects.
For example hero weapon Infinity Rod associated with skill 3598-1 "Full Recover". But this skill does not contain effects and on trigger action nothing happens.
- Code:
/**
* Returns effects of skills associated with the item to be triggered onCast.
* @param caster : L2Character pointing out the caster
* @param target : L2Character pointing out the target
* @param trigger : L2Skill pointing out the skill triggering this action
* @return L2Effect[] : array of effects generated by the skill
*/
public L2Effect[] getSkillEffects(L2Character caster, L2Character target, L2Skill trigger)
This method returns effects on associated skill. But some skill active and does not contain effects.
- Code:
<skill id="3598" levels="1" name="Full Recover">
<!-- Infinity Rod Skill -->
<set name="target" val="TARGET_SELF"/>
<set name="power" val="100"/>
<set name="skillType" val="HEAL_PERCENT"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<set name="aggroPoints" val="100"/>
<for>
</for>
</skill>
For example hero weapon Infinity Rod associated with skill 3598-1 "Full Recover". But this skill does not contain effects and on trigger action nothing happens.