Surprisingly, more moves

This commit is contained in:
Deukhoofd committed 2025-04-17 17:51:42 +02:00
1 parent d02c05874b
commit c22ad1a793
17 files changed
+298 -43

No files matched your search

+6 -2
View File
@@ -312,7 +312,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,
ref uint value)
ImmutableStatisticSet<uint> targetStats, ref uint value)
{
}
@@ -320,7 +320,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,
ref uint value)
ImmutableStatisticSet<uint> targetStats, ref uint value)
{
}
@@ -610,4 +610,8 @@ public abstract class Script : IDeepCloneable
public virtual void ChangeCategory(IExecutingMove move, IPokemon target, byte hitIndex, ref MoveCategory category)
{
}
public virtual void OnBeforeHit(IExecutingMove move, IPokemon target, byte hitIndex)
{
}
}