26 files changed
+297
-26
No files matched your search
@@ -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