Пример #1
0
 public override bool IsInvalid(MySmallShipBot bot)
 {
     return(base.IsInvalid(bot) || Entity == null || bot.IsLeaderLost() || bot.IsSpoiledHologram(Entity));
 }
 public override bool IsInvalid(MySmallShipBot bot)
 {
     return(invalid || DamageSource.IsDead() || bot.IsLeaderLost() || bot.IsSpoiledHologram(DamageSource) || MyFactions.GetFactionsRelation(bot, DamageSource) != MyFactionRelationEnum.Enemy || !DamageSource.Activated);
 }
 public override bool IsInvalid(MySmallShipBot bot)
 {
     return invalid || DamageSource.IsDead() || bot.IsLeaderLost() || bot.IsSpoiledHologram(DamageSource) || MyFactions.GetFactionsRelation(bot, DamageSource) != MyFactionRelationEnum.Enemy || !DamageSource.Activated;
 }
Пример #4
0
 public override bool IsInvalid(MySmallShipBot bot)
 {
     return(base.IsInvalid(bot) || invalid || Enemy.IsDead() || bot.IsLeaderLost() || bot.IsSpoiledHologram(Enemy) || MyFactions.GetFactionsRelation(bot, Enemy) != MyFactionRelationEnum.Enemy || !Enemy.Activated || Enemy.AIPriority == -1);
 }
Пример #5
0
 public override bool IsInvalid(MySmallShipBot bot)
 {
     return base.IsInvalid(bot) || Entity == null || bot.IsLeaderLost() || bot.IsSpoiledHologram(Entity);
 }