package l2p.gameserver.skills.effects;
import l2p.gameserver.model.L2Effect;
import l2p.gameserver.serverpackets.FinishRotating;
import l2p.gameserver.serverpackets.StartRotating;
import l2p.gameserver.serverpackets.SystemMessage;
import l2p.gameserver.skills.Env;
public class EffectBluff extends L2Effect
{
public EffectBluff(Env env, EffectTemplate template)
{
super(env, template);
}
@Override
public void onStart()
{
super.onStart();
getEffected().broadcastPacket(new StartRotating(getEffected(), getEffected().getHeading(), 1, 65535));
getEffected().broadcastPacket(new FinishRotating(getEffected(), getEffector().getHeading(), 65535));
getEffected().setHeading(getEffector().getHeading());
}
@Override
public boolean onActionTime()
{
return false;
}
}