[Nanochrome] Update
This commit is contained in:
+87
-20
@@ -4,11 +4,16 @@
|
||||
{
|
||||
justify-content:space-between;
|
||||
flex-wrap:wrap;
|
||||
min-width:720px;
|
||||
min-width:800px;
|
||||
align-items:flex-start;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.sheet-fichePNJ
|
||||
{
|
||||
min-width:800px;
|
||||
}
|
||||
|
||||
.sheet-tab1,
|
||||
.sheet-tab2
|
||||
{
|
||||
@@ -438,6 +443,9 @@ div.sheet-initiative > input[type="hidden"][value="1"] ~ button[type="roll"],
|
||||
div.sheet-initiative > input[type="hidden"][value="0"] ~ div:nth-of-type(1),
|
||||
div.sheet-defense > input[type="hidden"][value="1"] ~ label:nth-of-type(2),
|
||||
div.sheet-defense > input[type="hidden"][value="0"] ~ div:nth-of-type(1),
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > input[type="hidden"][value="1"] ~ label:nth-of-type(2),
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > input[type="hidden"][value="1"] ~ button[type="roll"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > input[type="hidden"][value="0"] ~ div:nth-of-type(1),
|
||||
div.sheet-heroisme > input[type="hidden"][value="1"]:first-of-type ~ label:nth-of-type(2),
|
||||
div.sheet-heroisme > input[type="hidden"][value="0"]:first-of-type ~ div:nth-of-type(2),
|
||||
div.sheet-PVPNJ > input[type="hidden"][value="1"] ~ label:nth-of-type(2),
|
||||
@@ -473,6 +481,7 @@ div.sheet-PV > label:nth-of-type(1),
|
||||
div.sheet-connexion > label:nth-of-type(1),
|
||||
div.sheet-initiative > label:nth-of-type(1),
|
||||
div.sheet-defense > label:nth-of-type(1),
|
||||
div.sheet-pareFeu > div > label:nth-of-type(1),
|
||||
div.sheet-heroisme > label:nth-of-type(1),
|
||||
div.sheet-PVPNJ > label:nth-of-type(1),
|
||||
div.sheet-puissance > label:nth-of-type(1)
|
||||
@@ -487,6 +496,7 @@ div.sheet-PV > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-connexion > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-initiative > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-defense > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-pareFeu > div > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-heroisme > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-PVPNJ > label:nth-of-type(1) > input[type="checkbox"],
|
||||
div.sheet-puissance > label:nth-of-type(1) > input[type="checkbox"]
|
||||
@@ -502,6 +512,7 @@ div.sheet-PV > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-connexion > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-initiative > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-defense > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-pareFeu > div > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-heroisme > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-PVPNJ > label:nth-of-type(1) > input[type="checkbox"] ~ span,
|
||||
div.sheet-puissance > label:nth-of-type(1) > input[type="checkbox"] ~ span
|
||||
@@ -513,6 +524,7 @@ div.sheet-PV > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-connexion > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-initiative > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-defense > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-pareFeu > div > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-heroisme > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-PVPNJ > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-puissance > label:nth-of-type(1) > input[type="checkbox"] ~ span::before
|
||||
@@ -530,6 +542,7 @@ div.sheet-PV:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::befor
|
||||
div.sheet-connexion:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-initiative:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-defense:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-pareFeu:hover > div > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-heroisme:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-PVPNJ:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before,
|
||||
div.sheet-puissance:hover > label:nth-of-type(1) > input[type="checkbox"] ~ span::before
|
||||
@@ -541,6 +554,7 @@ div.sheet-PV > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::bef
|
||||
div.sheet-connexion > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-initiative > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-defense > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-pareFeu > div > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-heroisme > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-PVPNJ > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before,
|
||||
div.sheet-puissance > label:nth-of-type(1) > input[type="checkbox"]:checked ~ span::before
|
||||
@@ -571,8 +585,7 @@ div.sheet-puissance > label:nth-of-type(2)
|
||||
height:30px;
|
||||
}
|
||||
|
||||
div.sheet-defense > label:nth-of-type(2),
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > label:nth-of-type(1)
|
||||
div.sheet-defense > label:nth-of-type(2)
|
||||
{
|
||||
width:100%;
|
||||
border-radius:5px;
|
||||
@@ -581,6 +594,16 @@ div.sheet-pareFeu > div:nth-of-type(1) > label:nth-of-type(1)
|
||||
height:30px;
|
||||
}
|
||||
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > label:nth-of-type(2)
|
||||
{
|
||||
width:100%;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border:1px solid black;
|
||||
justify-content:space-between;
|
||||
height:30px;
|
||||
}
|
||||
|
||||
div.sheet-PV > label:nth-of-type(2) > input[type="number"],
|
||||
div.sheet-connexion > label:nth-of-type(2) > input[type="number"],
|
||||
div.sheet-heroisme > label:nth-of-type(2) > input[type="number"],
|
||||
@@ -594,9 +617,9 @@ div.sheet-PVPNJ > label:nth-of-type(2) > input[type="number"]
|
||||
font-size:20px;
|
||||
}
|
||||
|
||||
div.sheet-initiative > label:nth-of-type(2) > input[type="number"],
|
||||
div.sheet-initiative > label:nth-of-type(2) > input[type="text"],
|
||||
div.sheet-defense > label:nth-of-type(2) > input[type="number"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > label:nth-of-type(2) > input[type="text"],
|
||||
div.sheet-puissance > label:nth-of-type(2) > input[type="number"]
|
||||
{
|
||||
width: 100%;
|
||||
@@ -608,6 +631,7 @@ div.sheet-puissance > label:nth-of-type(2) > input[type="number"]
|
||||
}
|
||||
|
||||
div.sheet-initiative > button[type="roll"],
|
||||
div.sheet-pareFeu > div > button[type="roll"],
|
||||
div.sheet-puissance > button[type="roll"]
|
||||
{
|
||||
width: 100%;
|
||||
@@ -620,6 +644,7 @@ div.sheet-puissance > button[type="roll"]
|
||||
}
|
||||
|
||||
div.sheet-initiative > button[type="roll"]::before,
|
||||
div.sheet-pareFeu > div > button[type="roll"]::before,
|
||||
div.sheet-puissance > button[type="roll"]::before
|
||||
{
|
||||
font-family:dicefontd6;
|
||||
@@ -705,6 +730,7 @@ div.sheet-heroisme > div:nth-of-type(1)
|
||||
|
||||
div.sheet-heroisme > div:nth-of-type(1) > input[type="hidden"][value="0"] ~ span:nth-of-type(7),
|
||||
div.sheet-heroisme > div:nth-of-type(1) > input[type="hidden"][value="0"] ~ span:nth-of-type(9),
|
||||
div.sheet-heroisme > div:nth-of-type(1) > input[type="hidden"][value="1"] ~ span:nth-of-type(5),
|
||||
div.sheet-heroisme > div:nth-of-type(1) > input[type="hidden"][value="1"] ~ span:nth-of-type(6),
|
||||
div.sheet-heroisme > div:nth-of-type(1) > input[type="hidden"][value="1"] ~ span:nth-of-type(8)
|
||||
{
|
||||
@@ -1003,6 +1029,7 @@ div.sheet-PV > div:nth-of-type(2),
|
||||
div.sheet-PV > div:nth-of-type(3),
|
||||
div.sheet-connexion > div:nth-of-type(1),
|
||||
div.sheet-initiative > div:nth-of-type(1),
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1),
|
||||
div.sheet-defense > div:nth-of-type(1),
|
||||
div.sheet-heroisme > div:nth-of-type(2),
|
||||
div.sheet-PVPNJ > div:nth-of-type(1),
|
||||
@@ -1017,6 +1044,7 @@ div.sheet-PV > div:nth-of-type(3) > label,
|
||||
div.sheet-connexion > div:nth-of-type(1) > label,
|
||||
div.sheet-initiative > div:nth-of-type(1) > label,
|
||||
div.sheet-defense > div:nth-of-type(1) > label,
|
||||
div.sheet-pareFeu > div:first-of-type > div:nth-of-type(1) > label,
|
||||
div.sheet-heroisme > div:nth-of-type(2) > label,
|
||||
div.sheet-PVPNJ > div:nth-of-type(1) > label,
|
||||
div.sheet-puissance > div:nth-of-type(1) > label
|
||||
@@ -1032,6 +1060,7 @@ div.sheet-PV > div:nth-of-type(3) > div,
|
||||
div.sheet-connexion > div:nth-of-type(1) > div,
|
||||
div.sheet-initiative > div:nth-of-type(1) > div,
|
||||
div.sheet-defense > div:nth-of-type(1) > div,
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > div,
|
||||
div.sheet-heroisme > div:nth-of-type(2) > div,
|
||||
div.sheet-pareFeu > div:nth-of-type(2),
|
||||
div.sheet-PVPNJ > div:nth-of-type(1) > div,
|
||||
@@ -1046,7 +1075,10 @@ div.sheet-PV > div:nth-of-type(2) > label > input[type="number"],
|
||||
div.sheet-PV > div:nth-of-type(3) > label > input[type="number"],
|
||||
div.sheet-connexion > div:nth-of-type(1) > label > input[type="number"],
|
||||
div.sheet-initiative > div:nth-of-type(1) > label > input[type="number"],
|
||||
div.sheet-initiative > div:nth-of-type(1) > label > input[type="text"],
|
||||
div.sheet-defense > div:nth-of-type(1) > label > input[type="number"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > label > input[type="number"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > label > input[type="text"],
|
||||
div.sheet-heroisme > div:nth-of-type(2) > label > input[type="number"],
|
||||
div.sheet-PVPNJ > div:nth-of-type(1) > label > input[type="number"],
|
||||
div.sheet-puissance > div:nth-of-type(1) > label > input[type="number"]
|
||||
@@ -1062,8 +1094,9 @@ div.sheet-puissance > div:nth-of-type(1) > label > input[type="number"]
|
||||
|
||||
div.sheet-PV > div:nth-of-type(3) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-connexion > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-initiative > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-initiative > div:nth-of-type(1) > label:nth-of-type(1) > input[type="text"],
|
||||
div.sheet-defense > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1) > input[type="text"],
|
||||
div.sheet-heroisme > div:nth-of-type(2) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-PVPNJ > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"],
|
||||
div.sheet-puissance > div:nth-of-type(1) > label:nth-of-type(1) > input[type="number"]
|
||||
@@ -1077,6 +1110,7 @@ div.sheet-PV > div:nth-of-type(2) > label > span,
|
||||
div.sheet-PV > div:nth-of-type(3) > label > span,
|
||||
div.sheet-connexion > div:nth-of-type(1) > label > span,
|
||||
div.sheet-initiative > div:nth-of-type(1) > label > span,
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > label > span,
|
||||
div.sheet-defense > div:nth-of-type(1) > label > span,
|
||||
div.sheet-heroisme > div:nth-of-type(2) > label > span,
|
||||
div.sheet-pareFeu > div:nth-of-type(3) > span,
|
||||
@@ -1095,6 +1129,7 @@ div.sheet-PV > div:nth-of-type(3) > label:nth-of-type(1) > span,
|
||||
div.sheet-connexion > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
div.sheet-initiative > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
div.sheet-defense > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
div.sheet-pareFeu > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
div.sheet-heroisme > div:nth-of-type(2) > label:nth-of-type(1) > span,
|
||||
div.sheet-PV > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
div.sheet-PVPNJ > div:nth-of-type(1) > label:nth-of-type(1) > span,
|
||||
@@ -1292,14 +1327,20 @@ div.sheet-vehicule > span
|
||||
padding-left:2px;
|
||||
}
|
||||
|
||||
div.sheet-armement > span:nth-of-type(1),
|
||||
div.sheet-armementPNJ > span:nth-of-type(1)
|
||||
div.sheet-armement > span:nth-of-type(1)
|
||||
{
|
||||
width:calc(100% - 20px - 45px - 45px - 250px - 225px - 25px);
|
||||
width:calc(100% - 20px - 45px - 45px - (135px*2) - 25px - 150px);
|
||||
padding-left:20px;
|
||||
justify-content:left;
|
||||
}
|
||||
|
||||
div.sheet-armementPNJ > span:nth-of-type(1)
|
||||
{
|
||||
width: calc(100% - 20px - 45px - 45px - 250px - 225px - 25px);
|
||||
padding-left: 20px;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
div.sheet-protection > span:nth-of-type(1)
|
||||
{
|
||||
width:calc(100% - 45px - 200px - 270px - 20px);
|
||||
@@ -1307,22 +1348,31 @@ div.sheet-protection > span:nth-of-type(1)
|
||||
padding-left:2px;
|
||||
}
|
||||
|
||||
div.sheet-armement > span:nth-of-type(2),
|
||||
div.sheet-armementPNJ > span:nth-of-type(2),
|
||||
div.sheet-armement > span:nth-of-type(2)
|
||||
{
|
||||
width:150px;
|
||||
}
|
||||
|
||||
div.sheet-armement > span:nth-of-type(3),
|
||||
div.sheet-armementPNJ > span:nth-of-type(2),
|
||||
div.sheet-armement > span:nth-of-type(4),
|
||||
div.sheet-armementPNJ > span:nth-of-type(3),
|
||||
div.sheet-protection > span:nth-of-type(2)
|
||||
{
|
||||
width:45px;
|
||||
}
|
||||
|
||||
div.sheet-armement > span:nth-of-type(4),
|
||||
div.sheet-armement > span:nth-of-type(5),
|
||||
div.sheet-armement > span:nth-of-type(6)
|
||||
{
|
||||
width:135px;
|
||||
}
|
||||
|
||||
div.sheet-armementPNJ > span:nth-of-type(4)
|
||||
{
|
||||
width:250px;
|
||||
}
|
||||
|
||||
div.sheet-armement > span:nth-of-type(5),
|
||||
div.sheet-armementPNJ > span:nth-of-type(5)
|
||||
{
|
||||
width:225px;
|
||||
@@ -1434,7 +1484,13 @@ div.sheet-protection > .repcontainer > .repitem > input[type="number"]
|
||||
border-color:black;
|
||||
}
|
||||
|
||||
div.sheet-armement > .repcontainer > .repitem > select,
|
||||
div.sheet-armement > .repcontainer > .repitem > select
|
||||
{
|
||||
width:150px;
|
||||
padding-left:2px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:nth-of-type(1)
|
||||
{
|
||||
width:calc(100% - 20px - 45px - 45px - 250px - 225px - 25px);
|
||||
@@ -1457,20 +1513,30 @@ div.sheet-protection > .repcontainer > .repitem > input[type="number"]
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:not(:nth-of-type(1)),
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:not(:nth-of-type(1))
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:not(:nth-of-type(1))
|
||||
{
|
||||
width:200px;
|
||||
}
|
||||
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:nth-of-type(3),
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:nth-of-type(3)
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:nth-of-type(1)
|
||||
{
|
||||
width:calc(100% - 20px - 45px - 45px - (135px*2) - 25px - 150px);
|
||||
padding-left:2px;
|
||||
margin-left:-5px;
|
||||
}
|
||||
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:nth-of-type(4),
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:nth-of-type(5)
|
||||
{
|
||||
width:135px;
|
||||
}
|
||||
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:nth-of-type(4)
|
||||
{
|
||||
width:250px;
|
||||
}
|
||||
|
||||
div.sheet-armement > .repcontainer > .repitem > input[type="text"]:nth-of-type(4),
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:nth-of-type(4)
|
||||
div.sheet-armementPNJ > .repcontainer > .repitem > input[type="text"]:nth-of-type(5)
|
||||
{
|
||||
width:225px;
|
||||
}
|
||||
@@ -2061,6 +2127,7 @@ div.sheet-parametresJets > div > label:nth-of-type(2) > select
|
||||
display:flex;
|
||||
width:100%;
|
||||
justify-content:center;
|
||||
text-align:center;
|
||||
font-size:18px;
|
||||
font-weight:bold;
|
||||
font-variant:small-caps;
|
||||
|
||||
+92
-13
@@ -922,6 +922,44 @@
|
||||
});
|
||||
});
|
||||
|
||||
on("change:intelligence change:initiative_bonusD6 change:initiative_bonusDes sheet:opened", function()
|
||||
{
|
||||
getAttrs(["intelligence", "initiative_bonusD6", "initiative_bonusDes"], function(values)
|
||||
{
|
||||
var intel = parseInt(values["intelligence"], 10)||0;
|
||||
var bonus = parseInt(values["initiative_bonusD6"], 10)||0;
|
||||
var D6 = parseInt(values["initiative_bonusDes"], 10)||0;
|
||||
|
||||
var dice = 3;
|
||||
dice += D6;
|
||||
|
||||
var total = intel+bonus;
|
||||
|
||||
setAttrs({
|
||||
initiative:dice+"D6+"+total
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
on("change:puissancePNJ change:initiativePNJ_bonus change:initiativePNJ_bonusDes sheet:opened", function()
|
||||
{
|
||||
getAttrs(["puissancePNJ", "initiativePNJ_bonus", "initiativePNJ_bonusDes"], function(values)
|
||||
{
|
||||
var puissance = parseInt(values["puissancePNJ"], 10)||0;
|
||||
var bonus = parseInt(values["initiativePNJ_bonus"], 10)||0;
|
||||
var D6 = parseInt(values["initiativePNJ_bonusDes"], 10)||0;
|
||||
|
||||
var dice = 3;
|
||||
dice += D6;
|
||||
|
||||
var total = puissance+bonus;
|
||||
|
||||
setAttrs({
|
||||
initiativePNJ:dice+"D6+"+total
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
on("change:version", function()
|
||||
{
|
||||
getAttrs(["version"], function(values)
|
||||
@@ -950,6 +988,7 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="top">
|
||||
<div class="version">
|
||||
<input type="hidden" name="attr_version" value="0" />
|
||||
@@ -1201,12 +1240,12 @@
|
||||
<span></span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="attr_initiative" value="@{initiative_bonusIntelligence}+@{initiative_bonusD6}" disabled />
|
||||
<input type="text" name="attr_initiative" value="0" readonly />
|
||||
</label>
|
||||
<button type="roll" name="roll_initiative" value="@{gm} &{template:base} {{nom=Initiative}} {{jet=[[3D6+[[@{initiative}]]+@{bonus} &{tracker}]]}}" ></button>
|
||||
<button type="roll" name="roll_initiative" value="@{gm} &{template:base} {{nom=Initiative}} {{jet=[[ @{initiative}+@{bonus} &{tracker}]]}}" ></button>
|
||||
<div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiative" value="@{initiative_bonusIntelligence}+@{initiative_bonusD6}" disabled />
|
||||
<input type="text" name="attr_initiative" value="0" readonly />
|
||||
<span>Total</span>
|
||||
</label>
|
||||
<div></div>
|
||||
@@ -1217,7 +1256,12 @@
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiative_bonusD6" value="0" />
|
||||
<span>Bonus D6</span>
|
||||
<span>Bonus aux D6</span>
|
||||
</label>
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiative_bonusDes" value="0" />
|
||||
<span>D6 Bonus</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1234,7 +1278,7 @@
|
||||
</label>
|
||||
<div>
|
||||
<label>
|
||||
<input type="number" name="attr_defense" value="10+@{defense_bonusSagesse}+@{defense_protection}+@{defense_cyber}+@{defense_capacites}" disabled />
|
||||
<input type="number" name="attr_defense" value="10-(@{version}*3)+@{defense_bonusSagesse}+@{defense_protection}+@{defense_cyber}+@{defense_capacites}" disabled />
|
||||
<span>Total</span>
|
||||
</label>
|
||||
<div></div>
|
||||
@@ -1310,10 +1354,32 @@
|
||||
|
||||
<div class="pareFeu">
|
||||
<div>
|
||||
<input type="hidden" name="attr_expandPareFeu" value="0" />
|
||||
<span>Pare-Feu</span>
|
||||
<label>
|
||||
<input type="number" name="attr_pareFeu" value="0"/>
|
||||
<input type="checkbox" name="attr_expandPareFeu" value="1" />
|
||||
<span></span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="attr_pareFeu_total" value="@{pareFeu}" disabled />
|
||||
</label>
|
||||
<button type="roll" name="roll_pareFeu" value="@{gm} &{template:base} {{nom=Pare-Feu}} {{jet=[[ 1D6 ]]}} {{bonus=[[ @{pareFeu_bonusDes}D6 ]]}}" ></button>
|
||||
<div>
|
||||
<label>
|
||||
<input type="text" name="attr_pareFeu_total" value="@{pareFeu}" disabled />
|
||||
<span>Total</span>
|
||||
</label>
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_pareFeu" value="0" />
|
||||
<span>Base</span>
|
||||
</label>
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_pareFeu_bonusDes" value="0" min="0" max="1" />
|
||||
<span>D6 Bonus</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div></div>
|
||||
<div>
|
||||
@@ -1361,13 +1427,15 @@
|
||||
<div class="tab1">
|
||||
<div class="armement">
|
||||
<span>Armes de corps à corps</span>
|
||||
<span>Type</span>
|
||||
<span>Att.</span>
|
||||
<span>Dgts</span>
|
||||
<span>Discrétion</span>
|
||||
<span>Options</span>
|
||||
<fieldset class="repeating_armementcac">
|
||||
<button type="roll" name="roll_buttonRelance" style="display:none;" value="@{gm} &{template:base} {{nom=Relance dégâts}} {{jet=[[1D6!]]}}" ></button>
|
||||
<button type="roll" name="roll_armementCaC" value="@{gm} &{template:base} {{nom=@{nomArmementCaC}}} {{attaque=[[2D6+@{force}[For]+@{attArmementCaC}[Arme]+@{bonus}[Bonus]@{malusBlessureV1}]]}} {{deSpecial=[[1D6]]}} {{degats=[[@{force}+@{dgtsArmementCaC}]]}} {{relance=[Relance dégâts](~repeating_armementcac_buttonRelance)}}" ></button>
|
||||
<button type="roll" name="roll_armementCaC" value="@{gm} &{template:base} {{nom=@{nom}}} {{attaque=[[2D6+@{force}[For]+@{attArmementCaC}[Arme]+@{bonus}[Bonus]@{malusBlessureV1}]]}} {{deSpecial=[[1D6]]}} {{degats=[[@{force}+@{dgtsArmementCaC}]]}} {{relance=[Relance dégâts](~repeating_armementcac_buttonRelance)}}" ></button>
|
||||
<input type="text" name="attr_nom" />
|
||||
<select name="attr_nomArmementCaC">
|
||||
<option value=""></option>
|
||||
<option value="Nanolame courte">Nanolame courte</option>
|
||||
@@ -1384,13 +1452,15 @@
|
||||
|
||||
<div class="armement">
|
||||
<span>Armes à distance</span>
|
||||
<span>Type</span>
|
||||
<span>Att.</span>
|
||||
<span>Dgts</span>
|
||||
<span>Discrétion</span>
|
||||
<span>Options</span>
|
||||
<fieldset class="repeating_armementdistance">
|
||||
<button type="roll" name="roll_buttonRelance" style="display:none;" value="@{gm} &{template:base} {{nom=Relance dégâts}} {{jet=[[1D6!]]}}" ></button>
|
||||
<button type="roll" name="roll_armementDistance" value="@{gm} &{template:base} {{nom=@{nomArmementDistance}}} {{attaque=[[2D6+@{dexterite}[Dex]+@{attArmementDistance}[Arme]+@{bonus}[Bonus]@{malusBlessureV1}]]}} {{deSpecial=[[1D6]]}} {{degats=[[@{dexterite}+@{dgtsArmementDistance}]]}} {{relance=[Relance dégâts](~repeating_armementdistance_buttonRelance)}}" ></button>
|
||||
<button type="roll" name="roll_armementDistance" value="@{gm} &{template:base} {{nom=@{nom}}} {{attaque=[[2D6+@{dexterite}[Dex]+@{attArmementDistance}[Arme]+@{bonus}[Bonus]@{malusBlessureV1}]]}} {{deSpecial=[[1D6]]}} {{degats=[[@{dexterite}+@{dgtsArmementDistance}]]}} {{relance=[Relance dégâts](~repeating_armementdistance_buttonRelance)}}" ></button>
|
||||
<input type="text" name="attr_nom" />
|
||||
<select name="attr_nomArmementDistance">
|
||||
<option value=""></option>
|
||||
<option value="Arme de poing">Arme de poing</option>
|
||||
@@ -1688,12 +1758,12 @@
|
||||
<span></span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="attr_initiativePNJ" value="@{initiativePNJ_puissance}+@{initiativePNJ_bonus}" disabled />
|
||||
<input type="text" name="attr_initiativePNJ" value="0" readonly />
|
||||
</label>
|
||||
<button type="roll" name="roll_initiativePNJ" value="@{gm} &{template:base} {{nom=Initiative}} {{jet=[[3D6+[[@{initiativePNJ}]]+@{bonus} &{tracker}]]}}" ></button>
|
||||
<button type="roll" name="roll_initiativePNJ" value="@{gm} &{template:base} {{nom=Initiative}} {{jet=[[ @{initiativePNJ}+@{bonus} &{tracker}]]}}" ></button>
|
||||
<div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiativePNJ" value="@{initiativePNJ_puissance}+@{initiativePNJ_bonus}" disabled />
|
||||
<input type="text" name="attr_initiativePNJ" value="0" readonly />
|
||||
<span>Total</span>
|
||||
</label>
|
||||
<div></div>
|
||||
@@ -1704,7 +1774,12 @@
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiativePNJ_bonus" value="0" />
|
||||
<span>Bonus D6</span>
|
||||
<span>Bonus aux D6</span>
|
||||
</label>
|
||||
<div></div>
|
||||
<label>
|
||||
<input type="number" name="attr_initiativePNJ_bonusDes" value="0" />
|
||||
<span>D6 Bonus</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1864,7 +1939,11 @@
|
||||
{{#jet}}
|
||||
<div>
|
||||
<span>Résultat</span>
|
||||
<span>{{jet}}</span>
|
||||
<span>{{jet}}
|
||||
{{#rollGreater() bonus 0}}
|
||||
+ {{bonus}}
|
||||
{{/rollGreater() bonus 0}}
|
||||
</span>
|
||||
</div>
|
||||
{{/jet}}
|
||||
{{#attaque}}
|
||||
|
||||
Reference in New Issue
Block a user