**/
float turret_fusionreactor_firecheck()
{
- if (self.attack_finished_single > time)
+ if (self.attack_finished_single > time)
return 0;
if (self.enemy.deadflag != DEAD_NO)
if (self.enemy.ammo >= self.enemy.ammo_max)
return 0;
-
+
if (vlen(self.enemy.origin - self.origin) > self.target_range)
- return 0;
-
+ return 0;
+
if(self.team != self.enemy.team)
return 0;
-
+
if (!(self.enemy.ammo_flags & TFL_AMMO_ENERGY))
- return 0;
-
+ return 0;
+
return 1;
}