Changeset 1504

User picture

Author: ATracer

(2010/03/12 21:02) Almost 2 years ago

[Skill engine] Slow effect implemented (work only in PVP) - Dazing Severe Blow, Hallowed Strike, Shackle of Vulnerability, Root of Enervation

Affected files

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

15031504
28
 */
28
 */
29
@XmlAccessorType(XmlAccessType.FIELD)
29
@XmlAccessorType(XmlAccessType.FIELD)
30
@XmlType(name = "SlowEffect")
30
@XmlType(name = "SlowEffect")
31
public class SlowEffect extends EffectTemplate
31
public class SlowEffect extends BufEffect
32
{
32
{
33
33
34
	@Override
34
	@Override
35
	public void applyEffect(Effect effect)
35
	public void applyEffect(Effect effect)
36
	{
36
	{
37
		// TODO Auto-generated method stub
37
		effect.addToEffectedController();
38
39
	}
38
	}
40
39
41
	@Override
40
	@Override
...
...
44
		effect.increaseSuccessEffect();	
43
		effect.increaseSuccessEffect();	
45
	}
44
	}
46
45
46
	@Override
47
	public void startEffect(Effect effect)
48
	{
49
		super.startEffect(effect);
50
		effect.getEffected().getEffectController().setAbnormal(EffectId.SLOW.getEffectId());
51
	}
52
	
53
	@Override
54
	public void endEffect(Effect effect)
55
	{
56
		super.endEffect(effect);
57
		effect.getEffected().getEffectController().unsetAbnormal(EffectId.SLOW.getEffectId());
58
	}
47
}
59
}

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

15031504
56
		super.startEffect(effect);
56
		super.startEffect(effect);
57
		effect.getEffected().getEffectController().setAbnormal(EffectId.SNARE.getEffectId());
57
		effect.getEffected().getEffectController().setAbnormal(EffectId.SNARE.getEffectId());
58
	}
58
	}
59
	
60
	
61
62
}
59
}