补充命破、玄墨、裂霜等图标及面板图样式
|
|
@ -5,11 +5,18 @@ const ELEMENT_TYPE = {
|
||||||
200: 'physdmg',
|
200: 'physdmg',
|
||||||
201: 'fire',
|
201: 'fire',
|
||||||
};
|
};
|
||||||
|
const SUB_ELEMENT_TYPE = {
|
||||||
|
1: 'frost',
|
||||||
|
2: 'auricink',
|
||||||
|
};
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {keyof ELEMENT_TYPE} id
|
* @param {keyof ELEMENT_TYPE} id
|
||||||
|
* @param {keyof SUB_ELEMENT_TYPE} sub_id
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export const IDToElement = id => {
|
export const IDToElement = (id, sub_id) => {
|
||||||
|
if (sub_id && SUB_ELEMENT_TYPE[sub_id])
|
||||||
|
return SUB_ELEMENT_TYPE[sub_id];
|
||||||
return ELEMENT_TYPE[id];
|
return ELEMENT_TYPE[id];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ export class ZZZAvatarInfo {
|
||||||
/** @type {number} */
|
/** @type {number} */
|
||||||
this.ranks_num = this.ranks.filter(rank => rank.is_unlocked).length;
|
this.ranks_num = this.ranks.filter(rank => rank.is_unlocked).length;
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
this.element_str = element.IDToElement(element_type);
|
this.element_str = element.IDToElement(element_type, sub_element_type);
|
||||||
/** @type {boolean} */
|
/** @type {boolean} */
|
||||||
this.isNew = isNew;
|
this.isNew = isNew;
|
||||||
/** @type {number} 等级级别(取十位数字)*/
|
/** @type {number} 等级级别(取十位数字)*/
|
||||||
|
|
|
||||||
BIN
resources/common/images/IconAuricInk.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 3.4 KiB |
BIN
resources/common/images/IconFrost.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3 KiB |
BIN
resources/common/images/prop/IconRupture.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
resources/common/images/property/IconSheerDMGBonus.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
resources/common/images/property/IconSheerForce.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -81,6 +81,12 @@
|
||||||
.property.dungeon {
|
.property.dungeon {
|
||||||
background-image: url("../images/IconDungeonBuffEther.png");
|
background-image: url("../images/IconDungeonBuffEther.png");
|
||||||
}
|
}
|
||||||
|
.property.frost {
|
||||||
|
background-image: url("../images/IconFrost.png");
|
||||||
|
}
|
||||||
|
.property.auricink {
|
||||||
|
background-image: url("../images/IconAuricInk.png");
|
||||||
|
}
|
||||||
|
|
||||||
.prop-icon {
|
.prop-icon {
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
|
|
@ -142,6 +148,9 @@
|
||||||
.prop-icon.thunder {
|
.prop-icon.thunder {
|
||||||
background-image: url("../images/property/IconThunder.png");
|
background-image: url("../images/property/IconThunder.png");
|
||||||
}
|
}
|
||||||
|
.prop-icon.sheerforce {
|
||||||
|
background-image: url("../images/property/IconSheerForce.png");
|
||||||
|
}
|
||||||
|
|
||||||
.pro-icon {
|
.pro-icon {
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,12 @@
|
||||||
&.dungeon {
|
&.dungeon {
|
||||||
background-image: url('../images/IconDungeonBuffEther.png');
|
background-image: url('../images/IconDungeonBuffEther.png');
|
||||||
}
|
}
|
||||||
|
&.frost {
|
||||||
|
background-image: url('../images/IconFrost.png');
|
||||||
|
}
|
||||||
|
&.auricink {
|
||||||
|
background-image: url('../images/IconAuricInk.png');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.prop-icon {
|
.prop-icon {
|
||||||
|
|
@ -160,6 +166,9 @@
|
||||||
&.thunder {
|
&.thunder {
|
||||||
background-image: url('../images/property/IconThunder.png');
|
background-image: url('../images/property/IconThunder.png');
|
||||||
}
|
}
|
||||||
|
&.sheerforce {
|
||||||
|
background-image: url('../images/property/IconSheerForce.png');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.pro-icon {
|
.pro-icon {
|
||||||
|
|
|
||||||
|
|
@ -83,8 +83,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{if charData.avatar_profession === 6}}
|
{{if charData.avatar_profession === 6}}
|
||||||
<div class="properties">
|
<div class="properties">
|
||||||
<!-- 图标待补 -->
|
<div class="prop-icon sheerforce"></div>
|
||||||
<div class="prop-icon penratio"></div>
|
|
||||||
<div class="label yellow">贯穿力</div>
|
<div class="label yellow">贯穿力</div>
|
||||||
<div class="value">{{basic_properties.sheerforce.final}}</div>
|
<div class="value">{{basic_properties.sheerforce.final}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -83,8 +83,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{if charData.avatar_profession === 6}}
|
{{if charData.avatar_profession === 6}}
|
||||||
<div class="properties">
|
<div class="properties">
|
||||||
<!-- 图标待补 -->
|
<div class="prop-icon sheerforce"></div>
|
||||||
<div class="prop-icon penratio"></div>
|
|
||||||
<div class="label yellow">贯穿力</div>
|
<div class="label yellow">贯穿力</div>
|
||||||
<div class="value">{{basic_properties.sheerforce.final}}</div>
|
<div class="value">{{basic_properties.sheerforce.final}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||