Esempio n. 1
0
 @Override
 public void startEffect(Effect effect) {
   final Creature effected = effect.getEffected();
   effected.getController().cancelCurrentSkill();
   effect.setAbnormal(EffectId.STAGGER.getEffectId());
   effect.getEffected().getEffectController().setAbnormal(EffectId.STAGGER.getEffectId());
   PacketSendUtility.broadcastPacketAndReceive(
       effect.getEffected(), new SM_FORCED_MOVE(effect.getEffector(), effect.getEffected()));
 }
Esempio n. 2
0
 @Override
 public void endEffect(Effect effect) {
   effect.getEffected().getEffectController().unsetAbnormal(EffectId.STAGGER.getEffectId());
 }