Author: ATracer
(2010/03/13 12:51) Almost 2 years ago
should fix player going underground using stagger effect
21
import javax.xml.bind.annotation.XmlType;
22
23
import com.aionemu.gameserver.model.gameobjects.Creature;
24
import com.aionemu.gameserver.network.aion.serverpackets.SM_FORCED_MOVE;
import com.aionemu.gameserver.skillengine.model.Effect;
25
import com.aionemu.gameserver.skillengine.model.SpellStatus;
26
27
import com.aionemu.gameserver.utils.PacketSendUtility;
28
/**
29
* @author ATracer
30
...
51
{
53
52
final Creature effected = effect.getEffected();
54
effected.getEffectController().setAbnormal(EffectId.OPENAERIAL.getEffectId());
55
56
PacketSendUtility.broadcastPacketAndReceive(effect.getEffected(), new SM_FORCED_MOVE(effect.getEffector(), effect.getEffected()));
}
57
58
@Override
59
20
import javax.xml.bind.annotation.XmlAccessorType;
49
public void startEffect(Effect effect)
50
effect.getEffected().getEffectController().setAbnormal(EffectId.STAGGER.getEffectId());
{{{{