More move scripts
This commit is contained in:
		| @@ -54,8 +54,8 @@ public class Gen7BattleStatCalculator : IBattleStatCalculator | ||||
|         byte moveAccuracy) | ||||
|     { | ||||
|         var accuracyModifier = 1.0f; | ||||
|         executingMove.RunScriptHook( | ||||
|             x => x.ChangeAccuracyModifier(executingMove, target, hitIndex, ref accuracyModifier)); | ||||
|         executingMove.RunScriptHook(x => | ||||
|             x.ChangeAccuracyModifier(executingMove, target, hitIndex, ref accuracyModifier)); | ||||
|         var modifiedAccuracy = (int)(moveAccuracy * accuracyModifier); | ||||
|         // ReSharper disable once AccessToModifiedClosure | ||||
|         executingMove.RunScriptHook(x => x.ChangeAccuracy(executingMove, target, hitIndex, ref modifiedAccuracy)); | ||||
|   | ||||
| @@ -12,7 +12,7 @@ public class Gen7MiscLibrary : IMiscLibrary | ||||
| { | ||||
|     private readonly IMoveData _struggleData = new MoveDataImpl("struggle", new TypeIdentifier(0, "none"), | ||||
|         MoveCategory.Physical, 50, 255, 255, MoveTarget.Any, 0, | ||||
|         new SecondaryEffectImpl(-1, "struggle", new Dictionary<StringKey, object?>()), []); | ||||
|         new SecondaryEffectImpl(-1, "struggle", new Dictionary<StringKey, object?>()), ["not_sketchable"]); | ||||
|  | ||||
|     /// <inheritdoc /> | ||||
|     public ITurnChoice ReplacementChoice(IPokemon user, byte targetSide, byte targetPosition) => | ||||
|   | ||||
		Reference in New Issue
	
	Block a user