mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 06:26:59 +00:00
prestige feature
This commit is contained in:
@@ -13,6 +13,19 @@
|
|||||||
<p>Exp: {{ adventurer.exp }} / {{ adventurer.getNextLevelExpRequirement() }}</p>
|
<p>Exp: {{ adventurer.exp }} / {{ adventurer.getNextLevelExpRequirement() }}</p>
|
||||||
<p>DPS: {{ adventurer.getDPS().toPrecision(2) }}</p>
|
<p>DPS: {{ adventurer.getDPS().toPrecision(2) }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="adventurer-upgrades">
|
||||||
|
<button
|
||||||
|
:disabled="!adventurer.canPrestigeUp()"
|
||||||
|
:title="!adventurer.canPrestigeUp() ? 'Adventurer needs to be at max level to prestige up' : ''"
|
||||||
|
@click="() => {
|
||||||
|
if (adventurer === null) return;
|
||||||
|
if (!adventurer.canPrestigeUp()) return;
|
||||||
|
adventurer.prestigeUp();
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
Prestige up
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
</dialog>
|
</dialog>
|
||||||
</template>
|
</template>
|
||||||
@@ -73,6 +86,7 @@ export default defineComponent({
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
font-family: 'EB Garamond', serif;
|
font-family: 'EB Garamond', serif;
|
||||||
|
transition: color 0.05s linear;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
|
|||||||
@@ -35,8 +35,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="collection panel pinned-paper">
|
<section class="collection panel pinned-paper">
|
||||||
<h1>Recruited adventurers ({{ Object.keys(adventurers).length }} /
|
<h1>
|
||||||
{{ guild.adventurerCapacity.getAdventurerCapacity() }})</h1>
|
Recruited adventurers ({{ Object.keys(adventurers).length }} / {{ guild.adventurerCapacity.getAdventurerCapacity() }})
|
||||||
|
</h1>
|
||||||
|
<small>Click an adventurer to see details about them</small>
|
||||||
<div class="adventurers">
|
<div class="adventurers">
|
||||||
<div
|
<div
|
||||||
class="adventurer-tile"
|
class="adventurer-tile"
|
||||||
@@ -134,6 +136,14 @@ export default defineComponent({
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collection {
|
||||||
|
small {
|
||||||
|
font-size: 1rem;
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.adventurers {
|
.adventurers {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
Reference in New Issue
Block a user