mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Allow Zombies to jog on Round 2
This commit is contained in:
parent
e8015e44d9
commit
dc4cbbb410
1 changed files with 2 additions and 2 deletions
|
@ -1589,13 +1589,13 @@ void(entity szombie) SetUpHitBoxes =
|
|||
|
||||
void(entity szombie) SetZombieWalk =
|
||||
{
|
||||
local float walk1Percent,walk2Percent,walk3Percent,jogPercent;
|
||||
float walk1Percent, walk2Percent, walk3Percent, jogPercent;
|
||||
|
||||
walk1Percent = walk2Percent = walk3Percent = ((rounds < 3) ? 1 : 0);//1/x denotes walk types
|
||||
walk1Percent += ((rounds >= 3 && rounds <= 7) ? (((-0.5 * rounds)/3) + 1.2) : 0);
|
||||
walk2Percent = walk3Percent = walk1Percent;
|
||||
|
||||
jogPercent = walk1Percent + ((rounds >= 3 && rounds < 6) ? (((0.5*rounds)/3) - 0.2) : 0);
|
||||
jogPercent = walk1Percent + ((rounds >= 2 && rounds < 6) ? (((0.5*rounds)/3) - 0.2) : 0);
|
||||
jogPercent += ((rounds >= 6 && rounds <= 10) ? (0.6 + ((rounds - 7) / (-5))) : 0);
|
||||
|
||||
//Dividing up the walks
|
||||
|
|
Loading…
Reference in a new issue