forked from billyvg/OverlayPlugin-themes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Torgan.MiniParse.html
89 lines (78 loc) · 2.82 KB
/
Torgan.MiniParse.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="css/Torgan.MiniParse.css" rel="stylesheet" type="text/css" />
<style>
#dpsMeterHeader { border: 0; }
</style>
<script type="text/javascript" src="app/Torgan.MiniParse.js"></script>
<script>
// Party members display type
// FN => Full Name
// S => Surname
// SA => Surname Abbreviated
// F => Forename
// FA => Forename Abbreviated
nameDisplayType = "SA";
// Your display name. Leave blank for default value.
displayName = "";
maxCombatantsShown = 9;
showDpsBar = true;
useHTMLEncounterDefine = true;
headerDefine = [];
var viewModes = {
damage: {
encounter: "<div class=\"rdps\">Raid DPS: <span>{ENCDPS}</span></div><div class=\"time\">Time: <span>{duration}</span></div>",
body: [
{ html: "{icon}", class: "icon" },
{ text: "{name}", class: "name" },
{ text: "{crithit%}", class: "crit" },
{ text: "{ENCDPS}", class: "dps" },
{ text: "{misses}", class: "miss", autohide: true }
],
},
healing: {
encounter: "<div class=\"rdps\">Raid HPS: <span>{ENCHPS}</span></div><div class=\"time\">Time: <span>{duration}</span></div>",
body: [
{ html: "{icon}", class: "icon" },
{ text: "{name}", class: "name" },
{ text: "{critheal%}", class: "crit" },
{ text: "{ENCHPS}", class: "dps" },
{ text: "{OverHealPct}", class: "oheal", autohide: true }
]
},
tanking: {
encounter: "<div class=\"rdps\">Raid DTPS: <span>{ENCDTPS}</span></div><div class=\"time\">Time: <span>{duration}</span></div>",
body: [
{ html: "{icon}", class: "icon" },
{ text: "{name}", class: "name" },
{ text: "{ParryPct}", class: "crit" },
{ text: "{ENCDTPS}", class: "dps" },
{ text: "{BlockPct}", class: "block", autohide: true }
]
}
};
</script>
</head>
<body>
<div id="wrapper">
<div id="encounter" class="encounter">
No data to show.
<!-- ここにエンカウント情報が入る -->
</div>
<div id="dpsMeter" class="dpsMeter">
<div id="dpsMeterHeader" class="dpsMeterHeader"></div>
<div id="dpsMeterBody" class="dpsMeterBody"></div>
</div>
<ul class="viewModes"><li onclick="setMode('damage');" class="damage"></li><li onclick="setMode('healing');" class="healing"></li><li onclick="setMode('tanking');" class="tanking"></li></ul>
</div>
<script>
var encounter = document.getElementById("encounter"),
dpsMeter = document.getElementById("dpsMeter"),
dpsMeterHeader = document.getElementById("dpsMeterHeader"),
dpsMeterBody = document.getElementById("dpsMeterBody");
</script>
<!--<script type="text/javascript" src="testing.js"></script>-->
</body>
</html>