Fix terrain power boosting

fix
This commit is contained in:
LaukkaE authored and Samuel H committed 2024-04-13 13:51:13 -04:00
1 parent aa0a88a468
commit 8cf8ce1258
2 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -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;