More move effects

This commit is contained in:
Deukhoofd committed 2025-03-02 14:03:51 +01:00
1 parent 9b0ac36597
commit c0bc905c46
40 files changed
+804 -46

No files matched your search

@@ -6,7 +6,7 @@ namespace PkmnLib.Dynamic.ScriptHandling.Registry;
/// <summary>
/// Helper attribute to register scripts through reflection.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[MeansImplicitUse]
public class ScriptAttribute : Attribute
{
+4
View File
@@ -554,4 +554,8 @@ public abstract class Script : IDeepCloneable
public virtual void ChangeIncomingDamage(IPokemon pokemon, DamageSource source, ref uint damage)
{
}
public virtual void ChangeAccuracy(IExecutingMove executingMove, IPokemon target, byte hitIndex, ref int modifiedAccuracy)
{
}
}