public FunnymanBot(BotArgs args, Controller <FunnymanBot> controller) : base(args) { if (controller != null) { m_controller = controller; m_controller.Actor = this; } }
public KingpinBot(BotArgs args, Controller <KingpinBot> controller) : base(args) { if (controller != null) { m_controller = controller; m_controller.Actor = this; } }
public EngineerBot(BotArgs args, EngineerBot_Controller controller) : base(args) { UpdateDelay = 0; if (controller != null) { m_controller = controller; m_controller.Actor = this; } }
public MechaBot(BotArgs args, MechaBot_Controller controller) : base(args) { UpdateDelay = 0; m_state = MechaState.Normal; if (controller != null) { m_controller = controller; m_controller.Actor = this; } }
public CowboyBot(BotArgs args) : base(args) { if (Info.IsBoss) { DisarmChance = .35f; CritDisarmChance = .65f; DestroyWeaponWhenDisarmChance = .15f; DestroyWeaponWhenCritDisarmChance = .35f; } else { DisarmChance = .15f; CritDisarmChance = .15f; DestroyWeaponWhenDisarmChance = 0f; DestroyWeaponWhenCritDisarmChance = .01f; } }
public static Bot Create(IPlayer player, BotType botType, BotFaction faction) { Bot bot = null; var args = new BotArgs { Player = player, BotType = botType, BotFaction = faction, Info = GetInfo(botType), }; switch (botType) { case BotType.Balista: bot = new BalistaBot(args); break; case BotType.Balloonatic: bot = new BalloonaticBot(args); break; case BotType.Boffin: bot = new BoffinBot(args); break; case BotType.Cindy: bot = new CindyBot(args); break; case BotType.Cowboy: case BotType.ClownCowboy: bot = new CowboyBot(args); break; case BotType.Cyborg: bot = new CyborgBot(args); break; case BotType.Engineer: bot = new EngineerBot(args, player.IsBot ? new EngineerBot_Controller() : null); break; case BotType.Funnyman: bot = new FunnymanBot(args, player.IsBot ? new FunnymanBot_Controller() : null); break; case BotType.Hacker: bot = new HackerBot(args); break; case BotType.Hunter: bot = new HunterBot(args); break; case BotType.Incinerator: bot = new IncineratorBot(args); break; case BotType.Kingpin: bot = new KingpinBot(args, player.IsBot ? new KingpinBot_Controller() : null); break; case BotType.Kriegbar: bot = new KriegbärBot(args, player.IsBot ? new KriegbarBot_Controller() : null); break; case BotType.Mecha: bot = new MechaBot(args, player.IsBot ? new MechaBot_Controller() : null); break; case BotType.MirrorMan: bot = new MirrorManBot(args); break; case BotType.PoliceChief: bot = new PoliceChiefBot(args); break; case BotType.Sheriff: bot = new SheriffBot(args); break; case BotType.Smoker: bot = new SmokerBot(args); break; case BotType.SurvivorBiker: case BotType.SurvivorCrazy: case BotType.SurvivorNaked: case BotType.SurvivorRifleman: case BotType.SurvivorRobber: case BotType.SurvivorTough: bot = new SurvivorBot(args); break; case BotType.Stripper: bot = new StripperBot(args); break; case BotType.Teddybear: bot = new TeddybearBot(args); break; case BotType.Babybear: bot = new BabybearBot(args); break; case BotType.ZombieFat: bot = new ZombieFatBot(args); break; case BotType.ZombieFlamer: bot = new ZombieFlamerBot(args); break; default: bot = new Bot(args); break; } return(bot); }
public SmokerBot(BotArgs args) : base(args) { }
public BoffinBot(BotArgs args) : base(args) { m_currentPowerup = GetWeapons(Type).First().PrimaryPowerup; }
public MirrorManBot(BotArgs args) : base(args) { }
public TeddybearBot(BotArgs args) : base(args) { IsEnraged = false; }
public Bot(BotArgs args) : this(args.Player) { Type = args.BotType; Faction = args.BotFaction; Info = args.Info; }
public CindyBot(BotArgs args) : base(args) { }
public ZombieFatBot(BotArgs args) : base(args) { }
public BabybearBot(BotArgs args) : base(args) { }
public PoliceChiefBot(BotArgs args) : base(args) { }
public CyborgBot(BotArgs args) : base(args) { }
public ZombieFlamerBot(BotArgs args) : base(args) { }
public SheriffBot(BotArgs args) : base(args) { }
public HunterBot(BotArgs args) : base(args) { }
public SurvivorBot(BotArgs args) : base(args) { }
public BalistaBot(BotArgs args) : base(args) { }
public IncineratorBot(BotArgs args) : base(args) { }
public StripperBot(BotArgs args) : base(args) { BouncerCheckTime = RandomHelper.Between(800, 1200); }
public RobotBot(BotArgs args) : base(args) { }
public BalloonaticBot(BotArgs args) : base(args) { }