Skip to content

Commit

Permalink
add stargazer title (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainpolletvillard authored Apr 2, 2024
1 parent d7159e9 commit 199fb3e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions app/models/colyseus-models/pokemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12482,6 +12482,9 @@ export class Solgaleo extends Pokemon {
range = 1
skill = Ability.SUNSTEEL_STRIKE
attackSprite = AttackSprite.STEEL_MELEE
onAcquired(player: Player) {
player.titles.add(Title.STARGAZER)
}
}

export class Lunala extends Pokemon {
Expand All @@ -12500,6 +12503,9 @@ export class Lunala extends Pokemon {
range = 4
skill = Ability.MOONGEIST_BEAM
attackSprite = AttackSprite.STEEL_MELEE
onAcquired(player: Player) {
player.titles.add(Title.STARGAZER)
}
}

export class Magearna extends Pokemon {
Expand Down
2 changes: 2 additions & 0 deletions app/public/dist/client/changelog/patch-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
- Fix Meteor Mash ability targeting

# Misc

- New title: Stargazer - Get Solgaleo or Lunala
6 changes: 4 additions & 2 deletions app/public/dist/client/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,8 @@
"VANQUISHER": "Vanquisher",
"OUTSIDER": "Outsider",
"WILD": "Wild",
"GLUTTON": "Glutton"
"GLUTTON": "Glutton",
"STARGAZER": "Stargazer"
},
"title_description": {
"NOVICE": "Play your first game",
Expand Down Expand Up @@ -2145,7 +2146,8 @@
"CHOSEN_ONE": "Max Synergy With Light type in a game",
"VANQUISHER": "Win a Ranked match",
"OUTSIDER": "Win a Ranked match with 8 players while having the lowest ELO of all",
"GLUTTON": "Get a Snorlax with more than 750 base HP"
"GLUTTON": "Get a Snorlax with more than 750 base HP",
"STARGAZER": "Get Solgaleo or Lunala"
},
"weather": {
"NEUTRAL": "Calm weather",
Expand Down
6 changes: 4 additions & 2 deletions app/public/dist/client/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,8 @@
"VANQUISHER": "Vainqueur",
"OUTSIDER": "Outsider",
"WILD": "Sauvage",
"GLUTTON": "Goinfre"
"GLUTTON": "Goinfre",
"STARGAZER": "Astronome"
},
"title_description": {
"NOVICE": "Jouez votre première partie",
Expand Down Expand Up @@ -2124,7 +2125,8 @@
"CHOSEN_ONE": "Niveau max de synergie Lumière atteint lors d'une partie",
"VANQUISHER": "Remporter un match classé",
"OUTSIDER": "Remporter un match classé à 8 joueurs en étant le joueur au plus bas ELO",
"GLUTTON": "Monter un Ronflex à plus de 750 PV de base"
"GLUTTON": "Monter un Ronflex à plus de 750 PV de base",
"STARGAZER": "Obtenez Solgaleo ou Lunala"
},
"weather": {
"NEUTRAL": "Temps calme",
Expand Down
3 changes: 2 additions & 1 deletion app/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,8 @@ export enum Title {
CHOSEN_ONE = "CHOSEN_ONE",
VANQUISHER = "VANQUISHER",
OUTSIDER = "OUTSIDER",
GLUTTON = "GLUTTON"
GLUTTON = "GLUTTON",
STARGAZER = "STARGAZER"
}

export interface IBoardEvent {
Expand Down

0 comments on commit 199fb3e

Please sign in to comment.