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