Update "coups spéciaux"

This commit is contained in:
Kaias26
2018-09-03 12:11:18 +02:00
parent 9efb9fd873
commit 2dde48288a
+52 -29
View File
@@ -1409,41 +1409,64 @@
<br />
<div class="sheet-coupsspeciaux">
<h2>Coups spéciaux</h2>
<div class="sheet-tableth">
<div class="sheet-col" style="width: 236px;">Coup</div>
<div class="sheet-col" style="width: 76px;">Stat.</div>
<div class="sheet-col" style="width: 86px;">Mod.</div>
<div class="sheet-col" style="width: 86px;">Dégats</div>
<div class="sheet-col" style="width: 166px;">Jets</div>
</div>
<fieldset class="repeating_coupsSpeciaux">
<div class="sheet-row">
<div class="sheet-col" style="width: 250px;">
<input type="text" class="sheet-noBorder" name="attr_CoupSpecial_Nom" value="" />
<div class="sheet-group">
<div class="sheet-row">
<div class="sheet-col" style="width: 500px;">
<input type="text" class="sheet-noBorder" name="attr_CoupSpecial_Nom" value="" />
</div>
<div class="sheet-col" style="width: 200px;">
<button type="roll" value="@{displayJet} &{template:default} {{name=@{Personnage_Nom} prépare son coup spécial @{CoupSpecial_Nom} }} {{ Épreuve=@{CoupSpecial_Jet} + @{CoupSpecial_mod} }} {{ Résultat=[[1d20]] }}" > Épreuve</button>
<button type="roll" class="sheet-rollDegats" value="@{displayJet} &{template:default} {{name=Dégats de @{Personnage_Nom} avec @{CoupSpecial_Nom}}} {{ Dégats=[[@{CoupSpecial_Degats}]] }}" > Dégats</button>
</div>
</div>
<div class="sheet-col" style="width: 80px;">
<select name="attr_CoupSpecial_Jet">
<option value="AT : @{Stats_Attaque_total}">AT</option>
<option value="AD : @{Stats_Adresse_total}">AD</option>
<option value="FO : @{Stats_Force_total}">FO</option>
<option value="AD/FO : [[ceil((@{Stats_Force_total}+@{Stats_Adresse_total})/2)]]">AD/FO</option>
</select>
<input type="checkbox" name="attr_CoupSpecial_config" class="sheet-config-flag" value="1" /><span class="sheet-cog">y</span>
<div class="sheet-config">
<br>
<div class="sheet-row">
<div class="sheet-col" style="width: 110px;"><b>Utilisation :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_utilisation"></div>
<div class="sheet-col" style="width: 110px; margin-left: 5px;"><b>Echec :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_echec"></div>
</div>
<hr>
<div class="sheet-row">
<div class="sheet-col" style="width: 110px;"><b>Effets :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_effet"></div>
<div class="sheet-col" style="width: 110px; margin-left: 5px;"><b>Notes :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_note"></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="width: 110px;"><b>Epreuve :</b></div>
<div class="sheet-col" style="width: 270px;">
<select name="attr_CoupSpecial_Jet">
<option value="AT : @{Stats_Attaque_total}">AT</option>
<option value="AD : @{Stats_Adresse_total}">AD</option>
<option value="FO : @{Stats_Force_total}">FO</option>
<option value="AD/FO : [[ceil((@{Stats_Force_total}+@{Stats_Adresse_total})/2)]]">AD/FO</option>
</select>
<input type="number" name="attr_CoupSpecial_Mod" value="0" />
</div>
<div class="sheet-col" style="width: 110px; margin-left: 5px;"><b>Conditions :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_condition"></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="width: 110px;"><b>Dégats :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-shortInput" name="attr_CoupSpecial_Degats" value="1d6" /></div>
</div>
<hr>
<div class="sheet-row">
<div class="sheet-col" style="width: 110px;"><b>Critique :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_effet"></div>
<div class="sheet-col" style="width: 110px; margin-left: 5px;"><b>Echec critique :</b></div>
<div class="sheet-col" style="width: 270px;"><input type="text" class="sheet-noBorder" name="attr_CoupSpecial_note"></div>
</div>
</div>
<div class="sheet-col" style="width: 90px;">
<input type="number" name="attr_CoupSpecial_mod" value="0" />
</div>
<div class="sheet-col" style="width: 90px;">
<input type="text" class="sheet-shortInput" name="attr_CoupSpecial_Degats" value="1d6" />
</div>
<div class="sheet-col" style="width: 270px;">
<button type="roll" value="@{displayJet} &{template:default} {{name=@{Personnage_Nom} prépare son coup spécial @{CoupSpecial_Nom} }} {{ Épreuve=@{CoupSpecial_Jet} + @{CoupSpecial_mod} }} {{ Résultat=[[1d20]] }}" > Épreuve</button>
<button type="roll" class="sheet-rollDegats" value="@{displayJet} &{template:default} {{name=Dégats de @{Personnage_Nom} avec @{CoupSpecial_Nom}}} {{ Dégats=[[@{CoupSpecial_Degats}+@{BonusDegatsForce}]] }}" > Dégats</button>
</div>
</div>
</fieldset>
</fieldset>
</div>
<br />
<div class="sheet-coupsspeciaux">
<div class="sheet-ape">
<h2>Aptitudes Parfois Étranges</h2>
<div class="sheet-tableth">
<div class="sheet-col" style="width: 146px;">Nom</div>