mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 00:06:18 +00:00
Set the IVs of default starters to 15. (#4861)
Co-authored-by: frutescens <info@laptop>
This commit is contained in:
parent
0c521bbe08
commit
d0d9eb78da
@ -653,7 +653,7 @@ export class FreshStartChallenge extends Challenge {
|
|||||||
pokemon.shiny = false; // Not shiny
|
pokemon.shiny = false; // Not shiny
|
||||||
pokemon.variant = 0; // Not shiny
|
pokemon.variant = 0; // Not shiny
|
||||||
pokemon.formIndex = 0; // Froakie should be base form
|
pokemon.formIndex = 0; // Froakie should be base form
|
||||||
pokemon.ivs = [ 10, 10, 10, 10, 10, 10 ]; // Default IVs of 10 for all stats
|
pokemon.ivs = [ 15, 15, 15, 15, 15, 15 ]; // Default IVs of 15 for all stats (Updated to 15 from 10 in 1.2.0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1540,7 +1540,7 @@ export class GameData {
|
|||||||
entry.caughtAttr = defaultStarterAttr;
|
entry.caughtAttr = defaultStarterAttr;
|
||||||
entry.natureAttr = 1 << (defaultStarterNatures[ds] + 1);
|
entry.natureAttr = 1 << (defaultStarterNatures[ds] + 1);
|
||||||
for (const i in entry.ivs) {
|
for (const i in entry.ivs) {
|
||||||
entry.ivs[i] = 10;
|
entry.ivs[i] = 15;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user