mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 16:32:16 +02:00
Merge branch 'pagefaultgames:main' into main
This commit is contained in:
commit
e34f6dd68b
Binary file not shown.
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 318 B |
BIN
public/images/ui/achv_bar_5.png
Normal file
BIN
public/images/ui/achv_bar_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 458 B |
Binary file not shown.
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 344 B |
BIN
public/images/ui/legacy/achv_bar_5.png
Normal file
BIN
public/images/ui/legacy/achv_bar_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 433 B |
@ -3594,6 +3594,25 @@ export class SwitchAbilitiesAttr extends MoveEffectAttr {
|
||||
}
|
||||
}
|
||||
|
||||
export class SuppressAbilitiesAttr extends MoveEffectAttr {
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
if (!super.apply(user, target, move, args))
|
||||
return false;
|
||||
|
||||
target.summonData.abilitySuppressed = true;
|
||||
|
||||
target.scene.queueMessage(getPokemonMessage(target, ` ability\nwas suppressed!`));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
getCondition(): MoveConditionFunc {
|
||||
return (user, target, move) => !target.getAbility().hasAttr(UnsuppressableAbilityAbAttr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
export class TransformAttr extends MoveEffectAttr {
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): Promise<boolean> {
|
||||
return new Promise(resolve => {
|
||||
@ -4831,7 +4850,7 @@ export function initMoves() {
|
||||
new SelfStatusMove(Moves.POWER_TRICK, Type.PSYCHIC, -1, 10, -1, 0, 4)
|
||||
.unimplemented(),
|
||||
new StatusMove(Moves.GASTRO_ACID, Type.POISON, 100, 10, -1, 0, 4)
|
||||
.unimplemented(),
|
||||
.attr(SuppressAbilitiesAttr),
|
||||
new StatusMove(Moves.LUCKY_CHANT, Type.NORMAL, -1, 30, -1, 0, 4)
|
||||
.attr(AddBattlerTagAttr, BattlerTagType.NO_CRIT, false, false, 5)
|
||||
.target(MoveTarget.USER_SIDE)
|
||||
|
@ -67,6 +67,7 @@ export class LoadingScene extends SceneBase {
|
||||
this.loadImage('achv_bar_2', 'ui');
|
||||
this.loadImage('achv_bar_3', 'ui');
|
||||
this.loadImage('achv_bar_4', 'ui');
|
||||
this.loadImage('achv_bar_5', 'ui');
|
||||
this.loadImage('shiny_star', 'ui', 'shiny.png');
|
||||
this.loadImage('shiny_star_1', 'ui', 'shiny_1.png');
|
||||
this.loadImage('shiny_star_2', 'ui', 'shiny_2.png');
|
||||
|
@ -8,7 +8,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||
$Tout signalement de bugs passe par le serveur Discord.
|
||||
$Si le jeu est lent, vérifiez que l’Accélération Matérielle est activée dans les paramètres du navigateur.`,
|
||||
|
||||
"accessMenu": `Accédez au menu avec M ou Échap lors de l'attente d’une\naction.
|
||||
"accessMenu": `Accédez au menu avec M ou Échap lors de l’attente d’une\naction.
|
||||
$Il contient les paramètres et diverses fonctionnalités`,
|
||||
|
||||
"menu": `Vous pouvez accéder aux paramètres depuis ce menu.
|
||||
@ -17,17 +17,20 @@ export const tutorial: SimpleTranslationEntries = {
|
||||
$jetez-y un œil !`,
|
||||
|
||||
"starterSelect": `Choisissez vos starters depuis cet écran.\nIls formeront votre équipe de départ.
|
||||
$Chacun possède une valeur. Votre équipe peut avoir jusqu’à\n6 membres, tant que vous ne dépassez pas un coût de 10.
|
||||
$Chacun possède une valeur. Votre équipe peut avoir jusqu’à\n6 membres, tant que vous ne dépassez pas un cout de 10.
|
||||
$Vous pouvez aussi choisir le sexe, le talent et la forme en\nfonction des variants déjà capturés ou éclos.
|
||||
$Les IVs d’un starter sont les meilleurs de tous ceux de son\nespèce déjà obtenus. Essayez donc d’en obtenir plusieurs !`,
|
||||
|
||||
"pokerus": `Chaque jour, 3 starters tirés aléatoirement ont un contour
|
||||
$violet. Si un starter que vous possédez l’a, essayez de
|
||||
$ l’ajouter à votre équipe. Vérifiez bien son résumé !`,
|
||||
$l’ajouter à votre équipe. Vérifiez bien son résumé !`,
|
||||
|
||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||
"statChange": `Les changements de stats restent à travers les combats tant que le Pokémon
|
||||
$n’est pas rappelé.
|
||||
$Vos Pokémon sont rappelés avant un combat de Dresseur et avant d’entrer
|
||||
$dans un nouveau biome.
|
||||
$Vous pouvez également voir en combat les changements de stats d’un Pokémon
|
||||
$en maintenant C ou Maj.`,
|
||||
|
||||
"selectItem": `Après chaque combat, vous avez le choix entre 3 objets\ntirés au sort. Vous ne pouvez en prendre qu’un.
|
||||
$Cela peut être des objets consommables, des objets à\nfaire tenir, ou des objets passifs aux effets permanents.
|
||||
|
@ -7,6 +7,7 @@ export enum AchvTier {
|
||||
COMMON,
|
||||
GREAT,
|
||||
ULTRA,
|
||||
ROGUE,
|
||||
MASTER
|
||||
}
|
||||
|
||||
@ -50,8 +51,10 @@ export class Achv {
|
||||
}
|
||||
|
||||
getTier(): AchvTier {
|
||||
if (this.score >= 100)
|
||||
if (this.score >= 150)
|
||||
return AchvTier.MASTER;
|
||||
if (this.score >= 100)
|
||||
return AchvTier.ROGUE;
|
||||
if (this.score >= 50)
|
||||
return AchvTier.ULTRA;
|
||||
if (this.score >= 25)
|
||||
|
@ -44,7 +44,7 @@ export class Voucher {
|
||||
case VoucherType.PREMIUM:
|
||||
return AchvTier.ULTRA;
|
||||
case VoucherType.GOLDEN:
|
||||
return AchvTier.MASTER;
|
||||
return AchvTier.ROGUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user