Check if Sky drop target is 200kg or more, fail if so
parent
4d0985fc6f
commit
8e385b3acf
|
@ -1667,6 +1667,11 @@ export class SkyDropChargeAttr extends ChargeAttr {
|
|||
});
|
||||
});
|
||||
};
|
||||
|
||||
getCondition(): MoveConditionFunc{
|
||||
return (user, target, move) => target.getWeight() < 200;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue