update15 #34
@ -37,7 +37,7 @@ function RangedAttack(Actor A) {
|
|||||||
//Increment the number of consecutive shtos taken and apply the cool down if needed
|
//Increment the number of consecutive shtos taken and apply the cool down if needed
|
||||||
totalShots ++;
|
totalShots ++;
|
||||||
consecutiveShots ++;
|
consecutiveShots ++;
|
||||||
if(consecutiveShots < 3 && totalShots > maxNormalShots)
|
if(consecutiveShots < 3 && totalShots > maxNormalShots && VSize(a.location - location) <= 900)
|
||||||
NextFireProjectileTime = Level.TimeSeconds;
|
NextFireProjectileTime = Level.TimeSeconds;
|
||||||
else{
|
else{
|
||||||
NextFireProjectileTime = Level.TimeSeconds + ProjectileFireInterval + (FRand() * 2.0);
|
NextFireProjectileTime = Level.TimeSeconds + ProjectileFireInterval + (FRand() * 2.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user