Exemplo n.º 1
0
        internal void AddSpecialAttack(string name, int id, string description, float baseDamage, int manaCost, float attributeModificator, StatusEffect effect, Enum target, Enum modificator, Enum type, Enum requiredWeapon, int numberOfHits = 1)
        {
            Skills specialAttack = new Skills()
            {
                Name                 = name,
                ID                   = id,
                Description          = description,
                BaseDamage           = baseDamage,
                ManaCost             = manaCost,
                AttributeModificator = attributeModificator,
                NumberOfHits         = numberOfHits,
                Effect               = effect,
                AffectedTarger       = target,
                Modificator          = modificator,
                Type                 = type,
                RequiredWeapon       = requiredWeapon,
            };

            allSpecialAttacks.Add(specialAttack);
        }