Check if Sky drop target is 200kg or more, fail if so

This commit is contained in:
brandonarude 2024-05-15 14:12:42 -07:00
parent 4d0985fc6f
commit 8e385b3acf

View File

@ -1667,6 +1667,11 @@ export class SkyDropChargeAttr extends ChargeAttr {
}); });
}); });
}; };
getCondition(): MoveConditionFunc{
return (user, target, move) => target.getWeight() < 200;
}
} }