Update PkmnLib to new functionality with capture mechanics
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-03-26 16:46:07 +01:00
parent cb3d3c74a1
commit 36b39ba3c4
28 changed files with 220 additions and 39 deletions

View File

@@ -24,7 +24,7 @@ namespace PkmnLibSharpTests.Battling
TestContext.WriteLine("Building battle library");
var scriptLibrary = new AngelScriptResolver();
_cache = new BattleLibrary(BuildStatic(), new StatCalculator(), new DamageLibrary(),
new ExperienceLibrary(), scriptLibrary, new MiscLibrary(GetTime));
new ExperienceLibrary(), scriptLibrary, new MiscLibrary(GetTime), new CaptureLibrary());
scriptLibrary.Initialize(_cache);
return _cache;
}