More tests, more fixes
Build / Build (push) Successful in 1m57s

This commit is contained in:
Deukhoofd committed 2026-07-05 18:26:55 +02:00
1 parent 1ab15110f5
commit 6a82c20cf2
20 files changed
+1682 -12

No files matched your search

@@ -13,12 +13,12 @@ public class GhostCurseEffect : Script, IScriptOnEndTurn, IAIInfoScriptExpectedE
/// <inheritdoc />
public void OnEndTurn(IScriptSource owner, IBattle battle)
{
_pokemon.Damage(_pokemon.CurrentHealth / 4, DamageSource.Misc);
_pokemon.Damage(_pokemon.MaxHealth / 4, DamageSource.Misc);
}
/// <inheritdoc />
public void ExpectedEndOfTurnDamage(IPokemon pokemon, ref int damage)
{
damage += (int)(_pokemon.CurrentHealth / 4f);
damage += (int)(_pokemon.MaxHealth / 4f);
}
}