Changeset 1510

User picture

Author: ATracer

(2010/03/13 12:51) Almost 2 years ago

should fix player going underground using stagger effect

Affected files

Updated trunk/AE-go_GameServer/src/com/aionemu/gameserver/skillengine/effect/OpenAerialEffect.java Download diff

15091510
21
import javax.xml.bind.annotation.XmlType;
21
import javax.xml.bind.annotation.XmlType;
22
22
23
import com.aionemu.gameserver.model.gameobjects.Creature;
23
import com.aionemu.gameserver.model.gameobjects.Creature;
24
import com.aionemu.gameserver.network.aion.serverpackets.SM_FORCED_MOVE;
24
import com.aionemu.gameserver.skillengine.model.Effect;
25
import com.aionemu.gameserver.skillengine.model.Effect;
25
import com.aionemu.gameserver.skillengine.model.SpellStatus;
26
import com.aionemu.gameserver.skillengine.model.SpellStatus;
27
import com.aionemu.gameserver.utils.PacketSendUtility;
26
28
27
/**
29
/**
28
 * @author ATracer
30
 * @author ATracer
...
...
51
	{
53
	{
52
		final Creature effected = effect.getEffected();
54
		final Creature effected = effect.getEffected();
53
		effected.getEffectController().setAbnormal(EffectId.OPENAERIAL.getEffectId());
55
		effected.getEffectController().setAbnormal(EffectId.OPENAERIAL.getEffectId());
56
		PacketSendUtility.broadcastPacketAndReceive(effect.getEffected(), new SM_FORCED_MOVE(effect.getEffector(), effect.getEffected()));
54
	}
57
	}
55
	
58
	
56
	@Override
59
	@Override

Updated trunk/AE-go_GameServer/src/com/aionemu/gameserver/skillengine/effect/StaggerEffect.java Download diff

15091510
20
import javax.xml.bind.annotation.XmlAccessorType;
20
import javax.xml.bind.annotation.XmlAccessorType;
21
import javax.xml.bind.annotation.XmlType;
21
import javax.xml.bind.annotation.XmlType;
22
22
23
import com.aionemu.gameserver.network.aion.serverpackets.SM_FORCED_MOVE;
23
import com.aionemu.gameserver.skillengine.model.Effect;
24
import com.aionemu.gameserver.skillengine.model.Effect;
24
import com.aionemu.gameserver.skillengine.model.SpellStatus;
25
import com.aionemu.gameserver.skillengine.model.SpellStatus;
26
import com.aionemu.gameserver.utils.PacketSendUtility;
25
27
26
/**
28
/**
27
 * @author ATracer
29
 * @author ATracer
...
...
49
	public void startEffect(Effect effect)
51
	public void startEffect(Effect effect)
50
	{
52
	{
51
		effect.getEffected().getEffectController().setAbnormal(EffectId.STAGGER.getEffectId());
53
		effect.getEffected().getEffectController().setAbnormal(EffectId.STAGGER.getEffectId());
54
		PacketSendUtility.broadcastPacketAndReceive(effect.getEffected(), new SM_FORCED_MOVE(effect.getEffector(), effect.getEffected()));
52
	}
55
	}
53
	
56
	
54
	@Override
57
	@Override