From 2c02be9e68d9cf250d9a31d009f02d06b18abba6 Mon Sep 17 00:00:00 2001
From: bietiaop <1527109126@qq.com>
Date: Sun, 28 Jul 2024 23:46:21 +0800
Subject: [PATCH] feat: hit property
---
resources/panel/card.html | 85 +++++++++++++++++++++------------------
1 file changed, 46 insertions(+), 39 deletions(-)
diff --git a/resources/panel/card.html b/resources/panel/card.html
index 6ddb9fc..0c23966 100644
--- a/resources/panel/card.html
+++ b/resources/panel/card.html
@@ -179,47 +179,54 @@
{{each equip.properties prop}}
-
{{prop.property_name}}
- {{if prop.count}}
-
- <% for(let i=1 ; i <=prop.count ; i++) { %>
-
- <% } %>
-
- {{/if}}
-
{{prop.base}}
-
- {{/each}}
-
-
- {{/each}}
- <% for(let i=charData.equip.length; i < 6 ; i++) { %>
-
- <% } %>
+ {{if prop.score !== false}}
+
+ {{else}}
+
+ {{/if}}
+
+ {{prop.property_name}}
+
+ {{if prop.count}}
+
+ <% for(let i=1 ; i <=prop.count ; i++) { %>
+
+ <% } %>
+
+ {{/if}}
+
{{prop.base}}
+
+ {{/each}}
+
+
+ {{/each}}
+ <% for(let i=charData.equip.length; i < 6 ; i++) { %>
+
+ <% } %>
-
- {{if charData?.damages && charData?.damages?.length}}
-
- <% include(sys.specialTitle, {en: 'DAMAGE' , cn: '伤害统计' }) %>
-
-
-
- {{each charData.damages damage}}
-
-
{{damage.title}}
-
{{damage.value.cd.toFixed(0)}}
-
{{damage.value.qw.toFixed(0)}}
+ {{if charData?.damages && charData?.damages?.length}}
+
+ <% include(sys.specialTitle, {en: 'DAMAGE' , cn: '伤害统计' }) %>
- {{/each}}
+
+
+ {{each charData.damages damage}}
+
+
{{damage.title}}
+
{{damage.value.cd.toFixed(0)}}
+
{{damage.value.qw.toFixed(0)}}
+
+ {{/each}}
+
+ {{/if}}
- {{/if}}
-
-{{/block}}
\ No newline at end of file
+ {{/block}}
\ No newline at end of file