Skip to content

Commit

Permalink
Merge pull request massif-press#2133 from msprijatelj/feat/capTalents
Browse files Browse the repository at this point in the history
feat(UI): modify caps handling for mounts, CBs, Talents
  • Loading branch information
jarena3 authored Oct 3, 2022
2 parents 3a1af03 + 3da9ee7 commit 4244997
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/classes/Statblock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Statblock {
pilot && pilot.has('CoreBonus', 'cb_improved_armament'),
pilot && pilot.has('CoreBonus', 'cb_integrated_weapon')
)) {
output += ` ${mount.Name}: `
output += ` ${mount.Name.toUpperCase()}: `
if (mount.IsLocked) {
output += 'SUPERHEAVY WEAPON BRACING'
} else {
Expand Down Expand Up @@ -251,7 +251,7 @@ class Statblock {
pilot.has('CoreBonus', 'cb_integrated_weapon')
)
.map(mount => {
let out = `${mount.Name}: `
let out = `${mount.Name.toUpperCase()}: `
if (mount.IsLocked) out += 'SUPERHEAVY WEAPON BRACING'
else
out += mount.Weapons.filter(Boolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
small
>
<v-icon left>cci-skill</v-icon>
{{ s.Skill.Trigger }}
{{ s.Skill.Trigger.toUpperCase() }}
</v-chip>
</v-col>
<v-col cols="12" md="6">
Expand All @@ -117,7 +117,7 @@
small
>
<v-icon left>cci-talent</v-icon>
{{ t.Talent.Name }} {{ 'I'.repeat(t.Rank) }}
{{ t.Talent.Name.toUpperCase() }} {{ 'I'.repeat(t.Rank) }}
</v-chip>
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/selectors/CCCoreBonusSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- <missing-item v-if="b.err" @remove="pilot.CoreBonusController.RemoveCoreBonus(b)" /> -->
<div>
<v-icon small color="accent">cci-corebonus</v-icon>
<strong>{{ b.Name }}</strong>
<strong>{{ b.Name.toUpperCase() }}</strong>
<span class="overline">{{ b.Source }}</span>
</div>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/selectors/CCTalentSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<missing-item v-if="pTalent.Talent.err" @remove="remove(pTalent)" />
<span v-else>
<v-icon color="accent">cci-rank-{{ pTalent.Rank }}</v-icon>
<strong>{{ pTalent.Talent.Name }}</strong>
<strong>{{ pTalent.Talent.Name.toUpperCase() }}</strong>
<v-icon right class="fadeSelect" @click="scroll(pTalent.Talent.ID)">
mdi-chevron-right
</v-icon>
Expand Down

0 comments on commit 4244997

Please sign in to comment.