/// <summary> /// Removes support for a minion so that they do not acquire Options. /// </summary> /// <param name="masterName">The CharacterMaster name of the minion.</param> /// <returns>True if the minion is not supported anymore. False if it is already unsupported.</returns> public bool UnsupportMinionType(string masterName) { return(MinionsList.ConditionalRemove(masterName)); }
/// <summary> /// Adds a support for a minion for them to gain Options. /// </summary> /// <param name="masterName">The CharacterMaster name of the minion.</param> /// <returns>True if the minion is supported. False if it is already supported.</returns> public bool SupportMinionType(string masterName) { return(MinionsList.ConditionalAdd(masterName, item => item == masterName)); }