Skip to content

Commit

Permalink
first version 0.9 or something
Browse files Browse the repository at this point in the history
  • Loading branch information
noHero committed Apr 26, 2014
0 parents commit 8d4b547
Show file tree
Hide file tree
Showing 29 changed files with 45,212 additions and 0 deletions.
498 changes: 498 additions & 0 deletions BasicBot.cs

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions BoardControl.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using HREngine.API;
using HREngine.API.Utilities;
using HREngine.Bots;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HREngine.Bots
{
public class BoardControli : BotBase
{
protected override API.HRCard GetMinionByPriority(HRCard lastMinion)
{
var result = HRBattle.GetNextMinionByPriority(MinionPriority.LowestHealth);
if (result != null && (lastMinion == null || lastMinion != null && lastMinion.GetEntity().GetCardId() != result.GetCardId()))
return result.GetCard();

return null;
}
}
}
Loading

0 comments on commit 8d4b547

Please sign in to comment.