koishi-plugin-dew-bot 1.0.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/html/css/body.css +287 -0
- package/lib/html/css/equip.css +115 -0
- package/lib/html/css/skill.css +75 -0
- package/lib/html/css/talent.css +58 -0
- package/lib/html/page/body.html +96 -0
- package/lib/html/page/equip.html +98 -0
- package/lib/html/page/mini_texas.html +493 -0
- package/lib/html/page/skill.html +76 -0
- package/lib/html/page/talent.html +76 -0
- package/lib/html/res/avatar.jpg +0 -0
- package/lib/html/res/body/box.png +0 -0
- package/lib/html/res/body/share/test.png +0 -0
- package/lib/html/res/body/title/test.png +0 -0
- package/lib/html/res/body/title/test1.png +0 -0
- package/lib/html/res/equip/equip_border.png +0 -0
- package/lib/html/res/equip/icon/none.png +0 -0
- package/lib/html/res/equip/icon/test.png +0 -0
- package/lib/html/res/equip/quality/0.png +0 -0
- package/lib/html/res/equip/quality/1.png +0 -0
- package/lib/html/res/equip/quality/2.png +0 -0
- package/lib/html/res/equip/quality/3.png +0 -0
- package/lib/html/res/equip/quality/4.png +0 -0
- package/lib/html/res/equip/quality/5.png +0 -0
- package/lib/html/res/equip/quality/6.png +0 -0
- package/lib/html/res/equip/quality/7.png +0 -0
- package/lib/html/res/equip/quality/8.png +0 -0
- package/lib/html/res/equip/quality/9.png +0 -0
- package/lib/html/res/font/cn.ttf +0 -0
- package/lib/html/res/font/xiaomai.ttf +0 -0
- package/lib/html/res/mini/chip/chip0.png +0 -0
- package/lib/html/res/mini/chip/chip1.png +0 -0
- package/lib/html/res/mini/chip/chip2.png +0 -0
- package/lib/html/res/mini/chip/chip3.png +0 -0
- package/lib/html/res/mini/chip/chip4.png +0 -0
- package/lib/html/res/mini/chip/chip5.png +0 -0
- package/lib/html/res/mini/poker/backPoker.png +0 -0
- package/lib/html/res/mini/poker/poker_0_10.png +0 -0
- package/lib/html/res/mini/poker/poker_0_11.png +0 -0
- package/lib/html/res/mini/poker/poker_0_12.png +0 -0
- package/lib/html/res/mini/poker/poker_0_13.png +0 -0
- package/lib/html/res/mini/poker/poker_0_14.png +0 -0
- package/lib/html/res/mini/poker/poker_0_2.png +0 -0
- package/lib/html/res/mini/poker/poker_0_3.png +0 -0
- package/lib/html/res/mini/poker/poker_0_4.png +0 -0
- package/lib/html/res/mini/poker/poker_0_5.png +0 -0
- package/lib/html/res/mini/poker/poker_0_6.png +0 -0
- package/lib/html/res/mini/poker/poker_0_7.png +0 -0
- package/lib/html/res/mini/poker/poker_0_8.png +0 -0
- package/lib/html/res/mini/poker/poker_0_9.png +0 -0
- package/lib/html/res/mini/poker/poker_1_10.png +0 -0
- package/lib/html/res/mini/poker/poker_1_11.png +0 -0
- package/lib/html/res/mini/poker/poker_1_12.png +0 -0
- package/lib/html/res/mini/poker/poker_1_13.png +0 -0
- package/lib/html/res/mini/poker/poker_1_14.png +0 -0
- package/lib/html/res/mini/poker/poker_1_2.png +0 -0
- package/lib/html/res/mini/poker/poker_1_3.png +0 -0
- package/lib/html/res/mini/poker/poker_1_4.png +0 -0
- package/lib/html/res/mini/poker/poker_1_5.png +0 -0
- package/lib/html/res/mini/poker/poker_1_6.png +0 -0
- package/lib/html/res/mini/poker/poker_1_7.png +0 -0
- package/lib/html/res/mini/poker/poker_1_8.png +0 -0
- package/lib/html/res/mini/poker/poker_1_9.png +0 -0
- package/lib/html/res/mini/poker/poker_2_10.png +0 -0
- package/lib/html/res/mini/poker/poker_2_11.png +0 -0
- package/lib/html/res/mini/poker/poker_2_12.png +0 -0
- package/lib/html/res/mini/poker/poker_2_13.png +0 -0
- package/lib/html/res/mini/poker/poker_2_14.png +0 -0
- package/lib/html/res/mini/poker/poker_2_2.png +0 -0
- package/lib/html/res/mini/poker/poker_2_3.png +0 -0
- package/lib/html/res/mini/poker/poker_2_4.png +0 -0
- package/lib/html/res/mini/poker/poker_2_5.png +0 -0
- package/lib/html/res/mini/poker/poker_2_6.png +0 -0
- package/lib/html/res/mini/poker/poker_2_7.png +0 -0
- package/lib/html/res/mini/poker/poker_2_8.png +0 -0
- package/lib/html/res/mini/poker/poker_2_9.png +0 -0
- package/lib/html/res/mini/poker/poker_3_10.png +0 -0
- package/lib/html/res/mini/poker/poker_3_11.png +0 -0
- package/lib/html/res/mini/poker/poker_3_12.png +0 -0
- package/lib/html/res/mini/poker/poker_3_13.png +0 -0
- package/lib/html/res/mini/poker/poker_3_14.png +0 -0
- package/lib/html/res/mini/poker/poker_3_2.png +0 -0
- package/lib/html/res/mini/poker/poker_3_3.png +0 -0
- package/lib/html/res/mini/poker/poker_3_4.png +0 -0
- package/lib/html/res/mini/poker/poker_3_5.png +0 -0
- package/lib/html/res/mini/poker/poker_3_6.png +0 -0
- package/lib/html/res/mini/poker/poker_3_7.png +0 -0
- package/lib/html/res/mini/poker/poker_3_8.png +0 -0
- package/lib/html/res/mini/poker/poker_3_9.png +0 -0
- package/lib/html/res/mini/texas/bg.jpg +0 -0
- package/lib/html/res/mini/texas/win.png +0 -0
- package/lib/html/res/quality/test.png +0 -0
- package/lib/html/res/skill/att/dark.png +0 -0
- package/lib/html/res/skill/att/divine.png +0 -0
- package/lib/html/res/skill/att/earth.png +0 -0
- package/lib/html/res/skill/att/fire.png +0 -0
- package/lib/html/res/skill/att/light.png +0 -0
- package/lib/html/res/skill/att/spell.png +0 -0
- package/lib/html/res/skill/att/trap.png +0 -0
- package/lib/html/res/skill/att/water.png +0 -0
- package/lib/html/res/skill/att/wind.png +0 -0
- package/lib/html/res/skill/frame/0.jpg +0 -0
- package/lib/html/res/skill/frame/1.jpg +0 -0
- package/lib/html/res/skill/frame/2.jpg +0 -0
- package/lib/html/res/skill/frame/3.jpg +0 -0
- package/lib/html/res/skill/frame/4.jpg +0 -0
- package/lib/html/res/skill/frame/5.jpg +0 -0
- package/lib/html/res/skill/frame/6.jpg +0 -0
- package/lib/html/res/skill/frame/7.jpg +0 -0
- package/lib/html/res/skill/frame/8.jpg +0 -0
- package/lib/html/res/skill/frame/9.jpg +0 -0
- package/lib/html/res/skill/star/level.png +0 -0
- package/lib/html/res/skill/star/rank.png +0 -0
- package/lib/html/res/skill/test.jpg +0 -0
- package/lib/html/res/vue2.js +11 -0
- package/lib/index.js +46 -0
- package/lib/inits.js +43 -0
- package/lib/msgCsl.js +97 -0
- package/lib/plugin/console.js +17 -0
- package/lib/plugin/messageQueue.js +134 -0
- package/lib/plugin/puppeteer.js +81 -0
- package/lib/plugin/rateLimiter.js +104 -0
- package/lib/plugin/server.js +206 -0
- package/lib/plugin/serverHandel/handel_base.js +27 -0
- package/lib/plugin/serverHandel/image.js +19 -0
- package/lib/plugin/serverHandel/none.js +15 -0
- package/lib/plugin/serverHandel/text.js +20 -0
- package/lib/plugin/sessions.js +33 -0
- package/lib/shared/IBody.js +2 -0
- package/lib/shared/IMassage.js +9 -0
- package/lib/shared/MsgMessage.js +4 -0
- package/lib/shared/PtlMessage.js +4 -0
- package/lib/shared/PtlTest.js +4 -0
- package/lib/shared/base.js +2 -0
- package/lib/shared/face/index.js +47 -0
- package/lib/shared/serviceProto.js +328 -0
- package/package.json +36 -0
- package/readme.md +9 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>游戏王卡片</title>
|
|
8
|
+
<script src="../res/vue2.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="../css/skill.css">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body>
|
|
13
|
+
<div id="app">
|
|
14
|
+
<img class="pos card-frame" :src="'../res/skill/frame/' + quality + '.jpg'"
|
|
15
|
+
style="width: 406.5px; height: 593.5px;">
|
|
16
|
+
<span class="pos card-name">{{name}}·{{title}}</span>
|
|
17
|
+
<img v-for="(n, index) in quality" :key="index"
|
|
18
|
+
:src="'../res/skill/star/' + (quality >= 5 ? 'rank' : 'level') + '.png'" class="pos filter"
|
|
19
|
+
:style="{ left: 30 + index * 40 + 'px', top: '70px', width: '27px' }">
|
|
20
|
+
<img class="pos filter" src="../res/skill/test.jpg" style="right: 49.5px;top: 110px;width: 307px;">
|
|
21
|
+
<div class="pos descArea" style="">
|
|
22
|
+
<div>
|
|
23
|
+
<div class="content">
|
|
24
|
+
<span class="text-content">
|
|
25
|
+
<span style="font-weight: bold;">【{{sys}}】</span>
|
|
26
|
+
<span>{{getQuality(quality)}}级{{name}}血统·{{title}}({{leve}}级{{exp[0] / exp[1] * 100}}%)
|
|
27
|
+
</span>
|
|
28
|
+
</span>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="split-line"></div>
|
|
31
|
+
<div class="content">
|
|
32
|
+
<span class="text-content">
|
|
33
|
+
<span style="font-weight: bold;">【成长属性】</span><span v-for="(item, index) in att"
|
|
34
|
+
:key="index">{{item.key}}{{item.val > 0 ? '+' : ''}}{{item.val}}│</span>
|
|
35
|
+
</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="split-line"></div>
|
|
39
|
+
<div class="content" style="text-align: center;justify-content: center;">
|
|
40
|
+
<span class="text-content">
|
|
41
|
+
{{desc}}
|
|
42
|
+
</span>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<script>
|
|
48
|
+
let data = {
|
|
49
|
+
name: "修真",
|
|
50
|
+
sys: '魔幻本质',
|
|
51
|
+
title: "筑基期",
|
|
52
|
+
exp: [0, 100],
|
|
53
|
+
leve:'1',
|
|
54
|
+
att: [{
|
|
55
|
+
key: '最大生命值',
|
|
56
|
+
val: 100
|
|
57
|
+
}],
|
|
58
|
+
quality: 5,
|
|
59
|
+
desc: "我听到了「招灾」的回响,这是一个卑微作家的惊惶",
|
|
60
|
+
};
|
|
61
|
+
new Vue({
|
|
62
|
+
el: '#app',
|
|
63
|
+
data,
|
|
64
|
+
mounted() {
|
|
65
|
+
this.data = data;
|
|
66
|
+
},
|
|
67
|
+
methods: {
|
|
68
|
+
getQuality(quality) {
|
|
69
|
+
// 品质映射
|
|
70
|
+
const qualities = ['F', 'D', 'C', 'B', 'A', 'S', 'SS', 'SSS', 'SR', 'SSR'];
|
|
71
|
+
return qualities[quality] || '未知';
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
</script>
|
|
76
|
+
</body>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|