Fix terrain power boosting
fix
This commit is contained in:
1 parent
aa0a88a468
commit
8cf8ce1258
2 files changed
+2
-4
No files matched your search
+1
-1
@@ -337,7 +337,7 @@ export class Arena {
|
||||
weatherMultiplier = this.weather.getAttackTypeMultiplier(attackType);
|
||||
|
||||
let terrainMultiplier = 1;
|
||||
if (this.terrain && !grounded)
|
||||
if (this.terrain && grounded)
|
||||
terrainMultiplier = this.terrain.getAttackTypeMultiplier(attackType);
|
||||
|
||||
return weatherMultiplier * terrainMultiplier;
|
||||
|
||||
Reference in new issue
Block a user