This commit is contained in:
@@ -56,7 +56,8 @@ public class DamageCalculatorTests
|
||||
// has a double weakness to the move's Ice type
|
||||
hit.Effectiveness.Returns(4.0f);
|
||||
|
||||
var damage = damageCalculator.GetDamage(executingMove, defender, 0, hit);
|
||||
var damage = damageCalculator.GetDamage(executingMove, executingMove.UseMove.Category, executingMove.User,
|
||||
defender, executingMove.TargetCount, 0, hit);
|
||||
// That means Ice Fang will do between 168 and 196 HP damage, depending on luck.
|
||||
// Note that we are testing deterministic damage, so we expect the maximum damage.
|
||||
await Assert.That(damage).IsEqualTo((uint)196);
|
||||
|
||||
Reference in New Issue
Block a user