mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
947eab2655
commit
2c9ff8f875
@ -812,7 +812,6 @@ export default class Move implements Localizable {
|
|||||||
const typeChangeMovePowerMultiplier = new NumberHolder(1);
|
const typeChangeMovePowerMultiplier = new NumberHolder(1);
|
||||||
const typeChangeHolder = new NumberHolder(this.type);
|
const typeChangeHolder = new NumberHolder(this.type);
|
||||||
|
|
||||||
// apply move type changing ability attributes
|
|
||||||
applyPreAttackAbAttrs(MoveTypeChangeAbAttr, source, target, this, true, typeChangeHolder, typeChangeMovePowerMultiplier);
|
applyPreAttackAbAttrs(MoveTypeChangeAbAttr, source, target, this, true, typeChangeHolder, typeChangeMovePowerMultiplier);
|
||||||
|
|
||||||
const sourceTeraType = source.getTeraType();
|
const sourceTeraType = source.getTeraType();
|
||||||
|
@ -18,6 +18,7 @@ import { toDmgValue } from "#app/utils/common";
|
|||||||
* a different type and boost their power
|
* a different type and boost their power
|
||||||
*
|
*
|
||||||
* Includes
|
* Includes
|
||||||
|
* - Aerialate
|
||||||
* - Galvanize
|
* - Galvanize
|
||||||
* - Pixilate
|
* - Pixilate
|
||||||
* - Refrigerate
|
* - Refrigerate
|
||||||
|
Loading…
Reference in New Issue
Block a user