Even more abilities

This commit is contained in:
2025-06-09 14:23:51 +02:00
parent 97868ab4c6
commit 074f92bfc0
31 changed files with 319 additions and 51 deletions

View File

@@ -23,7 +23,7 @@ public class ProxyScript : Script
/// <inheritdoc />
public override void ChangeOffensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint defensiveStat,
ImmutableStatisticSet<uint> targetStats, ref uint value)
ImmutableStatisticSet<uint> targetStats, Statistic stat, ref uint value)
{
foreach (var (script, handler) in _changeOffensiveStatValueEvents)
{

View File

@@ -344,7 +344,7 @@ public abstract class Script : IDeepCloneable
/// This function allows a script to change the actual offensive stat values used when calculating damage
/// </summary>
public virtual void ChangeOffensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint defensiveStat,
ImmutableStatisticSet<uint> targetStats, ref uint value)
ImmutableStatisticSet<uint> targetStats, Statistic stat, ref uint value)
{
}
@@ -352,7 +352,7 @@ public abstract class Script : IDeepCloneable
/// This function allows a script to change the actual defensive stat values used when calculating damage.
/// </summary>
public virtual void ChangeDefensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint offensiveStat,
ImmutableStatisticSet<uint> targetStats, ref uint value)
ImmutableStatisticSet<uint> targetStats, Statistic stat, ref uint value)
{
}