This commit is contained in:
@@ -12,7 +12,7 @@ public class FlameBody : Script
|
||||
/// <inheritdoc />
|
||||
public override void OnIncomingHit(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
if (!move.UseMove.HasFlag("contact"))
|
||||
if (!move.GetHitData(target, hit).IsContact)
|
||||
return;
|
||||
|
||||
var rng = move.Battle.Random;
|
||||
|
||||
Reference in New Issue
Block a user