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

pull/929/head
brandonarude 2024-05-15 14:12:42 -07:00
parent 4d0985fc6f
commit 8e385b3acf
1 changed files with 5 additions and 0 deletions

View File

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