Пример #1
0
    public override void Start()
    {
        base.Start();

        if (weapon != "")
        {
            equiptedWeapon = ItemDataBase.FindWeapon(weapon);
        }

        if (ability.Count != 0)
        {
            for (int i = 0; i < ability.Count; i++)
            {
                abilities.Add(ItemDataBase.FindAbility(ability[i]));
                abilityCooldown.Add(abilities[abilities.Count - 1].cooldown);
            }
        }
    }