Skip to content

Commit

Permalink
Merge pull request #12 from DavidArthurCole/1.5.10
Browse files Browse the repository at this point in the history
1.5.10
  • Loading branch information
DavidArthurCole authored Mar 15, 2024
2 parents 8e401bf + 8f69c3f commit c00fd26
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 108 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.9
1.5.10
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
'40': '10rem',
'6/10': '60%',
'60vh': '60vh',
'80vh': '80vh',
'90vh': '90vh',
},
width: {
Expand Down Expand Up @@ -93,19 +94,22 @@ module.exports = {
'1rem': '1rem',
'2rem': '2rem',
'3rem': '3rem',
'7rem': '7rem',
},
margin: {
'0': '0rem !important',
'025rem': '0.25rem !important',
'075rem': '0.75rem',
'05rem': '0.5rem',
'2rem': '2rem',
},
padding: {
'0': '0rem',
'05rem': '0.5rem',
'1rem:' : '1rem',
'2rem': '2rem',
'select': '2.5rem',
'7rem': '7rem',
},
fontSize: {
'star': '1.4rem',
Expand Down
6 changes: 3 additions & 3 deletions www/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
content: '';
position: absolute;
top: 0;
right: 10%;
right: 7%;
width: 20px;
height: 100%;
border-right: 2px solid;
Expand All @@ -182,8 +182,8 @@
content: '';
position: absolute;
top: 0;
right: 0;
width: 10%;
right: -3%;
width: 12%;
height: calc(100%);
border-top: 2px solid;
border-bottom: 2px solid;
Expand Down
Binary file added www/images/icon_afx_chest_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
235 changes: 140 additions & 95 deletions www/index.html

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions www/templates/DropDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,17 @@
return (!match ? ["?", "?", "?"] : [str.substring(0, match.index), match[1], str.substring(match.index + match[0].length)]);
},
getDropCalcs (dropId, dropLevel, dropRarity) {
const mennoItem = this.mennoMissionData.configs.find(item =>
item.artifactConfiguration.artifactType.id == dropId &&
item.artifactConfiguration.artifactLevel == dropLevel &&
item.artifactConfiguration.artifactRarity.id == dropRarity
);
if(mennoItem == null) return null;
return [mennoItem.totalDrops, this.mennoMissionData.totalDropsCount]
if(this.mennoMissionData?.configs == null) return null;
const mennoItem = this.mennoMissionData.configs.find(item =>
item.artifactConfiguration.artifactType.id == dropId &&
item.artifactConfiguration.artifactLevel == dropLevel &&
item.artifactConfiguration.artifactRarity.id == dropRarity
);
if(mennoItem == null) return null;
return [mennoItem.totalDrops, this.mennoMissionData.totalDropsCount]
},
getLifetimeDropCalcs(dropId, dropLevel, dropRarity){
if(this.mennoMissionData?.configs == null) return null;
const mennoItem = this.mennoMissionData.configs.find(item =>
item.artifactConfiguration.artifactType.id == dropId &&
item.artifactConfiguration.artifactLevel == dropLevel &&
Expand Down
6 changes: 4 additions & 2 deletions www/templates/ShipDisplay.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
v-if="topLevelBool"
:class="(isMulti ? 'max-h-90vh' : 'max-w-50vw overflow-auto' ) + ' text-gray-300 text-center' + ( shipCount > 3 ? ' min-w-30vw' : '') "
:class="(isMulti ? ((isFirst ? ' pl-7rem' : ' pl-3rem') + (isLast ? ' pr-7rem' : ' pr-3rem')) : 'overflow-auto pl-7rem pr-7rem' ) + ' text-gray-300 text-center' + ( shipCount > 3 ? ' min-w-30vw' : '') "
>
<!-- Header information about the mission -->
<span :class="durToTextClass(viewMissionData.shipInfo.durationType)">
Expand All @@ -24,7 +24,7 @@
>
<img
alt="Artifact Crate"
src="https://eggincassets.tcl.sh/64/egginc/icon_afx_chest_2.png"
src="/images/icon_afx_chest_2.png"
class="w-6 mr-05rem"
>
<span class="tooltip-custom text-xs font-bold">
Expand Down Expand Up @@ -118,6 +118,8 @@
mennoMissionData: Object,
showExpectedDrops: Boolean,
shipCount: Number,
isFirst: Boolean,
isLast: Boolean,
},
methods: {
durToTextClass(dur){
Expand Down

0 comments on commit c00fd26

Please sign in to comment.