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