Yes it's possible, for TF2 Im sure, but for CS I'm not sure if it is the same. You will need to increase Attack Speed.
Then main part of this that you will need for your race is setting the attack speed: fAttackSpeed
Put this near the very top of your programming:
new Float:forclustfulpower[5]={1.0,1.05,1.10,1.15,1.20};
Insert this part after your OnWar3LoadRaceOrItemOrdered:
Also you will need to replace SKILL_LUSTFUL_POWER with your own skill name.
public OnRaceChanged(client,oldrace,newrace)
{
if(newrace!=thisRaceID)
{
War3_SetBuff(client,fAttackSpeed,thisRaceID,1.0);
}
else if(War3_GetRace(client)==thisRaceID)
{
ActivateSkills(client);
}
}
public ActivateSkills(client)
{
// lustful power
new skill_lustful_power=War3_GetSkillLevel(client,thisRaceID,SKILL_LUSTFUL_POWER);
new Float:orclustfulpower=forclustfulpower[skill_lustful_power];
War3_SetBuff(client,fAttackSpeed,thisRaceID,orclustfulpower);
}
Part of this code is from my OrcishForce Race.