protected Ability(Unit unit, string name, string description, AbilityActivationType activationType, int levels) { Unit = unit; Name = name; Description = description; ActivationType = activationType; Levels = levels; Level = 0; }
/// <summary> /// Assigns an activation type on the active ability we're building. /// Calling this more than once will replace the previous activation type. /// </summary> /// <param name="activationType">The activation type to set.</param> /// <returns>An ability builder with the configured options</returns> public AbilityBuilder UsesActivationType(AbilityActivationType activationType) { _activeAbility.ActivationType = activationType; return(this); }