Add finished custom swamp arena BG and resize others

This commit is contained in:
Flashfyre committed 2023-04-29 23:29:02 -04:00
1 parent 3fc213bc73
commit fc4f98b203
38 files changed
+1159 -1138

No files matched your search

+1 -1
View File
@@ -1227,7 +1227,7 @@ export class LevelPowerAttr extends VariablePowerAttr {
export class RandomLevelPowerAttr extends VariablePowerAttr {
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
(args[0] as Utils.NumberHolder).value = Math.min(user.level, 150) * Utils.randInt(100, 50);
(args[0] as Utils.NumberHolder).value = Math.min(user.level, 150) * (Utils.randInt(100, 50) * 0.01);
return true;
}