mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Add and fix Tier names in level up (#1142)
Co-authored-by: Chris Ryan <chrisr@blackhole>
This commit is contained in:
parent
2d92576121
commit
ec54da4e23
3 changed files with 7 additions and 4 deletions
|
|
@ -169,7 +169,7 @@ export const defaultLevelTiers = {
|
|||
tiers: {
|
||||
2: {
|
||||
tier: 2,
|
||||
name: 'Tier 2',
|
||||
name: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.name',
|
||||
levels: {
|
||||
start: 2,
|
||||
end: 4
|
||||
|
|
@ -232,7 +232,7 @@ export const defaultLevelTiers = {
|
|||
},
|
||||
3: {
|
||||
tier: 3,
|
||||
name: 'Tier 3',
|
||||
name: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.name',
|
||||
levels: {
|
||||
start: 5,
|
||||
end: 7
|
||||
|
|
@ -313,7 +313,7 @@ export const defaultLevelTiers = {
|
|||
},
|
||||
4: {
|
||||
tier: 4,
|
||||
name: 'Tier 4',
|
||||
name: 'DAGGERHEART.APPLICATIONS.Levelup.tier4.name',
|
||||
levels: {
|
||||
start: 8,
|
||||
end: 10
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ export class DhLevelup extends foundry.abstract.DataModel {
|
|||
const subclassInTier = subclasses.some(x => x.tier === Number(tierKey));
|
||||
|
||||
return {
|
||||
name: tier.name,
|
||||
name: game.i18n.localize(tier.name),
|
||||
active: this.currentLevel >= Math.min(...tier.belongingLevels),
|
||||
groups: Object.keys(tier.options).map(optionKey => {
|
||||
const option = tier.options[optionKey];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue