mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 05:42:18 +02:00
Fix stabMultiplier using base type for Tera bonus
This commit is contained in:
parent
e93854a4a8
commit
d1e65788ed
@ -2292,7 +2292,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
if (matchesSourceType) {
|
if (matchesSourceType) {
|
||||||
stabMultiplier.value += 0.5;
|
stabMultiplier.value += 0.5;
|
||||||
}
|
}
|
||||||
if (sourceTeraType !== Type.UNKNOWN && sourceTeraType === move.type) {
|
if (sourceTeraType !== Type.UNKNOWN && sourceTeraType === moveType) {
|
||||||
stabMultiplier.value += 0.5;
|
stabMultiplier.value += 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user