Add finished custom swamp arena BG and resize others
This commit is contained in:
1 parent
3fc213bc73
commit
fc4f98b203
38 files changed
+1159
-1138
No files matched your search
+4
-4
@@ -479,10 +479,10 @@ export default class BattleScene extends Phaser.Scene {
|
||||
this.newArena(startingBiome, true);
|
||||
|
||||
this.arenaBgTransition.setPosition(0, 0);
|
||||
this.arenaPlayer.setPosition(340, 20);
|
||||
this.arenaPlayerTransition.setPosition(40, 20);
|
||||
this.arenaEnemy.setPosition(-240, 13);
|
||||
this.arenaNextEnemy.setPosition(-240, 13);
|
||||
this.arenaPlayer.setPosition(300, 0);
|
||||
this.arenaPlayerTransition.setPosition(40, 0);
|
||||
this.arenaEnemy.setPosition(-280, 0);
|
||||
this.arenaNextEnemy.setPosition(-280, 0);
|
||||
|
||||
this.trainer.setTexture('trainer_m');
|
||||
this.trainer.setPosition(406, 132);
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user