public override void SendDone() { if (Target != null) { Ab.SendAbilityDone(Target.Oid); } }
public override void Cast() { if (Target == null) { return; } Log.Info("DealDamage", "Cast"); uint Damage = GetAbilityDamage(); Ab.SendStartCasting(Target.Oid); Ab.SendSpellDamage(Target.Oid, Damage); Ab.Caster.GetUnit().SendAttackState(Target, (ushort)Damage, (ushort)Damage, Ab.Info); Ab.Caster.GetUnit().DealDamage(Target, (int)Damage, 0, 0); Ab.SendAbilityDone(Target.Oid); }
public override void SendDone() { Ab.SendAbilityDone(Ab.Caster.Oid); }
public override void SendDone() { Ab.SendAbilityDone(0); }