Ejemplo n.º 1
0
        // --------------------- BASE METHODS ------------------

        // --------------------- CUSTOM METHODS ----------------
        // commands
        public override void UsePowerup()
        {
            base.UsePowerup();
            Base b = ElementManager.Instance.Base(Owner.TeamIndex);

            if (b != null)
            {
                b.AddHealth(ValuePotion);
            }
        }