Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }