public void AddTarget(uint EntityUID, uint Damage, bool Hit = true, uint ActivationType = 0, uint ActivationValue = 0) { if (targets.Count > 28) { return; } spell_target target = new UseSpellPacket.spell_target(); target.EntityUID = EntityUID; target.Damage = Damage; target.Hit = Hit; target.ActivationType = ActivationType; target.ActivationValue = ActivationValue; targets.Add(target); }
public void AddTarget(uint EntityUID, uint Damage, bool Hit = true, uint ActivationType = 0, uint ActivationValue = 0) { if (targets.Count > 28) return; spell_target target = new UseSpellPacket.spell_target(); target.EntityUID = EntityUID; target.Damage = Damage; target.Hit = Hit; target.ActivationType = ActivationType; target.ActivationValue = ActivationValue; targets.Add(target); }