minor changes

This commit is contained in:
AlpenYeti 2017-02-15 21:34:23 +01:00
parent 7a630eab1e
commit c29cd8c8ed
4 changed files with 16 additions and 12 deletions

View File

@ -2,7 +2,7 @@ General
Perfection__ P
Defence
Defense
Défense_impénétrable I_1
Défense_impénétrable I_2
Défense_impénétrable I_4

View File

@ -1,6 +1,6 @@
on("chat:message", function(msg) {
//This allows players to enter !sr <number> to roll a number of d6 dice with a target of 4.
if(msg.type == "api" && msg.content.indexOf("!crit ") !== -1) {
var sndr=msg.who;
var numdice = msg.content.replace("!crit ", "");
@ -17,8 +17,8 @@ on("chat:message", function(msg) {
sendChat(sndr,result);
//log(rollresult);
//Now do something with rollresult, just like you would during a chat:message event...
});
}
});
});

View File

@ -278,12 +278,12 @@
</div>
<!--DEFENCE -->
<!--defense -->
<div class="sheet-tab-content sheet-secondary_tab3">
<button type='roll' class="sheet-Attack_roll" value="/e se defend: [[?{Dégats a defendre}-(@{nb_defence_dices}d10+@{base_defence_dices}+@{Skill_general_attribute_select_defence})]]">Defence</button>
<input type="number" class="sheet-numberbox" name="attr_nb_defence_dices" value="0"/>d10+
<input type="number" class="sheet-numberbox" name="attr_base_defence_dices" value="0"/>
<select class="sheet-skill_select" style="margin-right:4px" name="attr_Skill_general_attribute_select_defence"><option value="@{base-Force} + @{exal-Force}">For</option><option value="@{base-Agilite} + @{exal-Agilite}">Agi</option></select>
<button type='roll' class="sheet-Attack_roll" value="/e se defend: [[?{Dégats a defendre}-(@{nb_defense_dices}d10+@{base_defense_dices}+@{Skill_general_attribute_select_defense})]]">Defense</button>
<input type="number" class="sheet-numberbox" name="attr_nb_defense_dices" value="0"/>d10+
<input type="number" class="sheet-numberbox" name="attr_base_defense_dices" value="0"/>
<select class="sheet-skill_select" style="margin-right:4px" name="attr_Skill_general_attribute_select_defense"><option value="@{base-Force} + @{exal-Force}">For</option><option value="@{base-Agilite} + @{exal-Agilite}">Agi</option></select>
<br/>
<!--Defense_impenetrable -->

View File

@ -38,7 +38,7 @@ input.sheet-tab::before{
border:2px solid black;
text-align: center;
display: inline-block;
background: black;
color:white;
width: 150px;
@ -61,7 +61,7 @@ input.sheet-small_tab{
}
input.sheet-small_tab::before{
content: attr(title);
border-radius:.5em;
text-align: center;
display: inline-block;
@ -99,3 +99,7 @@ select.sheet-dice_select{
width:85px;
margin-bottom:-1px;
}
.sheet-numberbox {
width: 50px;
}