i have an old version of the wc3ft 2.3.2 which have a bug on undead skill unholy aura the speed work fine until u switch weapon then u completely loose the speed bonus till next round
Code:
new Float:fmove, Float:smove;
get_uc(uc_handle, UC_ForwardMove, fmove);
get_uc(uc_handle, UC_SideMove, smove );
new Float:maxspeed;
pev(id, pev_maxspeed, maxspeed);
new Float:walkspeed = (maxspeed * 0.52);
fmove = floatabs( fmove );
smove = floatabs( smove );
if(fmove <= walkspeed && smove <= walkspeed && !(fmove == 0.0 && smove == 0.0))
{
set_pev(id, pev_flTimeStepSound, 999);
}
}
}
any1 know how to fix this pls it will be much appreciated
Thanks