mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
Don't splat args to getTriggerMessage
This commit is contained in:
parent
98f72e9324
commit
2deffeb024
@ -3743,7 +3743,7 @@ export class FieldPreventMovesAbAttr extends AbAttr {
|
||||
}
|
||||
|
||||
/** @param args See {@linkcode FieldPreventMovesAbAttr}. */
|
||||
getTriggerMessage(pokemon: Pokemon, abilityName: string, ...args: any[]): string {
|
||||
getTriggerMessage(pokemon: Pokemon, abilityName: string, args: any[]): string {
|
||||
return i18next.t("abilityTriggers:movePrevented",
|
||||
{ moveUser: getPokemonNameWithAffix(args[1] as Pokemon), moveName: (args[0] as Move).name });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user