Thanks alla dn ekanes share ena simantiko kommati. To effect. EffectPhoenixBless.java
Auto prepei na kanei ti douleia, alla DEN TO DOKIMASA!
package net.sf.l2j.gameserver.skills.effects;
import net.sf.l2j.gameserver.model.L2Effect;
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.skills.Env;
final class EffectPhoenixBless extends L2Effect
{
public EffectPhoenixBless(Env env, EffectTemplate template)
{
super(env, template);
}
public net.sf.l2j.gameserver.model.L2Effect.EffectType getEffectType()
{
return net.sf.l2j.gameserver.model.L2Effect.EffectType.PHOENIX_BLESSING;
}
public void onStart()
{
if(getEffected() instanceof L2PlayableInstance)
((L2PlayableInstance)getEffected()).startPhoenixBlessing();
}
public void onExit()
{
if(getEffected() instanceof L2PlayableInstance)
((L2PlayableInstance)getEffected()).stopPhoenixBlessing(this);
}
public boolean onActionTime()
{
return false;
}
}