More warning fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using PkmnLib.Static;
|
||||
using PkmnLib.Static.Utils;
|
||||
|
||||
@@ -34,7 +33,7 @@ public class ChangeMultipleTargetStatBoosts : Script
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
EventBatchId batchId = new();
|
||||
foreach (var stat in _statBoosts!)
|
||||
foreach (var stat in _statBoosts)
|
||||
{
|
||||
target.ChangeStatBoost(stat.Key, stat.Value, true, batchId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user