Ejemplo n.º 1
0
        public virtual void ForceCombo(string name, Player player)
        {
            StandCombo tryGlobalCombo = GlobalCombos.Find(x => x.ComboName == name);

            StandCombo tryNormalCombo = NormalCombos.Find(x => x.ComboName == name);

            if (tryNormalCombo != null)
            {
                tryNormalCombo.ForceActivate(player);
                return;
            }

            if (tryGlobalCombo != null)
            {
                tryGlobalCombo.ForceActivate(player);
                return;
            }
        }