html code <!-- version 1.0 FR -->
<!-- Danmachi powererd by Capitaine Red -->
<div class="sheet-FondPrinicpale"> <!-- debut FondPrincipale -->
<div class="sheet-table-row">
<div style="display: table-cell;" class="sheet-descrip"><!-- debut descrption -->
<div style="display:table;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-Zones">Description</div>
</div>
</div>
<div style="display: table-row;">
&nbsp;
</div>
</div>
<div style="display:table;"> <!-- ligne 1 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 50px;">Nom</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_character_name" title="Nom du personnage" style="width: 120px;">
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 80px;">Prénom</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_Prenom" title="Prénom du personnage" style="width: 120px;" >
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 2 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 60px;">Mâle</div>
</div>
<div style="display: table-cell;">
<input type="checkbox" name="attr_GenreM" title="Personnage Masculin" value="2" checked>
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 60px;">Femelle</div>
</div>
<div style="display: table-cell;">
<input type="checkbox" name="attr_GenreF" title="Personnage Féminin" value="2">
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 3 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 50px;">Race</div>
</div>
<div style="display: table-cell;">
<select class="sheet-info-perso" style="width: 140px;" name="attr_Race" title="Race">
<option disabled value>-- Humain --</option>
<option value="HC">Citadin</option>
<option value="HTS">Tribut des steppes</option>
<option value="HGN">Guerrier du Nord</option>
<option value="HN">Noble</option>
<option value="H">Sans particularité</option>
<option disabled value>-- Elfe --</option>
<option value="EHE">Haut elfe</option>
<option value="EDE">Demi-elfe</option>
<option value="EN">Elfe noir</option>
<option value="EB">Elfe des bois</option>
<option disabled value>-- Thérianthrope --</option>
<option value="TC">Canidé</option>
<option value="TF">Félin</option>
<option value="TO">Oursidé</option>
<option disabled value>-- Nain -</option>
<option value="N">Nain</option>
<option disabled value>-- Hobbit --</option>
<option value="Ho">Hobbit</option>
<option disabled value>-- Pnj --</option>
<option value="Pnj">non-jouable</option>
<option value="Lotus">Lotus</option>
</select>
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 80px;">Familia</div>
</div>
<div style="display: table-cell;">
<select class="sheet-info-perso" style="width: 100px;" name="attr_Familia" title="Familia">
<option value="Membre" selected>Membre</option>
<option value="Non membre">Non membre</option>
<option value="Rejeté">Rejeté</option>
<option value="Civil">Civil</option>
</select>
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 4 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 140px;">Nom de la Familia</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_NomFamilia" title="Nom de la familia" style="width: 234px;">
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 5 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 60px;">Taille</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_Taille" title="Taille" style="width: 55px;">
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 60px;">Poids</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_Poids" title="Poids" style="width: 55px;">
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 6 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 55px;">Age</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_age" title="Age" style="width: 85px;">
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 85px;">Type d'âge</div>
</div>
<div style="display: table-cell;">
<select class="sheet-info-perso" style="width: 149px;" name="attr_categorieAge" title="Catégorie d'âges">
<option value="-6">enfant</option>
<option value="-2">Adolescent</option>
<option value="0" selected>Age mur</option>
<option value="-2">Vieux</option>
<option value="-4">Trés vieux</option>
</select>
</div>
</div>
</div>
<div style="display:table;"> <!-- ligne 7 -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 50px;">Yeux</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_eyes" title="Couleur des yeux" style="width: 100px;">
</div>
<div style="display: table-cell;">
<div class="sheet-titre-personnage" style="width: 70px;">Cheveux</div>
</div>
<div style="display: table-cell;">
<input type="text" class="sheet-info-perso" name="attr_hair" title="Coupe et couleurs cheveux" style="width: 154px;">
</div>
</div>
</div>
</div><!-- fin description -->
<div style="display: table-cell;" class="sheet-carac"><!-- debut carac pricipale-->
<div style="display:table;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-Zones">Caractéristique</div>
</div>
</div>
<div style="display: table-row;">
&nbsp;
</div>
</div>
<input type="hidden" class="sheet-subrace-selection" name="attr_Race" value="HC">
<div style="display:table; width:360px;"> <!-- Caractéristique -->
<div class="sheet-table-row">
<div style="display: table-cell;">
<div style="display:table;">
<div class="sheet-table-row">
<div class="sheet-titre-colomne" style="display: table-cell;">&nbsp; &nbsp;Carac &nbsp; &nbsp;</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Base</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Magie</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Bonus</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Total</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Modif</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Points</div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">FO<br><div style="font-size: 0.65em;" style="width:45px;">Force</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_FO" value="0" title="FO de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_FOmagie" value="0" title="Modif magie FO" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_FObonus" value="0" title="Modif bonus FO" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_FOtotal" value="(@{FO}+@{FOmagie}+@{FObonus}+@{GenreM})" title="FO total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_FOtotal_mod" title="Modif raciaux FO" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_FOpoint" value="0" title="Point xp FO" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testFO" title="Test de Force" value="Test de Force de @{character_name} [[1d100]]/[[((@{FOtotal})[Force total]*5)]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">EN<br><div style="font-size: 0.65em;">Endurance</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_EN" title="EN de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_ENmagie" value="0" title="Modif magie EN" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_ENbonus" value="0" title="Modif bonus EN" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_ENtotal" value="(@{EN}+@{ENmagie}+@{ENbonus}+@{GenreM})" title="EN total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_ENtotal_mod" title="Modif raciaux EN" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_ENpoint" value="0" title="Point xp EN" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testEN" title="Test d'Endurance" value="Test d'Endurance de @{character_name} [[1d100]]/[[((@{ENtotal})[Endurance total]*5)]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">AG<br><div style="font-size: 0.65em;">Agilité</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_AG" title="AG de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_AGmagie" value="0" title="Modif magie AG" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_AGbonus" value="0" title="Modif bonus AG" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_AGtotal" value="(@{AG}+@{AGmagie}+@{AGbonus}+@{GenreF})" title="AG total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_AGtotal_mod" title="Modif raciaux AG" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_AGpoint" value="0" title="Point xp AG" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testAG" title="Test d'Agilité" value="Test d'Agilité de @{character_name} [[1d100]]/[[((@{AGtotal})[Agilité total]*5)]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">RA<br><div style="font-size: 0.65em;">Rapidité</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_RA" title="RA de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_RAmagie" value="0" title="Modif magie RA" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_RAbonus" value="0" title="Modif bonus RA" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_RAtotal" value="(@{RA}+@{RAmagie}+@{RAbonus}+@{GenreF})" title="RA total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_RAtotal_mod" title="Modif raciaux RA" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_RApoint" value="0" title="Point xp RA" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testRA" title="Test de Rapidité" value="Test de Rapidité de @{character_name} [[1d100]]/[[((@{RAtotal})[Rapidité total]*5)]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">PE<br><div style="font-size: 0.65em;">Perception</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_PE" title="PE de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_PEmagie" value="0" title="Modif magie PE" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_PEbonus" value="0" title="Modif bonus PE" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_PEtotal" value="(@{PE}+@{PEmagie}+@{PEbonus})" title="PE total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_PEtotal_mod" title="Modif raciaux PE" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_PEpoint" value="0" title="Point xp PE" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testPE" title="Test de Perception" value="Test de Perception de @{character_name} [[1d100]]/[[((@{PEtotal})[Perception total]*5)]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:45px;">VO<br><div style="font-size: 0.65em;">Volonté</div></div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_VO" title="VO de base" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-stat-3" type="number" style="width:45px;" name="attr_VOmagie" value="0" title="Modif magie VO" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_VObonus" value="0" title="Modif bonus VO" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_VOtotal" value="(@{VO}+@{VOmagie}+@{VObonus})" title="VO total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_VOtotal_mod" title="Modif raciaux VO" readonly></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_VOpoint" value="0" title="Point xp VO" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testVO" title="Test de Volonté" value="Test de Volonté de @{character_name} [[1d100]]/[[((@{VOtotal})[Volonté total]*5)]]"/></div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-HC"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">apprentissage rapide:</span><span class="sheet-capacite-racial"> +20% supplémentaire a répartir en compétence secondaire.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Artisant:</span><span class="sheet-capacite-racial"> +10% en artisanat.</span>
</div>
</div>
</div>
</div>
<div class="sheet-HTS"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">apprentissage rapide:</span><span class="sheet-capacite-racial"> +10% supplémentaire a répartir en compétence secondaire.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Eclaireur:</span><span class="sheet-capacite-racial"> +20% en discretion, +10% en Tir et repérage.</span>
</div>
</div>
</div>
</div>
<div class="sheet-HGN"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell; width:350px;">
<span class="sheet-capacite-racial-nom">Montée en puissance:</span><span class="sheet-capacite-racial"> FO/AG/RA +2 pendant EN/3 rnd aprés -20% pendant EN rnd. Relance possible aprés repos. Taille +20 cm, poids +30kg. Pendant la rage peux utiliser deux armes normales (1 dans chaque main) avec malus 0%/-25% au lieux de -25/-50%.</span>
</div>
</div>
</div>
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell; width:70px;">
<input type="checkbox" class="sheet-Rage" name="attr_BonusRageHGN" title="Bonus rage" value="2">
</div>
<div style="display: table-cell; width:70px;">
<input type="checkbox" class="sheet-Rage" name="attr_MalusRageHGN" title="Malus rage" value="20">
</div>
</div>
</div>
</div>
<div class="sheet-HN"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Habitude au commandement:</span><span class="sheet-capacite-racial"> +10% en marchandage, +20% en commandement. Deja inclus au profil.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Formation martial:</span><span class="sheet-capacite-racial"> +20% a répartir en combat.</span>
</div>
</div>
</div>
</div>
<div class="sheet-H"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Apprentissage rapide:</span><span class="sheet-capacite-racial"> +20% supplémentaire a répartir en compétence secondaire.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Milicien:</span><span class="sheet-capacite-racial"> +10% a répartir dans les compétences de combat.</span>
</div>
</div>
</div>
</div>
<div class="sheet-EHE"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Esprit clair:</span><span class="sheet-capacite-racial"> +10% compétence de commandement. Bonus déja inclus.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">affinité magique:</span><span class="sheet-capacite-racial"> Lors de sélection de pouvoir, tire 3 cartes au lieux de 2. N'en garde que 1.</span>
</div>
</div>
</div>
</div>
<div class="sheet-EDE"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Apprentissage rapide:</span><span class="sheet-capacite-racial"> +10% supplémentaire a répartir en compétence secondaire.</span>
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Milicien:</span><span class="sheet-capacite-racial"> +10% a répartir dans les compétences de combat.</span>
</div>
</div>
</div>
</div>
<div class="sheet-EN"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Deux lames:</span><span class="sheet-capacite-racial"> Si 2 armes légère (couteau, ou max epee courte) sont utiliser en meme temps, le combattant peux choisir une option de parade avec la 2eme armes. En se cas l'arme secondaire est considéré comme un bouclier donnant +0/-25% au lieux de -25/-50% en malus.</span>
</div>
</div>
</div>
</div>
<div class="sheet-EB"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Eclaireur:</span><span class="sheet-capacite-racial"> +20% en discretion, +10% en Tir et repérage. Bonus deja inclus</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Tireur émérite:</span><span class="sheet-capacite-racial"> si 1rnd pour viser avec une arme a distance, +10% en tir. Degat decalé de 1 cran vers la droite. Malus portée longue -10%, et portée max -25%</span>
</div>
</div>
</div>
</div>
<div class="sheet-TC"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Pisteur:</span><span class="sheet-capacite-racial"> +20% en repérage. Bonus deja inclus.</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Agressivité:</span><span class="sheet-capacite-racial"> Reste comme étant avec une option en combat quelque soit le nombre d'adversaire.</span>
</div>
</div>
</div>
</div>
<div class="sheet-TF"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Griffes retractible:</span><span class="sheet-capacite-racial"> AR+10% Degat E </span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Rapidité:</span><span class="sheet-capacite-racial"> +2 en RA pour déterminer l'initiative.</span>
</div>
</div>
</div>
</div>
<div class="sheet-TO"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Rage sanguinaire:</span><span class="sheet-capacite-racial"> FO/EN/RA +2 pendant EN/3 rnd ou jusqu'a la mort de l'ennemi pris pour cible. aprés -20% pendant EN rnd. Relance possible aprés repos. </span>
</div>
</div>
</div>
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell; width:70px;">
<input type="checkbox" class="sheet-Rage" name="attr_BonusRageTO" title="Bonus rage" value="2">
</div>
<div style="display: table-cell; width:70px;">
<input type="checkbox" class="sheet-Rage" name="attr_MalusRageTO" title="Malus rage" value="20">
</div>
</div>
</div>
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Dur a cuir:</span><span class="sheet-capacite-racial"> Pas de coma, le délais avant la mort passe a 1d6rnd. En cas de rage, le délais de la mort se rajoute au temps qu'il reste de la rage. </span>
</div>
</div>
</div>
</div>
<div class="sheet-N"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Artisant né:</span><span class="sheet-capacite-racial"> en cas d'une amélioration d'une competence d'artisanat du a un critique la compétence gagne +7% au lieux de +5%. </span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Increvable:</span><span class="sheet-capacite-racial"> En cas de tirage sur la table des blessures graves, les jets de morts/séquelles et divisé par 2. Idem pour le temps de convalescence.</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Densité:</span><span class="sheet-capacite-racial"> Taille -30 cm, poids +10kg.</span>
</div>
</div>
</div>
</div>
<div class="sheet-Ho"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Petit:</span><span class="sheet-capacite-racial"> +20% en esquive bonus deja inclus, taille max 1.2m, poids max 40kg. Déplacement diviser par 2</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Arbalestrier:</span><span class="sheet-capacite-racial"> Tir sur 1/2rnd au lieux de 1/3rnd. Portée courte +20% au lieux de +25%, portée longue -15% au lieux de -25%.</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Rafale:</span><span class="sheet-capacite-racial"> 2 Tir au lieux de 1/2rnd. Portée courte +10% au lieux de +25%, portée longue -15% au lieux de -25%. Nécessite de pouvoir se mettre assis par terre, car utilise les pieds en meme temps que les mains. Considéré comme sans option en cas d'attaque pendant cette posture.</span>
</div>
</div>
</div>
</div>
<div class="sheet-Lotus"><!-- sous race -->
<div style="display:table; width:360px;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Style de la rose:</span><span class="sheet-capacite-racial"> Si 2 armes sont utiliser en meme temps, le combattant peux choisir une option de parade avec la 2eme armes. En se cas l'arme secondaire est considéré comme un bouclier donnant +0/-25% au lieux de -25/-50% en malus.</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Lame dansante:</span><span class="sheet-capacite-racial"> Si option attaque rapide, +10 a l'init au lieu de +5, dégat de l'arme non modifié. Obligation d'utiliser deux armes normales (1 dans chaque main) avec malus +0/-25% au lieux de -25/-50%.</span>
</div>
</div>
<div class="sheet-table-row">
<div style="display: table-cell;">
<span class="sheet-capacite-racial-nom">Aura démoniaque:</span><span class="sheet-capacite-racial"> La beauté impie, et son appartenance au monde démoniaque lui confére une protection permanente de 5.</span>
</div>
</div>
</div>
</div>
</div><!-- fin caracprincipale -->
</div>
<div>
<div style="display: table-cell;"><!-- debut competence de combat -->
<div style="display:table;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<div class="sheet-titre-Zones">Compétences de combat</div>
</div>
</div>
<div style="display: table-row;">
&nbsp;
</div>
</div>
<div>
<div style="display:table;">
<div class="sheet-table-row">
<div style="display: table-cell;">
<div style="display:table;">
<div class="sheet-table-row">
<div style="display: table-cell;">&nbsp; </div>
<div class="sheet-titre-colomne" style="display: table-cell;">Carac.</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Base</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Mod.</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Bonus</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Magie</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Total</div>
<div class="sheet-titre-colomne" style="display: table-cell;">Points</div>
<div class="sheet-titre-colomne" style="display: table-cell;">notes</div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">AB Attaque brutale</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">FO</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCAB" title="Base Attaque brutale" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_FOtotal_mod" title="Modif FO" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCABbonus" step = 5 value="0" title="Bonus attaque brutale" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCABmagie" step = 5 value="0" title="Bonus magie attaque brutale" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCABtotal" value="@{CCAB}+@{FOtotal_mod}+@{CCABbonus}+@{CCABmagie}" title="AB total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCABpoint" value="0" title="Point xp AB" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCABnotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testAB" title="Test AB" value="Test AB de @{character_name} [[1d100]]/[[((@{CCABtotal})[AB total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">AN Attaque normale</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">AG</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCAN" title="Base Attaque normale" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_AGtotal_mod" title="Modif AG" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCANbonus" step = 5 value="0" title="Bonus attaque normale" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCANmagie" step = 5 value="0" title="Bonus magie attaque normale "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCANtotal" value="@{CCAN}+@{AGtotal_mod}+@{CCANbonus}+@{CCANmagie}" title="AN total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCANpoint" value="0" title="Point xp AN" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCANnotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testAN" title="Test AN" value="Test AN de @{character_name} [[1d100]]/[[((@{CCANtotal})[AN total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">AR Attaque rapide</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">AR</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCAR" title="Base Attaque rapide" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_RAtotal_mod" title="Modif RA" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCARbonus" step = 5 value="0" title="Bonus attaque rapide" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCARmagie" step = 5 value="0" title="Bonus magie attaque rapide "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCARtotal" value="@{CCAR}+@{RAtotal_mod}+@{CCARbonus}+@{CCARmagie}" title="AR total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCARpoint" value="0" title="Point xp AR" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCARnotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testAR" title="Test AR" value="Test AR de @{character_name} [[1d100]]/[[((@{CCARtotal})[AR total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">Feinte</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">PE</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCFeinte" title="Base Feinte" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_PEtotal_mod" title="Modif PE" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCFeintebonus" step = 5 value="0" title="Bonus Feinte" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCFeintemagie" step = 5 value="0" title="Bonus magie Feinte "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCFeintetotal" value="@{CCFeinte}+@{PEtotal_mod}+@{CCFeintebonus}+@{CCFeintemagie}" title="Feinte total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCFeintepoint" value="0" title="Point xp Feinte" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCFeintenotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testFeinte" title="Test Feinte" value="Test Feinte de @{character_name} [[1d100]]/[[((@{CCFeintetotal})[Feinte total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">Parade</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">RA</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCParade" title="Base Parade" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_RAtotal_mod" title="Modif RA" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCParadebonus" step = 5 value="0" title="Bonus Parade" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCParademagie" step = 5 value="0" title="Bonus magie Parade "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCParadetotal" value="@{CCParade}+@{RAtotal_mod}+@{CCABbonus}+@{CCABmagie}" title="Parade total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCParadepoint" value="0" title="Point xp Parade" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCParadenotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testParade" title="Test Parade" value="Test Parade de @{character_name} [[1d100]]/[[((@{CCParadetotal})[Parade total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">Esquive</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">RA</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCEsquive" title="Base Esquive" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_RAtotal_mod" title="Modif RA" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCEsquivebonus" step = 5 value="0" title="Bonus Esquive" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCEsquivemagie" step = 5 value="0" title="Bonus magie Esquive "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCEsquivetotal" value="@{CCEsquive}+@{RAtotal_mod}+@{CCEsquivebonus}+@{CCEsquivemagie}" title="Esquive total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCEsquivepoint" value="0" title="Point xp Esquive" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCEsquivenotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testEsquive" title="Test Esquive" value="Test Esquive de @{character_name} [[1d100]]/[[((@{CCEsquivetotal})[Esquive total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">Tir</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">PE</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCTir" title="Base Tir" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_PEtotal_mod" title="Modif PE" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCTirbonus" step = 5 value="0" title="Bonus Tir" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCTirmagie" step = 5 value="0" title="Bonus magie Tir "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCTirtotal" value="@{CCTir}+@{PEtotal_mod}+@{CCTirbonus}+@{CCTirmagie}" title="Tir total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCTirpoint" value="0" title="Point xp Tir" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCTirnotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testTir" title="Test Tir" value="Test Tir de @{character_name} [[1d100]]/[[((@{CCTirtotal})[Tir total])]]"/></div>
</div>
<div class="sheet-table-row">
<div class="sheet-titre-colomne-2" style="display: table-cell;" style="width:90px;">Sort</div>
<div style="display: table-cell;" class="sheet-titre-colomne" style="display: table-cell;">VO</div>
<div style="display: table-cell;"><input class="sheet-info-stat-1" type="number" style="width:45px;" name="attr_CCSort" title="Base Sort" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-2" type="number" style="width:45px;" name="attr_VOtotal_mod" title="Modif VO" readonly="readonly"></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCSortbonus" step = 5 value="0" title="Bonus Sort" ></div>
<div style="display: table-cell;"><input class="sheet-info-stat-4" type="number" style="width:45px;" name="attr_CCSortmagie" step = 5 value="0" title="Bonus magie Sort "></div>
<div style="display: table-cell;"><input class="sheet-info-stat-5" type="number" style="width:45px;" name="attr_CCSorttotal" value="@{CCSort}+@{VOtotal_mod}+@{CCSortbonus}+@{CCSortmagie}" title="Magie total" disabled="true"></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="number" style="width:45px;" name="attr_CCSortpoint" value="0" title="Point xp Sort" ></div>
<div style="display: table-cell;"><input class="sheet-info-classe" type="text" style="width:290px;" name="attr_CCSortnotes" placeholder="Notes" title="Notes" ></div>
<div style="display: table-cell;"><button type="roll" name="attr_testSort" title="Test Sort" value="Test Sort de @{character_name} [[1d100]]/[[((@{CCSorttotal})[Sort total])]]"/></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- fin competences de combat -->
</div>
</div> <!-- fin FondPrincipale -->
<script type="text/worker">
const race = "Race";
on(`change:${race}`, () => {
getAttrs([race], values => {
const base_race = values[race];
//console.log(baserace);
const stats = {
HC: {FO: 10, EN: 10, AG: 10, RA: 10, PE: 11, VO: 11},
"HTS": {FO: 11, EN: 10, AG: 11, RA: 11, PE: 10, VO: 9},
"HGN": {FO: 12, EN: 12, AG: 9, RA: 9, PE: 10, VO: 8},
"HN": {FO: 10, EN: 10, AG: 12, RA: 12, PE: 10, VO: 12},
"H": {FO: 10, EN: 10, AG: 10, RA: 10, PE: 10, VO: 10},
"EHE": {FO: 10, EN: 10, AG: 10, RA: 12, PE: 12, VO: 14},
"EDE": {FO: 10, EN: 10, AG: 10, RA: 10, PE: 12, VO: 12},
"EN": {FO: 10, EN: 10, AG: 12, RA: 14, PE: 12, VO: 10},
"EB": {FO: 12, EN: 10, AG: 12, RA: 12, PE: 12, VO: 10},
"TC": {FO: 12, EN: 10, AG: 12, RA: 10, PE: 12, VO: 10},
"TF": {FO: 10, EN: 10, AG: 12, RA: 14, PE: 10, VO: 10},
"TO": {FO: 16, EN: 14, AG: 8, RA: 8, PE: 10, VO: 8},
"N": {FO: 10, EN: 14, AG: 10, RA: 8, PE: 10, VO: 10},
"Ho": {FO: 8, EN: 10, AG: 10, RA: 14, PE: 12, VO: 12},
"Pnj": {FO: 10, EN: 10, AG: 10, RA: 10, PE: 10, VO: 10},
"Lotus": {FO: 12, EN: 10, AG: 14, RA: 16, PE: 10, VO: 12},
/* add more races here */
};
const chosen_race = Object.keys(stats).includes(base_race) ? stats[base_race] : stats.HC;
setAttrs(chosen_race);
});
});
</script>
<script type="text/worker">
const race1 = "Race";
on(`change:${race1}`, () => {
getAttrs([race1], values => {
const base_race1 = values[race1];
//console.log(baserace);
const CC = {
HC: {CCAB: 0, CCAN: 20, CCAR: 0, CCFeinte: 10, CCParade: 10, CCEsquive: 10, CCTir: 15, CCSort: 15},
"HTS": {CCAB: 0, CCAN: 20, CCAR: 10, CCFeinte: 10, CCParade: 15, CCEsquive: 15, CCTir: 20, CCSort: 0},
"HGN": {CCAB: 20, CCAN: 20, CCAR: 5, CCFeinte: 5, CCParade: 10, CCEsquive: 5, CCTir: 5, CCSort: 0},
"HN": {CCAB: 0, CCAN: 20, CCAR: 20, CCFeinte: 10, CCParade: 20, CCEsquive: 0, CCTir: 0, CCSort: 10},
"H": {CCAB: 10, CCAN: 10, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 10, CCTir: 10, CCSort: 10},
"EHE": {CCAB: 0, CCAN: 20, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 5, CCTir: 5, CCSort: 20},
"EDE": {CCAB: 0, CCAN: 15, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 10, CCTir: 10, CCSort: 15},
"EN": {CCAB: 0, CCAN: 20, CCAR: 10, CCFeinte: 10, CCParade: 20, CCEsquive: 20, CCTir: 0, CCSort: 0},
"EB": {CCAB: 15, CCAN: 15, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 0, CCTir: 30, CCSort: 0},
"TC": {CCAB: 20, CCAN: 20, CCAR: 10, CCFeinte: 10, CCParade: 5, CCEsquive: 5, CCTir: 0, CCSort: 0},
"TF": {CCAB: 0, CCAN: 10, CCAR: 20, CCFeinte: 20, CCParade: 10, CCEsquive: 20, CCTir: 0, CCSort: 0},
"TO": {CCAB: 20, CCAN: 20, CCAR: 0, CCFeinte: 0, CCParade: 10, CCEsquive: 10, CCTir: 10, CCSort: 10},
"N": {CCAB: 10, CCAN: 10, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 10, CCTir: 10, CCSort: 10},
"Ho": {CCAB: 0, CCAN: 0, CCAR: 0, CCFeinte: 20, CCParade: 20, CCEsquive: 40, CCTir: 10, CCSort: 10},
"Pnj": {CCAB: 10, CCAN: 10, CCAR: 10, CCFeinte: 10, CCParade: 10, CCEsquive: 10, CCTir: 10, CCSort: 10},
"Lotus": {CCAB: 0, CCAN: 0, CCAR: 20, CCFeinte: 10, CCParade: 20, CCEsquive: 10, CCTir: 0, CCSort: 20},
/* add more races here */
};
const chosen_race = Object.keys(CC).includes(base_race1) ? CC[base_race1] : CC.HC;
setAttrs(chosen_race);
});
});
</script>
<script type="text/worker">
const stats = ["FOtotal", "ENtotal", "AGtotal", "RAtotal", "PEtotal", "VOtotal"];
stats.forEach(stat => {
on(`change:${stat.toLowerCase()}`, () => {
getAttrs([stat], values => {
const stat_base = parseInt(values[stat]) || 0;
//console.log(stat_base);
let stat_mod = 0;
if (stat_base >= 31) stat_mod = "50";
else if (stat_base == 29) stat_mod = "45";
else if (stat_base == 27) stat_mod = "40";
else if (stat_base == 25) stat_mod = "35";
else if (stat_base == 23) stat_mod = "30";
else if (stat_base == 21) stat_mod = "25";
else if (stat_base == 19) stat_mod = "20";
else if (stat_base == 17) stat_mod = "15";
else if (stat_base == 15) stat_mod = "10";
else if (stat_base == 13) stat_mod = "5";
else if (stat_base == 9) stat_mod = "0";
else if (stat_base == 7) stat_mod = "-5";
else if (stat_base == 5) stat_mod = "-10";
else if (stat_base == 3) stat_mod = "-15";
else if (stat_base == 1) stat_mod = "-20";
setAttrs({
[`${stat}_mod`]: stat_mod
});
});
});
});
</script>