Beispiel #1
0
        private void RemoveTankBuster(TankBuster spell)
        {
            if (spell == null)
            {
                return;
            }

            Logger.KefkaLog(@"Removing {0} from the Tankbuster List.", spell.SpellName);

            if (GuiTankBustersList.All(r => r.SpellId != spell.SpellId))
            {
                return;
            }

            var tankBuster = GuiTankBustersList.FirstOrDefault(r => r.SpellId == spell.SpellId);

            GuiTankBustersList.Remove(tankBuster);
            Save();
        }