This commit is contained in:
@@ -11,7 +11,7 @@ public class Gooey : Script
|
||||
/// <inheritdoc />
|
||||
public override void OnIncomingHit(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
if (!move.UseMove.HasFlag("contact"))
|
||||
if (!move.GetHitData(target, hit).IsContact)
|
||||
return;
|
||||
move.User.ChangeStatBoost(Statistic.Speed, -1, false, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user