mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-04 07:07:17 +00:00
8c8ddd26b5
* implement quick draw * add line * change ability success condition * quick draw comes before quick claw effect * now ability has chance variable to test conditional situation * add unit test * Merge branch 'main' into ability-quick-draw * modifed: ability.getTriggerMessage * modified: to use pokemon.battleData.abilityRevealed * modified: changed private variable to public * erase expect interceptor log * add localizations * modified: add comma in locales * modified: ability docs & trigger logic * modified: changed test logic
12 lines
712 B
TypeScript
12 lines
712 B
TypeScript
import { SimpleTranslationEntries } from "#app/interfaces/locales";
|
|
|
|
export const abilityTriggers: SimpleTranslationEntries = {
|
|
"blockRecoilDamage" : "¡{{abilityName}} de {{pokemonName}}\nlo protegió del daño de retroceso!",
|
|
"badDreams": "¡{{pokemonName}} está atormentado!",
|
|
"costar": "{{pokemonName}} copied {{allyName}}'s stat changes!",
|
|
"iceFaceAvoidedDamage": "¡{{pokemonNameWithAffix}} evitó\ndaño con {{abilityName}}!",
|
|
"trace": "{{pokemonName}} copied {{targetName}}'s\n{{abilityName}}!",
|
|
"windPowerCharged": "¡{{pokemonName}} se ha cargado de electricidad gracias a {{moveName}}!",
|
|
"quickDraw": "{{pokemonName}} can act faster than normal, thanks to its Quick Draw!",
|
|
} as const;
|