NicePack/sources/Perks/Sharpshooter/Skills/NiceSkillSharpshooterGunslingerA.uc
Anton Tarasenko 12d95e387e Revert weapon conversion
This patch reverts first step of global weapon conversion
that would have halted the release of the next version for too long.
2020-04-17 23:06:41 +07:00

33 lines
1.1 KiB
Ucode

class NiceSkillSharpshooterGunslingerA extends NiceSkillAbility
abstract;
var string abilityID;
var float cooldown, duration;
var float reloadMult, movementMult, fireRateMult;
function static SkillSelected(NicePlayerController nicePlayer){
local NiceAbilityManager.NiceAbilityDescription reaper;
if(nicePlayer == none) return;
if(nicePlayer.abilityManager == none) return;
reaper.ID = default.abilityID;
reaper.icon = Texture'NicePackT.HudCounter.playful';
reaper.cooldownLength = default.cooldown;
reaper.canBeCancelled = false;
nicePlayer.abilityManager.AddAbility(reaper);
}
function static SkillDeSelected(NicePlayerController nicePlayer){
if(nicePlayer == none) return;
if(nicePlayer.abilityManager == none) return;
nicePlayer.abilityManager.RemoveAbility(default.abilityID);
}
defaultproperties
{
abilityID="Gunslinger"
cooldown=80.000000
Duration=15.000000
reloadMult=1.500000
movementMult=1.250000
fireRateMult=1.300000
SkillName="Gunslinger"
SkillEffects="Reload, fire and move faster. All with no recoil."
}