Adds script hooks, bug fix for empty ScriptIterator

This commit is contained in:
2024-07-28 11:46:36 +02:00
parent 74996d96b0
commit cb2b566388
5 changed files with 495 additions and 19 deletions

View File

@@ -36,6 +36,7 @@ public class DamageCalculatorTests
// a Garchomp with an effective Defense stat of 163
defender.Setup(x => x.BoostedStats).Returns(new StatisticSet<uint>(
1, 1, 163, 1, 1, 1));
defender.Setup(x => x.GetScripts()).Returns(new ScriptIterator([]));
var useMove = new Mock<IMoveData>();
// Ice Fang (an Ice-type physical move with a power of 65)