mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Eslint fix attempt
This commit is contained in:
parent
79a606dcd2
commit
a07401c66d
@ -5946,15 +5946,15 @@ export class TransformAttr extends MoveEffectAttr {
|
|||||||
user.summonData.gender = target.getGender();
|
user.summonData.gender = target.getGender();
|
||||||
user.summonData.fusionGender = target.getFusionGender();
|
user.summonData.fusionGender = target.getFusionGender();
|
||||||
|
|
||||||
// Copy all stats (except HP)
|
// Copy all stats (except HP)
|
||||||
for (const s of EFFECTIVE_STATS) {
|
for (const s of EFFECTIVE_STATS) {
|
||||||
user.setStat(s, target.getStat(s, false), false);
|
user.setStat(s, target.getStat(s, false), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy all stat stages
|
// Copy all stat stages
|
||||||
for (const s of BATTLE_STATS) {
|
for (const s of BATTLE_STATS) {
|
||||||
user.setStatStage(s, target.getStatStage(s));
|
user.setStatStage(s, target.getStatStage(s));
|
||||||
}
|
}
|
||||||
|
|
||||||
user.summonData.moveset = target.getMoveset().map(m => {
|
user.summonData.moveset = target.getMoveset().map(m => {
|
||||||
const pp = m?.getMove().pp!;
|
const pp = m?.getMove().pp!;
|
||||||
|
Loading…
Reference in New Issue
Block a user