namespace PBDOBot.Api.Task
{
public class AegisHitpoints : ITaskScript
{
public AegisHitpoints() : base("AegisHitpoints", 1000, 10)
{
}
public override int Run()
{
namespace PBDOBot.Api.Task
{
public class AegisHitpoints : ITaskScript
{
public AegisHitpoints() : base("AegisHitpoints", 1000, 10)
{
}
public override int Run()
{
public override bool NeedRun()
{
return true;
}
}
}
Hey, thank you soooo much, but I can't implent it to my task Cna you help me out with this?
my task:
Code:
using System.Threading;
using System.Collections.Generic;
using PBDOBot.Helper;
using PBDOBot.Api;
using PBDOBot.Api.Task;
namespace Tasks
{
public class Task : BBaseTask
{
/* ****************************************************
Created with Taskcreator by Dr. Moc
**************************************************** */
public override void OnReset()
{
Enums.ResourceType[] protectedCollection = new Enums.ResourceType[] {
Enums.ResourceType.ore_prometid,
Enums.ResourceType.ore_promerium,
};
this.ProtectResourcesList.AddRange(protectedCollection);
Dictionary<string, Enums.ResourceType> boostCollection = new Dictionary<string, Enums.ResourceType>();
//boostCollection.Add("Speed", Enums.ResourceType.ore_promerium);
//boostCollection.Add("Shield", Enums.ResourceType.ore_seprom);
boostCollection.Add("Lasers", Enums.ResourceType.ore_prometid);
boostCollection.Add("Rockets", Enums.ResourceType.ore_promerium);
this.BoostDictionary = boostCollection;
}
public override void ChooseLogic()
{
if (!ActionList.Contains("PBDO-Bot Task"))
{
BMain.WriteLog("Task created with Taskcreator by Dr. Moc");
Reset();
TaskMap = "x-7";
AttackNpcs = true;
BMain.WriteLog("We will attack aliens");
AttackBossNpcs = true;
BMain.WriteLog("We will attack boss aliens");
HuntNpcsList.Add(BMain.Npc.Kristallin);
HuntNpcsList.Add(BMain.Npc.Kristallon);
HuntNpcsList.Add(BMain.Npc.BossKristallin);
AttackTaggedNpcs = false;
Repair = true;
MinDurability = 50;
BMain.WriteLog("We will repair if hitpoint are lower then 60%");
StandardConfiguration = 1;
FleeOnEnemyInRadius = true;
BMain.WriteLog("We will flee from enemies");
FleeOnAttacked = true;
BMain.WriteLog("We will flee if we get attacked");
SwitchConfigWhileFleeing = true;
BMain.WriteLog("We will switch confi while fleeing");
DroneFormation = Enums.DroneFormation.Diamond;
BMain.WriteLog("We will use drone formation Diamond");
Sell = true;
Refine = true;
BMain.WriteLog("We will refine ressources");
RefinePromerium = false;
CollectBonusBoxes = true;
BMain.WriteLog("We will collect bonusboxes");
SafeBotting = false;
ExtremeBotting = true;
LaserAmmoType = Enums.LaserAmmoType.LCB_10;
RocketAmmoType = Enums.RocketAmmoType.PLT_2026;
RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10;
Restock = true;
BMain.WriteLog("We will restock ammo");
UsePet = true;
PetMode = Enums.PetMode.Kamikaze_Detonator;
BMain.WriteLog("We will use PET in Kamikaze_Detonator mode");
PetMinDurability = 1;
RepairPetWhenDead = true;
ActionList.Add("PBDO-Bot Task");
}
}
}
}
and thank you again for your time and help, have a good day!
Task PBDO-Bot 04/14/2013 - DarkOrbit - 6 Replies Hello everyone,
someone can create a task for PDBO-Bot?
Here is the description of the task:
Map: Portal Group (in the x-3)
Must destroy all the aliens
Ammunition: x1
Missiles: PLT-2026
Launch missiles: Eco-10
P.E.T: Activated in attack mode
Whoever this task I will love him forever! xD
PBDO bot task 09/25/2012 - DarkOrbit - 3 Replies PBDO have to task your bot GG b
Task PBDO 09/11/2012 - DarkOrbit - 4 Replies Hi!
Can anyone tell me where I can find a task to kill cubicon in PBDO I find none in x6.
I need Task for PBDO 08/14/2012 - DarkOrbit - 5 Replies I need task for pbdo bot,
4-1 collect boxes, with pet auto loot , I can't do it myself bcs there's an error.
help :)
pbdo task 08/12/2012 - DarkOrbit - 6 Replies can you pls give me the direct link for some tasks for pbdo ( on their forum maby ) i know about the task creator . i cant find any task , thx .