Priority tests
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2019-10-31 13:03:41 +01:00
parent 42c1623985
commit 7da87956cf
2 changed files with 82 additions and 0 deletions

View File

@@ -20,6 +20,14 @@ static SpeciesLibrary* BuildSpeciesLibrary(){
static AttackLibrary* BuildAttackLibrary(){
auto l = new AttackLibrary();
l->LoadAttack("standard", new AttackData("standard", "normal", AttackCategory::Physical,
20, 100, 30, AttackTarget::AdjacentOpponent,0, {}));
l->LoadAttack("highPriority", new AttackData("highPriority", "normal", AttackCategory::Physical,
20, 100, 30, AttackTarget::AdjacentOpponent,1, {}));
l->LoadAttack("higherPriority", new AttackData("higherPriority", "normal", AttackCategory::Physical,
20, 100, 30, AttackTarget::AdjacentOpponent,2, {}));
l->LoadAttack("lowPriority", new AttackData("lowPriority", "normal", AttackCategory::Physical,
20, 100, 30, AttackTarget::AdjacentOpponent,-1, {}));
return l;
}