This commit is contained in:
@@ -6,7 +6,7 @@ public class FalseSwipe : Script, IScriptChangeMoveDamage
|
||||
/// <inheritdoc />
|
||||
public void ChangeMoveDamage(IExecutingMove move, IPokemon target, byte hit, ref uint damage)
|
||||
{
|
||||
if (target.CurrentHealth - damage < 1)
|
||||
if ((int)target.CurrentHealth - damage < 1)
|
||||
{
|
||||
damage = target.CurrentHealth - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user