Allowing pokemon name translation (#228)
* Allow pokemon name translation * Improve Pokemon localization --------- Co-authored-by: Flashfyre <flashfireex@gmail.com>
This commit is contained in:
1 parent
1a53c19e3b
commit
8d7f1ae554
15 files changed
+3300
-1103
No files matched your search
@@ -142,7 +142,7 @@ class AddPokeballModifierType extends ModifierType implements Localizable {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
localize() {
|
||||
localize(): void {
|
||||
this.name = `${this.count}x ${getPokeballName(this.pokeballType)}`;
|
||||
this.description = `Receive ${getPokeballName(this.pokeballType)} x${this.count}\nCatch Rate: ${getPokeballCatchMultiplier(this.pokeballType) > -1 ? `${getPokeballCatchMultiplier(this.pokeballType)}x` : 'Certain'}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user