class NiceSkillEnforcerBruteA extends NiceSkill
   abstract;

var string abilityID;
var float coolDown;
var float abilityDuration;
var float damageMult;
var float maximumDamageAdded;

function static SkillSelected(NicePlayerController nicePlayer)
{
    local NiceAbilityManager.NiceAbilityDescription carnage;

    if(nicePlayer == none)                  return;
    if(nicePlayer.abilityManager == none)   return;

    carnage.ID   = default.abilityID;
    carnage.icon = Texture'NicePackT.HudCounter.demo';
    carnage.cooldownLength = default.cooldown;
    carnage.canBeCancelled = false;
    nicePlayer.abilityManager.AddAbility(carnage);
}
function static SkillDeSelected(NicePlayerController nicePlayer)
{
    if(nicePlayer == none)                  return;
    if(nicePlayer.abilityManager == none)   return;

    nicePlayer.abilityManager.RemoveAbility(default.abilityID);
}

defaultproperties
{
    maximumDamageAdded=10000
    abilityID="brute"
    cooldown=60.000000
    abilityDuration=5.0
    damageMult=4.0
    SkillName="Brute"
    SkillEffects="Temporarily lose ability to do headshots in exchange for quad damage."
}
