Files
roll20-character-sheets/TormentaRPG_Tabbed/TormentaRPG_Tabbed.html
T
Eder Luz Filho de73b64924 Update TormentaRPG_Tabbed.html
Fixed more formatting problems not seen before during testing.
2018-08-07 11:35:57 -03:00

3278 lines
298 KiB
HTML

<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<div class="sheet-container">
<div class="sheet-header">
<div class="sheet-3-colrow">
<div class="sheet-row">
<div class="sheet-col">
<input type="text" name="attr_Char_Name" style="width: 220px">
<br><label>NOME DO PERSONAGEM</label>
</div>
<div class="sheet-col" style="padding-left:10px">
<input type="text" name="attr_Player_Name" title="@{Player_Name}" style="width: 220px">
<br><label>JOGADOR</label>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<input type="text" name="attr_Raca" title="@{Raca}" style="width:100px">
<br><label>RAÇA</label>
</div>
<div class="sheet-col">
<input type="text" name="attr_Classe" title="@{Classe}" style="width:200px">
<br><label>CLASSE E NÍVEL</label>
</div>
<div class="sheet-col">
<input type="text" name="attr_ND" title="@{ND}" style="width:30px; text-align: center;" value="1">
<br><label>ND</label>
</div>
<div class="sheet-col">
<input type="text" name="attr_Tendencia" title="@{Tendencia}" style="width:110px">
<br><label>TENDÊNCIA</label>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<input type="text" name="attr_Sexo" title="@{Sexo}" style="width: 85px">
<br><label>SEXO</label>
</div>
<div class="sheet-col">
<input type="text" name="attr_Idade" title="@{Idade}" style="width: 85px">
<br><label>IDADE</label>
</div>
<div class="sheet-col">
<input type="text" name="attr_Divindade" title=@{Divindade} style="width: 85px">
<br><label>DIVINDADE</label>
</div>
<div class="sheet-col">
<select name="attr_Tamanho" style="width: 85px;">
<option value="4">Ínfimo</option>
<option value="3">Diminuto</option>
<option value="2">Mínimo</option>
<option value="1">Pequeno</option>
<option value="0" selected>Médio</option>
<option value="-1">Grande</option>
<option value="-2">Enorme</option>
<option value="-3">Descomunal</option>
<option value="-4">Colossal</option>
</select>
<br><label>TAMANHO</label>
<input type="hidden" name="furt_mod_tam" value="0">
</div>
<div class="sheet-col">
<input type="text" name="attr_Deslocamento" style="width:95px">
<br><label>DESLOCAMENTO</label>
</div>
</div>
</div>
</div>
<div class="sheet-col">
<img src="http://i.imgur.com/acZ70lw.png" style="padding-top: 20px; padding-left: 30px; width:250px; height: auto;">
</div>
<div class="sheet-row" style="text-align: right">
<span style="font-size:0.8em">JOGADOR</span> <input type="radio" style="margin-left:-20px" class="sheet-npc sheet-npc1" name="attr_npc" value="1" checked="checked"><span>3</span>
<span style="font-size:0.8em; padding-left:10px">NPC</span> <input type="radio" style="margin-left:-20px" class="sheet-npc sheet-npc2" name="attr_npc" value="2"><span>3</span>
<div class="sheet-npc-content sheet-npc1">
<div class="sheet-2-colrow" style="text-align:left">
<div class="sheet-col" style="width:210px; padding-top: 5px">
<div class="sheet-atrib">
<div class="sheet-3-colrow">
<div class="sheet-row" style="margin-top: 10px">
<input type="hidden" name="attr_none_mod" value="0">
<div class="sheet-col" style="padding-top: 0px; padding-left:12px"><span>HABILIDADES</span></div>
<div class="sheet-col" style="padding-left: 27px; padding-top: 0px"><span>VALOR</span></div>
<div class="sheet-col" style="margin-top: -13px; padding-left: 8px; text-align: center"><span>MOD. DE<br>HABILIDADE</span></div>
</div>
<div class="sheet-row" style="padding-top: 2px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Força}} {{rolagem=[[1d20+@{for_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em; width: 40px"><span>FOR</span><span style="font-size:0.6em; font-weight: normal;"><br>Força</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_for" title="@{for}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_for_mod_fake" title="@{for_mod}" value="@{for_mod}" disabled="true"><input type="hidden" name="attr_for_mod"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 6px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Destreza}} {{rolagem=[[1d20+@{des_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em;width:40px;"><span>DES</span><span style="font-size:0.6em; font-weight: normal;"><br>Destreza</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_des" title="@{des}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_des_mod_fake" title="@{des_mod}" value="@{des_mod}" disabled="true"><input type="hidden" name="attr_des_mod"><input type="hidden" name="attr_des_mod_ca"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 6px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Constituição}} {{rolagem=[[1d20+@{con_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em;width:40px; padding: auto;"><span>CON</span><span style="font-size:0.6em; font-weight: normal;"><br>Constituição</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_con" title="@{con}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_con_mod_fake" title="@{con_mod}" value="@{con_mod}" disabled="true"><input type="hidden" name="attr_con_mod"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 6px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Inteligência}} {{rolagem=[[1d20+@{int_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em;width:40px; padding: auto;"><span>INT</span><span style="font-size:0.6em; font-weight: normal;"><br>Inteligência</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_int" title="@{int}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_int_mod_fake" title="@{int_mod}" value="@{int_mod}" disabled="true"><input type="hidden" name="attr_int_mod"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 6px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Sabedoria}} {{rolagem=[[1d20+@{sab_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em;width:40px; padding: auto;"><span>SAB</span><span style="font-size:0.6em; font-weight: normal;"><br>Sabedoria</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_sab" title="@{sab}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_sab_mod_fake" title="@{sab_mod}" value="@{sab_mod}" disabled="true"><input type="hidden" name="attr_sab_mod"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 6px">
<div class="sheet-col">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Carisma}} {{rolagem=[[1d20+@{car_mod}+(@{metade_nivel})]]}}"><div class="sheet-block" style="font-size: 1.2em;width:40px; padding: auto;"><span>CAR</span><span style="font-size:0.6em; font-weight: normal;"><br>Carisma</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_car" title="@{car}" value="10"></div>
</div>
<div class="sheet-col">
<div class="sheet-value" style="margin-left:6px"><input type="text" name="attr_car_mod_fake" title="@{car_mod}" value="@{car_mod}" disabled="true"><input type="hidden" name="attr_car_mod"></div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-col" style="width:520px">
<div class="sheet-row" style="font-size: 0.66em; margin-top: -10px">
<div class="sheet-col" style="padding-top: 23px; padding-left:105px"><label>ATUAL</label></div>
<div class="sheet-col" style="padding-top: 23px; padding-left:30px"><label>TOTAL</label></div>
<div class="sheet-col" style="padding-top: 23px; padding-left:120px"><label>ATUAL</label></div>
<div class="sheet-col" style="padding-top: 23px; padding-left:28px"><label>TOTAL</label></div>
<div class="sheet-col" style="padding-top: 23px; padding-left:28px"><label>PONTOS DE AÇÃO</label></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="font-size: 0.7em; padding-left:5px">
<div class="sheet-block"><span>PV</span><span style="font-size: 0.6em; font-weight: normal;"><br>Pontos de Vida</span></div>
</div>
<div class="sheet-col" style="margin-left:4px">
<div class="sheet-atrib"><input type="text" title="@{HP}" name="attr_HP"></div>
</div>
<div class="sheet-col" style="margin-left:6px">
<div class="sheet-atrib"><input type="text" title="@{HP_max}" name="attr_HP_max"></div>
</div>
<div class="sheet-col" style="font-size: 0.7em; margin-left: 17px">
<div class="sheet-block" style="width:68px;padding-left:2px;padding-right:2px"><span>PM</span><span style="font-size: 0.6em; font-weight: normal;"><br>Pontos de Magia</span></div>
</div>
<div class="sheet-col" style="padding-left:5px">
<div class="sheet-atrib"><input type="text" name="attr_PM" title="@{PM}"> </div>
</div>
<div class="sheet-col" style="padding-left:5px">
<div class="sheet-atrib"><input type="text" name="attr_PM_max" title="@{PM_max}"> </div>
</div>
<div class="sheet-col" style="margin-left:17px;">
<div class="sheet-atrib"><input type="text" title="@{PA}" name="attr_PA" style="width: 80px"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 15px;font-size: 0.63em">
<div class="sheet-col" style="padding-top: 9px; padding-left:105px; font-size: 1.15em; text-align:center"><span>TOTAL</span></div>
<div class="sheet-col" style="padding-left:65px; line-height:10px; text-align:center"><span>1/2 DO<br>NÍVEL</span></div>
<div class="sheet-col" style="padding-left:19px; line-height:10px; text-align:center"><span>MOD. DE<br>HABILIDADE</span></div>
<div class="sheet-col" style="padding-left:10px; line-height:10px; text-align:center"><span>BÔNUS DE<br>ARMADURA</span></div>
<div class="sheet-col" style="padding-left:11px; line-height:10px; text-align:center"><span>BÔNUS DE<br>ESCUDO</span></div>
<div class="sheet-col" style="padding-left:15px; line-height:10px; text-align:center"><span>MOD. DE<br>TAMANHO</span></div>
<div class="sheet-col" style="padding-left:18px; line-height:10px; text-align:center"><span><br>OUTROS</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em; padding-left:5px">
<div class="sheet-block" style="max-width: 75px; padding-left:5px; padding-right:5px"><span>CA</span><span style="font-size:0.6em; font-weight: normal"><br>Classe de Armadura</span></div>
</div>
<div class="sheet-col" style="margin-left:4px">
<div class="sheet-atrib"><input type="text" name="attr_CA" title="{@CA}" value="10+(@{ca_mod_tam})+(@{des_mod_ca})+(@{metade_nivel})+(@{ca_mod})+(@{armadura})+(@{escudo})" disabled="true"></div>
</div>
<div class="sheet-col" style="margin-left: -20px; width: 75px; text-align: center; padding-top: 5px">
<span>=</span><span style="font-size: 1.3em;font-weight: bold;padding-left:3px; padding-right:3px">10</span><span>+</span>
</div>
<div class="sheet-col" style="margin-left:-20px">
<div class="sheet-atrib"><input type="text" name="attr_metade_nivel" title="@{metade_nivel}" value="(floor((@{nd})/2))" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_ca_mod_des" value="@{des_mod_ca}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_ca_arm" value="@{armadura}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_ca_esc" value="@{escudo}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="hidden" name="attr_ca_mod_tam"><input type="text" name="attr_ca_mod_tam_fake" value="@{ca_mod_tam}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_ca_mod" value="0"></div>
</div>
</div>
<div class="sheet-row" style="font-size: 0.63em">
<div class="sheet-col" style="padding-top: 8px; padding-left:14px; font-size: 1.15em; text-align:center"><span><br>RESISTÊNCIAS</span></div>
<div class="sheet-col" style="padding-top: 8px; padding-left:29px; font-size: 1.15em; text-align:center"><span><br>TOTAL</span></div>
<div class="sheet-col" style="padding-left:30px; line-height: 11px; text-align:center"><span><br>1/2 DO<br>NÍVEL</span></div>
<div class="sheet-col" style="padding-left:20px; line-height: 11px; text-align:center"><span><br>MOD. DE<br>HABILIDADE</span></div>
<div class="sheet-col" style="padding-left:16px; line-height: 11px; text-align:center"><span><br><br>OUTROS</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Fortitude}} {{rolagem=[[1d20+(@{fortitude})]]}}"><div class="sheet-block" style="width:54px; font-size:1.18em"><span>FORT</span><span style="font-size:0.6em; font-weight: normal"><br>Fortitude</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-atrib"><input type="text" name="attr_fortitude" title="@{fortitude}" value="(@{con_mod}+@{metade_nivel}+@{fortitude_mod})" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_fort_nd" value="@{metade_nivel}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_fort_con" value="@{con_mod}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_fortitude_mod" title="@{fortitude_mod}" value="0"></div>
</div>
<div class="sheet-col" style="font-size:0.7em; padding-left:9px">
<div class="sheet-block" style="width:67px; padding-left:2px; padding-right:2px"><span>RD</span><span style="font-size:0.6em; font-weight: normal"><br>Redução de Dano</span></div>
</div>
<div class="sheet-col">
<div class="sheet-atrib"><input type="text" name="attr_rd" title="@{rd}" style="width:108px"></div>
</div>
</div>
<div class="sheet-row" style="padding-top: 0px">
<div class="sheet-col" style="font-size:0.7em">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Reflexos}} {{rolagem=[[1d20+(@{reflexos})]]}}"><div class="sheet-block" style="width:54px; font-size:1.18em"><span>REF</span><span style="font-size:0.6em; font-weight: normal"><br>Reflexos</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-atrib"><input type="text" name="attr_reflexos" title="@{reflexos}" value="(@{des_mod}+@{metade_nivel}+@{reflexos_mod})" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_refl_nd" value="@{metade_nivel}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_refl_des" value="@{des_mod}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_reflexos_mod" title="@{reflexos_mod}" value="0"></div>
</div>
<div class="sheet-col" style="font-size:0.7em;padding-left:96px; text-align:center"><span><br>ATUAL</span></div>
<div class="sheet-col" style="font-size:0.7em;padding-left:27px; text-align:center"><span><br>TOTAL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Vontade}} {{rolagem=[[1d20+(@{vontade})]]}}"><div class="sheet-block" style="width:54px; font-size:1.18em"><span>VON</span><span style="font-size:0.6em; font-weight: normal"><br>Vontade</span></div>
</button></div>
<div class="sheet-col">
<div class="sheet-atrib"><input type="text" name="attr_vontade" title="@{vontade}" value="(@{sab_mod}+@{metade_nivel}+@{vontade_mod})" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_fort_nd" value="@{metade_nivel}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_vont_sab" value="@{sab_mod}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top: 7px; margin-left: -5px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-4px">
<div class="sheet-atrib"><input type="text" name="attr_vontade_mod" title="@{vontade_mod}" value="0"></div>
</div>
<div class="sheet-col" style="font-size:0.7em; padding-left:9px">
<div class="sheet-block" style="width:68px; padding-left:2px; padding-right:2px"><span>XP</span><span style="font-size:0.6em; font-weight: normal"><br>Experiência</span></div>
</div>
<div class="sheet-col">
<div class="sheet-atrib"><input type="text" name="attr_XP" style="border-top:0px;border-left:0px;border-right:0px;font-size:1.2em"></div>
</div>
<div class="sheet-col" style="margin-left:3px">
<div class="sheet-atrib"><input type="text" name="attr_XP_max" style="border-top:0px;border-right:0px;border-left:0px;font-size:1.2em"></div>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="padding-top:5px; text-align:center">
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" checked="checked"><span title="ESTATÍSTICAS"></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2"><span title="PERÍCIAS"></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3"><span title="MAGIAS"></span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4"><span title="BIO"></span>
<div class="sheet-tab-content sheet-tab1" style="text-align:left; padding: 5px; border: 1px solid black; border-top: 5px solid black">
<div class="sheet-2-colrow">
<div class="sheet-col">
<div class="sheet-row" style="font-size: 0.7em; line-height:10px">
<div class="sheet-col" style="padding-left:75px"><span><br>ATAQUES</span></div>
<div class="sheet-col" style="padding-left:88px"><span><br>TOTAL</span></div>
<div class="sheet-col" style="padding-left:20px; font-size:0.9em; text-align:center"><span>BÔNUS BASE<br>DE ATAQUE</span></div>
<div class="sheet-col" style="padding-left:7px; font-size:0.9em; text-align:center"><span>MOD. DE<br>HABILIDADE</span></div>
<div class="sheet-col" style="padding-left:13px; font-size:0.9em; text-align:center"><span>MOD. DE<br>TAMANHO</span></div>
<div class="sheet-col" style="padding-left:20px; font-size:0.9em"><span><br>OUTROS</span></div>
</div>
<div class="sheet-row">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{rolagem=[[1d20+@{CorpoaCorpo}]]}} {{ataque=Corpo-a-Corpo}}"><div class="sheet-block" style="font-size:0.8em; width: 150px; padding-top:10px; padding-bottom: 10px"><span>CORPO-A-CORPO</span></div></button>
<div class="sheet-atrib" style="margin-left:-2px;"><input type="text" name="attr_CorpoaCorpo" title="@{CorpoaCorpo}" value="@{BBA}+(@{for_mod})+(@{ca_mod_tam})+@{melee_outro}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -2px; margin-right:-7px"><span>=</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_BBA" title="@{BBA}" value="0"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_melee_for" title="@{melee_for}" value="@{for_mod}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_melee_tam" title="@{melee_tam}" value="-2*@{tamanho}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_melee_outro" title="@{melee_outro}" value="0"></div>
</div>
<div class="sheet-row" style="padding-top:5px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{rolagem=[[1d20+@{ADistancia}]]}} {{ataque=À Distância}}"><div class="sheet-block" style="font-size:0.8em; width: 150px; padding-top:10px; padding-bottom: 10px"><span>À DISTÂNCIA</span></div></button>
<div class="sheet-atrib" style="margin-left:-2px;"><input type="text" name="attr_ADistancia" title="@{ADistancia}" value="@{BBA}+(@{des_mod})+(@{ca_mod_tam})+@{ranged_outro}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -2px; margin-right:-7px"><span>=</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_BBA" title="@{BBA}" value="0"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_ranged_des" title="@{ranged_des}" value="@{des_mod}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_ranged_tam" title="@{ranged_tam}" value="-2*@{tamanho}" disabled="true"></div>
<div class="sheet-col" style="padding-top: 10px; margin-left: -4px; margin-right:-8px"><span>+</span></div>
<div class="sheet-atrib" style="margin-left:5px"><input type="text" name="attr_ranged_outro" title="@{ranged_outro}" value="0"></div>
</div>
<div class="sheet-row" style="padding-top:20px; padding-left:5px; font-size: 0.7em; line-height:10px">
<div class="sheet-col"><div class="sheet-block" style="font-size:1.45em; width: 120px; padding-top:10px; padding-bottom: 10px"><span>ARMAS</span></div></div>
<div class="sheet-col" style="padding-left:12px; font-size:0.9em; text-align:center; margin-top:9px"><span>BÔNUS<br>DE ATAQUE</span></div>
<div class="sheet-col" style="padding-left:22px; font-size:0.9em; text-align:center; margin-top:9px"><span><br>DANO</span></div>
<div class="sheet-col" style="padding-left:37px; font-size:0.9em; text-align:center; margin-top:9px"><span><br>CRÍTICO</span></div>
<div class="sheet-col" style="padding-left:35px; font-size:0.9em; text-align:center; margin-top:9px"><span><br>DISTÂNCIA</span></div>
<div class="sheet-col" style="padding-left:38px; font-size:0.9em; text-align:center; margin-top:9px"><span><br>TIPO</span></div>
</div>
<div class="sheet-row">
<fieldset class="repeating_armas">
<input type="hidden" name="attr_ataquemelee" value="{{corpoacorpo=[[1d20cs>@{critrangearma}+(@{CorpoaCorpo})-(@{for_mod})+(@{atributochavearma})+(@{bonusarma})]]}}">
<input type="hidden" name="attr_ataqueranged" value="{{adistancia=[[1d20cs>@{critrangearma}+(@{ADistancia})-(@{des_mod})+(@{atributochavearma})+(@{bonusarma})]]}}">
<input type="hidden" name="attr_tipoataquearma">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{efeitoarma=@{efeitoarma}}} {{nomearma=@{nomearma}}} {{rangearma=@{rangearma}}} {{corpoacorpo=[[1d20cs>@{critrangearma}+(@{CorpoaCorpo})-(@{for_mod})+(@{atributochavearma})+(@{bonusarma})]]}} {{adistancia=[[1d20cs>@{critrangearma}+(@{ADistancia})-(@{des_mod})+(@{atributochavearma})+(@{bonusarma})]]}} {{crit=[[(@{danoarma})*@{multiplierarma}]]}} {{dano=[[@{danoarma}]]}} {{tipodano=@{tipoarma}}}" style="margin-left:2px;border-radius: 10px; border:1px solid #ccc; background-color:white">
<div class="sheet-texto" style="line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomearma"></span><input type="hidden" name="attr_nomearma">
</div>
</button>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:40px" name="attr_bonusarma" value="0"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px; padding-right:5px"><input type="text" style="width:60px" name="attr_danoarma" value="1d6+1"></div>
<div class="sheet-col" style="padding-left:10px; padding-top:5px; border-bottom:1px solid black">
<span style="font-size:0.95em; line-height:27px; padding-left: 10px;">- 20 x</span>
</div>
<div class="sheet-col">
<div class="sheet-texto" style="margin-top:-5px; padding-top:8px; margin-left: -56px;"><input type="text" style="width:25px" name="attr_critrangearma_fake" value="@{critrangearma}" disabled="true"></div>
</div>
<div class="sheet-col" style="margin-top:-5px; padding-top:8px; margin-left: -15px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma_fake" value="@{multiplierarma}" disabled="true"></div>
</div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px" name="attr_distanciaarma"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px; font-size:0.95em" name="attr_tipoarma"></div>
<input class="armassubflag" type="checkbox" name="attr_armassubflag" checked><span>y</span>
<div class="subarma">
<div class="sheet-row">
<div class="sheet-col">
<div class="sheet-row" style="margin-left:-20px"><span style="font-size:1.3em">Nome da Arma</span></div>
<div class="sheet-texto"><input type="text" style="width:130px; height:25px;" name="attr_nomearma" accept="Content"></div>
</div>
<div class="sheet-col">
<div class="sheet-row" style="margin-left:0px"><span style="font-size:1.3em">Efeitos da Arma</span></div>
<div class="sheet-texto" style="padding-left:10px"><input type="text" style="height:25px; width:280px" name="attr_efeitoarma" accept="Content"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:3px">
<div class="sheet-col" style="margin-top: 2px; line-height:30px">
<span style="font-size:1.4em;">Arma</span><input type="hidden" name="attr_tipoatkarma">
</div>
<div class="sheet-col" style="margin-top:2px">
<select name="attr_rangearma" style="text-align: center; width:93px; line-height: 20px">
<option value="[[0]]" selected>Corpo-a-Corpo</option>
<option value="[[1]]">À Distância</option>
</select>
</div>
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Margem de Ameaça
</span></div>
<div class="sheet-col" style="margin-left: 5px; margin-top:7px; padding-bottom:3px; padding-right:0px;">
<span style="font-size:1.35em">-20</span>
</div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto" style="margin-left: -60px;"><input type="text" style="width:25px" name="attr_critrangearma" value="20"></div>
</div>
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Multiplicador x
</span></div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma" value="2"></div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Atributo-chave
</span></div>
<div class="sheet-col" style="margin-top:2px">
<select name="attr_atributochavearma" style="text-align: center; width:80px; line-height: 20px">
<option value="@{for_mod}" selected>Força</option>
<option value="@{des_mod}">Destreza</option>
<option value="@{con_mod}">Constituição</option>
<option value="@{int_mod}">Inteligência</option>
<option value="@{sab_mod}">Sabedoria</option>
<option value="@{car_mod}">Carisma</option>
</select>
</div>
</div>
</div>
</fieldset>
</div>
<div class="sheet-row" style="padding-top:20px; padding-left:5px; font-size: 0.7em; line-height:10px">
<div class="sheet-col">
<div class="sheet-block" style="font-size:1.45em; width: 150px; padding-top:10px; padding-bottom: 10px"><span>ARMADURA</span></div>
</div>
<div class="sheet-col" style="padding-left:38px; font-size:0.9em; text-align:center; margin-top:9px"><span>BÔNUS<br>NA CA</span></div>
<div class="sheet-col" style="padding-left:48px; font-size:0.9em; text-align:center; margin-top:9px"><span>BÔNUS MÁXIMO<br>DE DESTREZA</span></div>
<div class="sheet-col" style="padding-left:33px; font-size:0.9em; text-align:center; margin-top:9px"><span>PENALIDADE<br>DE ARMADURA</span></div>
</div>
<div class="sheet-row" style="padding-top:-10px; padding-left:5px">
<div class="sheet-texto"><input type="text" style="width: 180px" name="attr_armadura_nome" title="@{armadura_nome}"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_armadura" title="@{armadura}" value="0"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_armadura_desmax" title="@{armadura_desmax}"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_armadura_redutor" title="@{armadura_redutor}" value="0"></div>
</div>
<div class="sheet-row" style="padding-top:10px; padding-left:5px; font-size: 0.7em; line-height:10px">
<div class="sheet-col">
<div class="sheet-block" style="font-size:1.45em; width: 150px; padding-top:10px; padding-bottom: 10px"><span>ESCUDO</span></div>
</div>
<div class="sheet-col" style="padding-left:38px; font-size:0.9em; text-align:center; margin-top:9px"><span>BÔNUS<br>NA CA</span></div>
<div class="sheet-col" style="padding-left:48px; font-size:0.9em; text-align:center; margin-top:9px"><span>BÔNUS MÁXIMO<br>DE DESTREZA</span></div>
<div class="sheet-col" style="padding-left:33px; font-size:0.9em; text-align:center; margin-top:9px"><span>PENALIDADE<br>DE ARMADURA</span></div>
</div>
<div class="sheet-row" style="padding-top:-10px; padding-left:5px">
<div class="sheet-texto"><input type="text" style="width: 180px" name="attr_escudo_nome" title="@{escudo_nome}"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_escudo" title="@{escudo}" value="0"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_escudo_desmax" title="@{escudo_desmax}"></div>
<div class="sheet-texto" style="padding-left: 5px"><input type="text" style="width: 90px" name="attr_escudo_redutor" title="@{escudo_redutor}" value="0"></div>
</div>
</div>
<div class="sheet-col" style="padding-left:5px">
<div class="sheet-row" style="padding-top:10px; font-size:0.7em"><div class="sheet-block" style="padding-top:7px; padding-bottom:7px; width:200px"><span>DINHEIRO</span></div></div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em; padding-left:20px; line-height:10px"><span><br>T$</span></div>
<div class="sheet-col" style="font-size:0.7em; padding-left:44px; line-height:10px"><span><br>TP</span></div>
<div class="sheet-col" style="font-size:0.7em; padding-left:42px; line-height:10px"><span><br>TO</span></div>
<div class="sheet-col" style="font-size:0.7em; padding-left:45px; line-height:10px"><span><br>TL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em"><div class="sheet-texto" style="margin-top:-5px; padding-top:4px"><input type="text" name="attr_tibarcobre" title="@{TibarCobre}"></div></div>
<div class="sheet-col" style="font-size:0.7em"><div class="sheet-texto" style="margin-top:-5px; padding-top:4px; padding-left:5px"><input type="text" name="attr_tibarprata" title="@{TibarPrata}"></div></div>
<div class="sheet-col" style="font-size:0.7em"><div class="sheet-texto" style="margin-top:-5px; padding-top:4px; padding-left:5px"><input type="text" name="attr_tibarouro" title="@{TibarOuro}"></div></div>
<div class="sheet-col" style="font-size:0.7em"><div class="sheet-texto" style="margin-top:-5px; padding-top:4px; padding-left:5px"><input type="text" name="attr_tibarplatina" title="@{TibarPlatina}"></div></div>
</div>
<div class="sheet-row" style="padding-top:10px; font-size:0.7em"><div class="sheet-block" style="padding-top:7px; padding-bottom:7px; width:200px"><span>EQUIPAMENTO</span></div></div>
<div class="sheet-row">
<div class="sheet-col" style="font-size:0.7em; padding-left:5px; line-height:10px"><span><br>QTD.</span></div>
<div class="sheet-col" style="font-size:0.7em; padding-left:76px; line-height:10px"><span><br>ITEM</span></div>
<div class="sheet-col" style="font-size:0.7em; padding-left:71px; line-height:10px"><span><br>PESO</span></div>
</div>
<div class="sheet-row">
<fieldset class="repeating_equipamento">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:30px" name="attr_qtd" value="1"></div>
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:165px" name="attr_equip_nome"></div>
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:30px" name="attr_equip_peso"></div>
<input class="inventorysubflag" type="checkbox" name="attr_inventorysubflag"><span>i</span>
<div class="subitem">
<div class="sheet-col" style="margin-left:-20px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:-8px"><textarea class="subtextarea" name="attr_descitem" accept="Content"></textarea></div>
</div>
</fieldset>
<div class="sheet-row" style="font-size:0.5em">
<input type="hidden" name="attr_redutorcarga" value="0">
<div class="sheet-col"><div class="sheet-block" style="margin-top: 3px; margin-right:2px; margin-left:40px; padding-top:7px; padding-bottom:7px"><span>PESO TOTAL</span></div></div>
<div class="sheet-col"><div class="sheet-texto" style="margin-top:-10px; padding-bottom:5px"><input type="text" style="width:50px" name="attr_pesototal" title="@{pesototal}"></div></div>
<div class="sheet-col" style="margin-top: 5px"><span style="font-size:2em">kg</span> </div>
</div>
<div class="sheet-row" style="width: 100%; font-size:0.8em; text-align:center; color:red; font-weight:bold">
<input type="hidden" name="attr_avisocarga" value="">
<span name="attr_avisocarga"></span>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-tab-content sheet-tab2" style="text-align:left; padding: 10px; border: 1px solid black; border-top: 5px solid black">
<div class="sheet-2-colrow">
<div class="sheet-col">
<div class="sheet-row" style="font-size:0.7em; line-height: 10px;">
<div class="sheet-col" style="padding-left:174px"><span><br>TOTAL</span></div>
<div class="sheet-col" style="font-size:0.9em; padding-left:20px"><span><br>GRAD.</span></div>
<div class="sheet-col" style="text-align:center;font-size:0.9em; padding-left:13px"><span>MOD. DE<br>HABILIDADE</span></div>
<div class="sheet-col" style="text-align:center;font-size:0.9em; padding-left:9px"><span><br>OUTROS</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Acrobacia}} {{rolagem=[[1d20+@{acrobacia}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>ACROBACIA<span style="vertical-align:super; font-size:0.8em">+</span></span><span style="font-size:0.8em"><br>Destreza</span>
</div>
</button>
</div>
<input type="hidden" name="attr_acrobaciaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_acrobaciaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_acrobacia" value="(@{graduacao_acrobacia}) + (@{des_mod}) + (@{acrobaciamod}) + (@{armadura_redutor}) + (@{escudo_redutor}) - (@{redutorcarga} * 2)" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_acrobacia" value="(-1*(((@{acrobaciaflag})+(-1))*@{metade_nivel})) + ((@{acrobaciaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_acrobaciades" value="@{des_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_acrobaciamod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Atletismo}} {{rolagem=[[1d20+@{atletismo}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>ATLETISMO<span style="vertical-align:super; font-size:0.8em">+</span></span><span style="font-size:0.8em"><br>Força</span>
</div>
</button>
</div>
<input type="hidden" name="attr_atletismoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_atletismoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_atletismo" value="(@{graduacao_atletismo}) + (@{for_mod}) + (@{atletismomod}) + (@{armadura_redutor}) + (@{escudo_redutor}) - (@{redutorcarga} * 2)" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_atletismo" value="(-1*(((@{atletismoflag})+(-1))*@{metade_nivel})) + ((@{atletismoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_atletismofor" value="@{for_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_atletismomod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Cavalgar}} {{rolagem=[[1d20+@{cavalgar}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>CAVALGAR<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Destreza</span>
</div>
</button>
</div>
<input type="hidden" name="attr_cavalgarflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_cavalgarflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_cavalgar" value="(@{graduacao_cavalgar}) + (@{des_mod}) + (@{cavalgarmod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_cavalgar" value="(-1*(((@{cavalgarflag})+(-1))*@{metade_nivel})) + ((@{cavalgarflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_cavalgardes" value="@{des_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_cavalgarmod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Cura}} {{rolagem=[[1d20+@{cura}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>CURA<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Sabedoria</span>
</div>
</button>
</div>
<input type="hidden" name="attr_curaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_curaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_cura" value="(@{graduacao_cura}) + (@{sab_mod}) + (@{curamod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_cura" value="(-1*(((@{curaflag})+(-1))*@{metade_nivel})) + ((@{curaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_curasab" value="@{sab_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_curamod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Enganação}} {{rolagem=[[1d20+@{enganacao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>ENGANAÇÃO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_enganacaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_enganacaoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_enganacao" value="(@{graduacao_enganacao}) + (@{car_mod}) + (@{enganacaomod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_enganacao" value="(-1*(((@{enganacaoflag})+(-1))*@{metade_nivel})) + ((@{enganacaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_enganacaocar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_enganacaomod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Identificar Magia}} {{rolagem=[[1d20+@{identificar_magia}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>IDENTIFICAR MAGIA<span style="vertical-align:super; font-size:0.8em">*</span></span><span style="font-size:0.8em"><br>Inteligência</span>
</div>
</button>
</div>
<input type="hidden" name="attr_identificar_magiaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_identificar_magiaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_identificar_magia" value="(@{graduacao_identificar_magia}) + (@{int_mod}) + (@{identificar_magiamod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_identificar_magia" value="(-1*(((@{identificar_magiaflag})+(-1))*@{metade_nivel})) + ((@{identificar_magiaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_identificar_magiaint" value="@{int_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_identificar_magiamod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Intimidação}} {{rolagem=[[1d20+@{intimidacao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>INTIMIDAÇÃO<span style="vertical-align:super; font-size:0.8em">*</span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_intimidacaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_intimidacaoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_intimidacao" value="(@{graduacao_intimidacao}) + (@{car_mod}) + (@{intimidacaomod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_intimidacao" value="(-1*(((@{intimidacaoflag})+(-1))*@{metade_nivel})) + ((@{intimidacaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_intimidacaocar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_intimidacaomod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Ladinagem}} {{rolagem=[[1d20+@{ladinagem}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>LADINAGEM<span style="vertical-align:super; font-size:0.8em">*+</span></span><span style="font-size:0.8em"><br>Destreza</span>
</div>
</button>
</div>
<input type="hidden" name="attr_ladinagemflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_ladinagemflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_ladinagem" value="(@{graduacao_ladinagem}) + (@{des_mod}) + (@{ladinagemmod}) + (@{armadura_redutor}) + (@{escudo_redutor}) - (@{redutorcarga} * 2)" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_ladinagem" value="(-1*(((@{ladinagemflag})+(-1))*@{metade_nivel})) + ((@{ladinagemflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_ladinagemdes" value="@{des_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_ladinagemmod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Ofício}} {{rolagem=[[1d20+@{oficio}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px;">
<span>OFÍCIO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Inteligência</span>
</div>
</button>
</div>
<input type="hidden" name="attr_oficioflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_oficioflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_oficio" value="((@{graduacao_oficio}) + (@{int_mod}) + (@{oficiomod}))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_oficio" value="(-1*(((@{oficioflag})+(-1))*@{metade_nivel})) + ((@{oficioflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_oficioint" value="@{int_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_oficiomod" value="0"> </div>
</div>
<input class="oficiosubflag" style="margin-left:-50px;" type="checkbox" name="attr_oficiosubflag"><span style="line-height:13px">l</span>
<div class="suboficio">
<fieldset class="repeating_oficio">
<div class="sheet-row" style="margin-top:10px; margin-bottom:10px">
<button type="roll" style="margin-top:-30px" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Ofício: @{oficiotipo}}} {{rolagem=[[1d20+@{oficiotipo_total}]]}}">
<div class="sheet-col" style="margin-left:-20px; line-height:10px; font-size:2em"><span style="font-family: dicefontd20"><br>T</span></div>
</button>
<div class="sheet-col" style="margin-top:-25px; margin-left: -5px"><div class="sheet-texto"><input type="text" name="attr_oficiotipo" style="width: 120px; height:35px"></div></div>
<div class="sheet-col" style="margin-top:-25px; padding-left:10px"><div class="sheet-texto"><input type="text" name="attr_oficiotipo_total" value="(@{oficiotipo_mod}) + (@{nd} + 3) + (@{int_mod})" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>=</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_oficiotipo_graduacao" value="@{nd} + 3" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_oficiotipo_car" value="@{int_mod}" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_oficiotipo_mod" style="width: 40px; height:35px" value="0"></div></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="margin-top: -14px">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Sobrevivência}} {{rolagem=[[1d20+@{sobrevivencia}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>SOBREVIVÊNCIA<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Sabedoria</span>
</div>
</button>
</div>
<input type="hidden" name="attr_sobrevivenciaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_sobrevivenciaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_sobrevivencia" value="(@{graduacao_sobrevivencia}) + (@{sab_mod}) + (@{sobrevivenciamod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_sobrevivencia" value="(-1*(((@{sobrevivenciaflag})+(-1))*@{metade_nivel})) + ((@{sobrevivenciaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_sobrevivenciasab" value="@{sab_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_sobrevivenciamod" value="0"> </div>
</div>
</div>
</div>
<div class="sheet-col">
<div class="sheet-row" style="font-size:0.7em; line-height: 10px;">
<div class="sheet-col" style="padding-left:172px"><span><br>TOTAL</span></div>
<div class="sheet-col" style="font-size:0.9em; padding-left:20px"><span><br>GRAD.</span></div>
<div class="sheet-col" style="text-align:center;font-size:0.9em; padding-left:13px"><span>MOD. DE<br>HABILIDADE</span></div>
<div class="sheet-col" style="text-align:center;font-size:0.9em; padding-left:9px"><span><br>OUTROS</span></div>
</div>
<div class="sheet-row" style="margin-left:-1px">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Adestrar Animais}} {{rolagem=[[1d20+@{adestrar_animais}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>ADESTRAR ANIMAIS<span style="vertical-align:super; font-size:0.8em">*</span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_adestrar_animaisflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_adestrar_animaisflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_adestrar_animais" value="(@{graduacao_adestrar_animais}) + (@{car_mod}) + (@{adestrar_animaismod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_adestrar_animais" value="(-1*(((@{adestrar_animaisflag})+(-1))*@{metade_nivel})) + ((@{adestrar_animaisflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_adestrar_animaiscar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_adestrar_animaismod" value="0"> </div>
</div>
</div>
<div class="sheet-row" style="margin-left:-1px">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Atuação}} {{rolagem=[[1d20+@{atuacao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px;">
<span>ATUAÇÃO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_atuacaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_atuacaoflag" value="1"><span style="line-height:18px">3</span>
<div class="sheet-col" style="margin-left:-39px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_atuacao" value="((@{graduacao_atuacao}) + (@{car_mod}) + (@{atuacaomod}))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_atuacao" value="(-1*(((@{atuacaoflag})+(-1))*@{metade_nivel})) + ((@{atuacaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_atuacaocar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_atuacaomod" value="0"> </div>
</div>
<input class="atuacaosubflag" style="margin-left:-50px" type="checkbox" name="attr_atuacaosubflag"><span style="line-height:13px">l</span>
<div class="subatuacao">
<fieldset class="repeating_atuacao">
<div class="sheet-row" style="margin-top:10px; margin-bottom:10px">
<button type="roll" style="margin-top:-30px" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Atuação: @{atuacaotipo}}} {{rolagem=[[1d20+@{atuacaotipo_total}]]}}">
<div class="sheet-col" style="margin-left:-20px; line-height:10px; font-size:2em"><span style="font-family: dicefontd20"><br>T</span></div>
</button>
<div class="sheet-col" style="margin-top:-25px; margin-left: -5px"><div class="sheet-texto"><input type="text" name="attr_atuacaotipo" style="width: 120px; height:35px"></div></div>
<div class="sheet-col" style="margin-top:-25px; padding-left:10px"><div class="sheet-texto"><input type="text" name="attr_atuacaotipo_total" value="(@{atuacaotipo_mod}) + (@{nd} + 3) + (@{car_mod})" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>=</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_atuacaotipo_graduacao" value="@{nd} + 3" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_atuacaotipo_car" value="@{car_mod}" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_atuacaotipo_mod" style="width: 40px; height:35px" value="0"></div></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="margin-top: -14px; margin-left:-1px">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Conhecimento}} {{rolagem=[[1d20+@{conhecimento}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px;">
<span>CONHECIMENTO<span style="vertical-align:super; font-size:0.8em"></span>*</span><span style="font-size:0.8em"><br>Inteligência</span>
</div>
</button>
</div>
<input type="hidden" name="attr_conhecimentoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_conhecimentoflag" value="1"><span style="line-height:18px">3</span>
<div class="sheet-col" style="margin-left:-39px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_conhecimento" value="@{conhecimentoflag}*((@{graduacao_conhecimento}) + (@{int_mod}) + (@{conhecimentomod}))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_conhecimento" value="(-1*(((@{conhecimentoflag})+(-1))*@{metade_nivel})) + ((@{conhecimentoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_conhecimentoint" value="@{int_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_conhecimentomod" value="0"> </div>
</div>
<input class="conhecimentosubflag" style="margin-left:-50px" type="checkbox" name="attr_conhecimentosubflag"><span style="line-height:13px">l</span>
<div class="subconhecimento">
<fieldset class="repeating_conhecimento">
<div class="sheet-row" style="margin-top:10px; margin-bottom:10px">
<button type="roll" style="margin-top:-30px" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Conhecimento: @{conhecimentotipo}}} {{rolagem=[[1d20+@{conhecimentotipo_total}]]}}">
<div class="sheet-col" style="margin-left:-20px; line-height:10px; font-size:2em"><span style="font-family: dicefontd20"><br>T</span></div>
</button>
<div class="sheet-col" style="margin-top:-25px; margin-left: -5px"><div class="sheet-texto"><input type="text" name="attr_conhecimentotipo" style="width: 120px; height:35px"></div></div>
<div class="sheet-col" style="margin-top:-25px; padding-left:10px"><div class="sheet-texto"><input type="text" name="attr_conhecimentotipo_total" value="(@{conhecimentotipo_mod}) + (@{nd} + 3) + (@{int_mod})" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>=</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_conhecimentotipo_graduacao" value="@{nd} + 3" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_conhecimentotipo_int" value="@{int_mod}" style="width: 40px; height:35px" disabled="true"></div></div>
<div class="sheet-col" style="margin-top:-10px; margin-left: -17px; font-size:1.5em"><span>+</span></div>
<div class="sheet-col" style="margin-top:-25px; margin-left:-20px"><div class="sheet-texto"><input type="text" name="attr_conhecimentotipo_mod" style="width: 40px; height:35px" value="0"></div></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="margin-top: -14px">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Diplomacia}} {{rolagem=[[1d20+@{diplomacia}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>DIPLOMACIA<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_diplomaciaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_diplomaciaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_diplomacia" value="(@{graduacao_diplomacia}) + (@{car_mod}) + (@{diplomaciamod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_diplomacia" value="(-1*(((@{diplomaciaflag})+(-1))*@{metade_nivel})) + ((@{diplomaciaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_diplomaciacar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_diplomaciamod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Furtividade}} {{rolagem=[[1d20+@{furtividade}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>FURTIVIDADE<span style="vertical-align:super; font-size:0.8em">+</span></span><span style="font-size:0.8em"><br>Destreza</span>
</div>
</button>
</div>
<input type="hidden" name="attr_furtividadeflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_furtividadeflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_furtividade" value="(@{graduacao_furtividade}) + (@{des_mod}) + (@{furtividademod}) + (@{armadura_redutor}) + (@{escudo_redutor}) - (@{redutorcarga} * 2)" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_furtividade" value="(-1*(((@{furtividadeflag})+(-1))*@{metade_nivel})) + ((@{furtividadeflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_furtividadedes" value="@{des_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_furtividademod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Iniciativa}} {{rolagem=[[1d20+@{iniciativa} &{tracker}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>INICIATIVA<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Destreza</span>
</div>
</button>
</div>
<input type="hidden" name="attr_iniciativaflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_iniciativaflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_iniciativa" value="(@{graduacao_iniciativa}) + (@{des_mod}) + (@{iniciativamod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_iniciativa" value="(-1*(((@{iniciativaflag})+(-1))*@{metade_nivel})) + ((@{iniciativaflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_iniciativades" value="@{des_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_iniciativamod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Intuição}} {{rolagem=[[1d20+@{intuicao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>INTUIÇÃO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Sabedoria</span>
</div>
</button>
</div>
<input type="hidden" name="attr_intuicaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_intuicaoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_intuicao" value="(@{graduacao_intuicao}) + (@{sab_mod}) + (@{intuicaomod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_intuicao" value="(-1*(((@{intuicaoflag})+(-1))*@{metade_nivel})) + ((@{intuicaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_intuicaosab" value="@{sab_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_intuicaomod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Obter Informação}} {{rolagem=[[1d20+@{obter_informacao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>OBTER INFORMAÇÃO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Carisma</span>
</div>
</button>
</div>
<input type="hidden" name="attr_obter_informacaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_obter_informacaoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_obter_informacao" value="(@{graduacao_obter_informacao}) + (@{car_mod}) + (@{obter_informacaomod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_obter_informacao" value="(-1*(((@{obter_informacaoflag})+(-1))*@{metade_nivel})) + ((@{obter_informacaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_obter_informacaocar" value="@{car_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_obter_informacaomod" value="0"> </div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col">
<button style="margin-top:5px; height:37px;" type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Percepção}} {{rolagem=[[1d20+@{percepcao}]]}}">
<div class="sheet-block" style="line-height:10px; font-size:0.65em; width: 120px">
<span>PERCEPÇÃO<span style="vertical-align:super; font-size:0.8em"></span></span><span style="font-size:0.8em"><br>Sabedoria</span>
</div>
</button>
</div>
<input type="hidden" name="attr_percepcaoflag" value="0">
<input class="treinadaflag" type="checkbox" name="attr_percepcaoflag" value="1"><span style="line-height:18px;">3</span>
<div class="sheet-col" style="margin-left:-40px; padding-top:5px">
<div class="sheet-texto"><input type="text" style="height:35px; width:40px" name="attr_percepcao" value="(@{graduacao_percepcao}) + (@{sab_mod}) + (@{percepcaomod})" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>=</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_graduacao_percepcao" value="(-1*(((@{percepcaoflag})+(-1))*@{metade_nivel})) + ((@{percepcaoflag}+0)*(@{nd} + 3))" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_percepcaosab" value="@{sab_mod}" disabled="true"> </div>
</div>
<div class="sheet-col" style="padding-top: 15px; margin-left: -3px"><span>+</span></div>
<div class="sheet-col" style="margin-left:-2px">
<div class="sheet-texto" style="padding-top:5px"><input type="text" style="height:35px; width:40px" name="attr_percepcaomod" value="0"> </div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-tab-content sheet-tab3" style="text-align:left; padding: 10px; border: 1px solid black; border-top: 5px solid black">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="margin-top:5px;">
<span style="font-size: 0.8em">ATRIBUTO-CHAVE:</span>
</div>
<div class="sheet-col">
<select style="width:80px; line-height:20px" name="attr_atributochave"><option value="@{for_mod}">Força</option><option value="@{des_mod}">Destreza</option><option value="@{con_mod}">Constituição</option><option value="@{int_mod}" selected>Inteligência</option><option value="@{sab_mod}">Sabedoria</option><option value="@{car_mod}">Carisma</option> </select>
</div>
<div class="sheet-col" style="margin-top:5px; margin-left:30px"><span style="font-size: 0.8em">CLASSE DE DIFICULDADE:</span></div>
<div class="sheet-col"><div class="sheet-texto"><input type="text" name="attr_cd" style="width:40px; line-height:20px;" value="10 + @{atributochave}" disabled="true"> </div></div>
<div class="sheet-col" style="margin-top:5px; margin-left:-5px"><span style="font-size: 0.8em">+ Nível da Magia</span></div>
</div>
<div class="sheet-3-colrow" style="text-align:center; padding-top:10px">
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; padding-top:10px; padding-bottom:10px"><span>TRUQUES</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magiatruques">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=nível Básico}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+0]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="Truque">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>1º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel1">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=1º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+1]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="1º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>2º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel2">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=2º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+2]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="2º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-col" style="padding-left:5px">
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; padding-top:10px; padding-bottom:10px"><span>3º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel3">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=3º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+3]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="3º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>4º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel4">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=4º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+4]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="4º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>5º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel5">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=5º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+5]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="5º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-col" style="padding-left:5px">
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; padding-top:10px; padding-bottom:10px"><span>6º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel6">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=6º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+6]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="6º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>7º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel7">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nome=@{Char_Name}}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=7º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+7]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="7º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>8º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel8">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nome=@{Char_Name}}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=8º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+8]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="8º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-block" style="font-size:1.1em; width: 200px; margin-top:10px; padding-top:10px; padding-bottom:10px"><span>9º NÍVEL</span></div>
</div>
<div class="sheet-row">
<div class="sheet-col" style="border: 1px solid black; width:200px; padding-left: 14px; padding-right: 14px; padding-top:10px; padding-bottom:10px">
<div class="sheet-row" style="margin-top:-10px">
<fieldset class="repeating_magianivel9">
<input type="checkbox" class="preparadaflag" name="attr_preparadaflag"><span>3</span>
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{tipodanomagia=@{tipodanomagia}}} {{alvomagia=@{alvomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=9º nível}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd}+9]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="padding-top:-10px; line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
<input type="hidden" name="attr_nivelmagia" value="9º nível">
</div>
<div class="sheet-row">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-tab-content sheet-tab4" style="text-align:left; padding: 5px; border: 1px solid black; border-top: 5px solid black">
<div class="sheet-row" style="margin-top:10px; padding-left:10px; padding-right:10px">
<div class="sheet-3-colrow">
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">HABILIDADES RACIAIS</div>
</div>
<div class="sheet-row">
<fieldset class="repeating_raciais">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:230px" name="attr_raciais_nome"></div>
<input class="raciaissubflag" type="checkbox" name="attr_raciaissubflag"><span>y</span>
<div class="subraciais">
<div class="sheet-col" style="margin-left:10px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:10px"><textarea style="width:180px" class="subtextarea" name="attr_descraciais" accept="Content"></textarea></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-col" style="margin-left:10px">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">HABILIDADES DE CLASSE</div>
</div>
<div class="sheet-row">
<fieldset class="repeating_classe">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:230px" name="attr_classe_nome"></div>
<input class="classesubflag" type="checkbox" name="attr_classesubflag"><span>y</span>
<div class="subclasse">
<div class="sheet-col" style="margin-left:10px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:10px"><textarea style="width:180px" class="subtextarea" name="attr_descclasse" accept="Content"></textarea></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-col" style="margin-left:10px">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">TALENTOS</div>
</div>
<div class="sheet-row">
<fieldset class="repeating_talento">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:230px" name="attr_talento_nome"></div>
<input class="talentosubflag" type="checkbox" name="attr_talentosubflag"><span>y</span>
<div class="subtalento">
<div class="sheet-col" style="margin-left:10px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:10px"><textarea style="width:180px" class="subtextarea" name="attr_desctalento" accept="Content"></textarea></div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px; padding-left:10px; padding-right:10px">
<div class="sheet-3-colrow">
<div class="sheet-col">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">HISTÓRIA</div>
</div>
<div class="sheet-row">
<textarea name="attr_historia" style="text-align:left; width:220px; height:150px; border: 1px solid black"></textarea>
</div>
</div>
<div class="sheet-col" style="margin-left:10px">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">PERSONALIDADE</div>
</div>
<div class="sheet-row">
<textarea name="attr_personalidade" style="text-align:left; width:220px; height:150px; border: 1px solid black"></textarea>
</div>
</div>
<div class="sheet-col" style="margin-left:10px">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">APARÊNCIA</div>
</div>
<div class="sheet-row">
<textarea name="attr_aparencia" style="text-align:left; width:220px; height:150px; border: 1px solid black"></textarea>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px; padding-left:10px; padding-right:10px">
<div class="sheet-2-colrow">
<div class="sheet-col" style="width:200px; margin-right:25px">
<div class="sheet-row">
<div class="sheet-block" style="width:200px; font-size:1.1em; padding-top:10px; padding-bottom:10px">IDIOMAS</div>
</div>
<div class="sheet-row">
<fieldset class="repeating_idioma">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:230px" name="attr_idioma_nome"></div>
</fieldset>
</div>
</div>
<div class="sheet-col" style="margin-left:15px; width:453px">
<div class="sheet-row">
<div class="sheet-block" style="width:443px; font-size:1.1em; padding-top:10px; padding-bottom:10px">NOTAS</div>
</div>
<div class="sheet-row">
<textarea name="attr_notas" style="text-align:left; width:463px; height:150px; border: 1px solid black"></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sheet-npc-content sheet-npc2" style="text-align:left">
<div class="sheet-row">
<div class="sheet-col" style="padding-top:5px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Iniciativa}} {{rolagem=[[1d20+(@{npc_iniciativa}) &{tracker}]]}}" style="font-weight:bold; font-size:1em"><span>Iniciativa:</span></button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_iniciativa" style="width:35px" placeholder="-1"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:5px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Percepção}} {{rolagem=[[1d20+(@{npc_percepcao})]]}} {{efeitoarma=@{npc_per_efeito}}}" style="font-weight:bold; font-size:1em"><span>Sentidos:</span></button>
</div>
<div class="sheet-col" style="padding-top:5px">
<button type="roll" style="font-size: 1em">Percepção</button></div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_percepcao" style="width:35px" placeholder="+2"></div>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_per_efeito" style="text-align:left;width:210px" placeholder="visão no escuro"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Classe de Armadura:</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_ca" style="width:35px" placeholder="15"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Pontos de Vida:</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_hp_max" style="width:40px" placeholder="63"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Resistências:</span>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Fortitude}} {{rolagem=[[1d20+(@{npc_fortitude})]]}}" style="font-size: 1em">Fort</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_fortitude" style="width:30px" placeholder="+3"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Reflexos}} {{rolagem=[[1d20+(@{npc_reflexos})]]}}" style="font-size: 1em">Ref</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_reflexos" style="width:30px" placeholder="-2"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Vontade}} {{rolagem=[[1d20+(@{npc_vontade})]]}}" style="font-size: 1em">Von</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_vontade" style="width:30px" placeholder="0"></div>
</div>
</div>
<div class="sheet-row">
<div class="sheet-texto"><input type="text" name="attr_npc_resistencia" style="text-align:left;width:400px" placeholder="imunidade a fogo"></div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:7px">
<span style="font-weight:bold; padding-left: 5px">Deslocamento:</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_npc_deslocamento" style="text-align:left;width:298px" placeholder="12m, vôo 18m"></div>
</div>
</div>
<div class="sheet-row" style="padding-top:20px; padding-left:5px; font-size: 0.7em; line-height:10px">
<div class="sheet-col" style="padding-top:7px">
<span style="font-weight:bold;font-size:1.4em">Ataques Corpo-a-Corpo:</div></span>
<div class="sheet-col" style="padding-left:8px; text-align:center;"><span>BÔNUS<br>DE ATAQUE</span></div>
<div class="sheet-col" style="padding-left:20px; text-align:center;"><span><br>DANO</span></div>
<div class="sheet-col" style="padding-left:33px; text-align:center;"><span><br>CRÍTICO</span></div>
<div class="sheet-col" style="padding-left:28px; text-align:center;"><span><br>DISTÂNCIA</span></div>
<div class="sheet-col" style="padding-left:30px; text-align:center;"><span><br>TIPO</span></div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col">
<fieldset class="repeating_npcataquemelee">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{nomearma=@{nomearma}}} {{rangearma=[[0]]}} {{corpoacorpo=[[1d20cs>@{critrangearma}+(@{bonusarma})]]}} {{crit=[[(@{danoarma})*@{multiplierarma}]]}} {{dano=[[@{danoarma}]]}} {{tipodano=@{tipoarma}}}" style="margin-left:2px;border-radius: 10px; border:1px solid #ccc; background-color:white">
<div class="sheet-texto" style="line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomearma"></span><input type="hidden" name="attr_nomearma">
</div>
</button>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:40px" name="attr_bonusarma" value="0"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px; padding-right:5px"><input type="text" style="width:60px" name="attr_danoarma" value="1d6+1"></div>
<div class="sheet-col" style="padding-left:20px; padding-top:10px; border-bottom:1px solid black">
<span style="font-size:0.95em; line-height:27px;">-20 x</span>
</div>
<div class="sheet-col">
<div class="sheet-texto" style="padding-top:8px; margin-left: -52px;"><input type="text" style="width:25px" name="attr_critrangearma_fake" value="@{critrangearma}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top:8px; margin-left: -15px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma_fake" value="@{multiplierarma}" disabled="true"></div>
</div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px" name="attr_distanciaarma"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px; font-size:0.95em" name="attr_tipoarma"></div>
<input class="armassubflag" type="checkbox" name="attr_armassubflag" checked><span>y</span>
<div class="subarma">
<div class="sheet-row">
<div class="sheet-col">
<div class="sheet-row" style="margin-left:-20px"><span style="font-size:1.3em">Nome do Ataque</span></div>
<div class="sheet-texto"><input type="text" style="width:220px; height:25px;" name="attr_nomearma" accept="Content"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:3px">
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Margem de Ameaça
</span></div>
<div class="sheet-col" style="margin-left: 5px; margin-top:7px; padding-bottom:3px; padding-right:0px;">
<span style="font-size:1.35em">-20</span>
</div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto" style="margin-left: -60px;"><input type="text" style="width:25px" name="attr_critrangearma" value="20"></div>
</div>
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Multiplicador x
</span></div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma" value="2"></div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="padding-top:20px; padding-left:5px; font-size: 0.7em; line-height:10px">
<div class="sheet-col" style="padding-top:7px">
<span style="font-weight:bold;font-size:1.4em">Ataques à Distância:</div></span>
<div class="sheet-col" style="padding-left:32px; text-align:center;"><span>BÔNUS<br>DE ATAQUE</span></div>
<div class="sheet-col" style="padding-left:20px; text-align:center;"><span><br>DANO</span></div>
<div class="sheet-col" style="padding-left:33px; text-align:center;"><span><br>CRÍTICO</span></div>
<div class="sheet-col" style="padding-left:28px; text-align:center;"><span><br>DISTÂNCIA</span></div>
<div class="sheet-col" style="padding-left:30px; text-align:center;"><span><br>TIPO</span></div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col">
<fieldset class="repeating_npcataqueranged">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{nomearma=@{nomearma}}} {{rangearma=[[1]]}} {{adistancia=[[1d20cs>@{critrangearma}+(@{bonusarma})]]}} {{crit=[[(@{danoarma})*@{multiplierarma}]]}} {{dano=[[@{danoarma}]]}} {{tipodano=@{tipoarma}}}" style="margin-left:2px;border-radius: 10px; border:1px solid #ccc; background-color:white">
<div class="sheet-texto" style="line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomearma"></span><input type="hidden" name="attr_nomearma">
</div>
</button>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:40px" name="attr_bonusarma" value="0"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px; padding-right:5px"><input type="text" style="width:60px" name="attr_danoarma" value="1d6+1"></div>
<div class="sheet-col" style="padding-left:20px; padding-top:10px; border-bottom:1px solid black">
<span style="font-size:0.95em; line-height:27px;">-20 x</span>
</div>
<div class="sheet-col">
<div class="sheet-texto" style="padding-top:8px; margin-left: -52px;"><input type="text" style="width:25px" name="attr_critrangearma_fake" value="@{critrangearma}" disabled="true"></div>
</div>
<div class="sheet-col" style="padding-top:8px; margin-left: -15px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma_fake" value="@{multiplierarma}" disabled="true"></div>
</div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px" name="attr_distanciaarma"></div>
<div class="sheet-texto" style="padding-left: 5px; padding-bottom:5px"><input type="text" style="width:60px; font-size:0.95em" name="attr_tipoarma"></div>
<input class="armassubflag" type="checkbox" name="attr_armassubflag" checked><span>y</span>
<div class="subarma">
<div class="sheet-row">
<div class="sheet-col">
<div class="sheet-row" style="margin-left:-20px"><span style="font-size:1.3em">Nome do Ataque</span></div>
<div class="sheet-texto"><input type="text" style="width:220px; height:25px;" name="attr_nomearma" accept="Content"></div>
</div>
</div>
<div class="sheet-row" style="margin-top:3px">
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Margem de Ameaça
</span></div>
<div class="sheet-col" style="margin-left: 5px; margin-top:7px; padding-bottom:3px; padding-right:0px;">
<span style="font-size:1.35em">-20</span>
</div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto" style="margin-left: -60px;"><input type="text" style="width:25px" name="attr_critrangearma" value="20"></div>
</div>
<div class="sheet-col" style="margin-top: 2px; line-height:30px"><span style="font-size:1.4em">
Multiplicador x
</span></div>
<div class="sheet-col" style="margin-bottom:-5px">
<div class="sheet-texto"><input type="text" style="width:25px" name="attr_multiplierarma" value="2"></div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="margin-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Habilidades:</span>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Força}} {{rolagem=[[1d20+(@{for_mod})]]}}" style="font-size: 1em">For</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_for" style="width:30px" value="10"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Destreza}} {{rolagem=[[1d20+(@{des_mod})]]}}" style="font-size: 1em">Des</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_des" style="width:30px" value="10"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Constituição}} {{rolagem=[[1d20+(@{con_mod})]]}}" style="font-size: 1em">Con</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_con" style="width:30px" value="10"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Inteligência}} {{rolagem=[[1d20+(@{int_mod})]]}}" style="font-size: 1em">Int</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_int" style="width:30px" value="10"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Sabedoria}} {{rolagem=[[1d20+(@{sab_mod})]]}}" style="font-size: 1em">Sab</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_sab" style="width:30px" value="10"></div>
</div>
<div class="sheet-col" style="padding-top:2px">
<button type="roll" value="&{template:trpg} {{nome=@{Char_Name}}} {{teste=Carisma}} {{rolagem=[[1d20+(@{car_mod})]]}}" style="font-size: 1em">Car</button>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_car" style="width:30px" value="10"></div>
</div>
</div>
<hr>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Efeitos:</span>
</div>
</div>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="width:280px">
<fieldset class="repeating_efeitonpc">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:240px" name="attr_equip_nome"></div>
<input class="inventorysubflag" type="checkbox" name="attr_inventorysubflag"><span>i</span>
<div class="subitem" style="margin-bottom:35px">
<div class="sheet-col" style="margin-left:-20px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:-8px"><textarea class="subtextarea" style="width:200px" name="attr_descitem" accept="Content"></textarea></div>
</div>
</fieldset>
</div>
</div>
<hr>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Magias:</span>
</div>
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 100px">CD:</span>
</div>
<div class="sheet-col" style="padding-left:10px">
<div class="sheet-texto"><input type="text" name="attr_cd_npc" value="0"></div>
</div>
</div>
<div class="sheet-row" style="text-align:center; width:250px">
<fieldset class="repeating_magianpc">
<button type="roll" value="&{template:trpgmagia} {{nome=@{Char_Name}}} {{alvomagia=@{alvomagia}}} {{tipodanomagia=@{tipodanomagia}}} {{crit=[[2*(@{dadodanomagia} + @{moddanomagia} + @{metade_nivel})]]}} {{nomemagia=@{nomemagia}}} {{tipomagia=@{tipomagia}}} {{nivelmagia=@{nivelmagianpc}}} {{escolamagia=@{escolamagia}}} {{tempomagia=@{tempomagia}}} {{alcancemagia=@{alcancemagia}}} {{areamagia=@{areamagia}}} {{efeitomagia=@{efeitomagia}}} {{duracaomagia=@{duracaomagia}}} {{resistenciaflagmagia=[[@{resistenciaflagmagia}]]}} {{resistenciamagia=@{resistenciamagia}}} {{descmagia=@{descmagia}}} {{cdmagia=[[@{cd_npc}]]}} {{ataqueflagmagia=[[@{ataqueflagmagia}]]}} {{ataquemagia=[[1d20 + @{ataquemagiatoque}]]}} {{componenteflagmagia=[[@{componenteflagmagia}]]}} {{componentemagia=@{componentemagia}}} {{valormagia=@{valormagia}}} {{danoflagmagia=[[@{danoflagmagia}]]}} {{danomagia=[[@{dadodanomagia} + @{moddanomagia} + @{metade_nivel}]]}} " style="margin-top:0px; margin-left:0px;border-radius: 00px; border:0px solid #ccc; background-color:white">
<div class="sheet-texto" style="line-height:20px;margin-left:-1px;border-bottom: 1px solid black; width:150px;">
<span name="attr_nomemagia"></span><input type="hidden" name="attr_nomemagia">
</div>
</button>
<input class="magiaflag" type="checkbox" name="attr_magiaflag" checked><span>y</span>
<div class="submagia" style="text-align:left; margin-top:5px; padding:3px; border-radius:10px; border: 1px solid #A0A0A0">
<div class="sheet-row">
<div class="sheet-col" style="padding-left:55px">
<span style="font-size:0.9em">NOME DA MAGIA</span>
</div>
<div class="sheet-col" style="padding-left:75px">
<span style="font-size:0.9em">NÍVEL</span>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="padding-top:8px">
<div class="sheet-texto"><input type="text" name="attr_nomemagia" style="height: 20px; width:150px"></div>
</div>
<div class="sheet-col" style="padding-left:20px; ">
<select name="attr_nivelmagianpc" style="width:60px; line-height:20px">
<option value="nível Básico">Truque</option>
<option value="1º Nível">1º Nível</option>
<option value="2º Nível">2º Nível</option>
<option value="3º Nível">3º Nível</option>
<option value="4º Nível">4º Nível</option>
<option value="5º Nível">5º Nível</option>
<option value="6º Nível">6º Nível</option>
<option value="7º Nível">7º Nível</option>
<option value="8º Nível">8º Nível</option>
<option value="9º Nível">9º Nível</option>
</select>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">MAGIA</span></div><div class="sheet-col"><select name="attr_tipomagia" style="width:50px"><option value="Arcana">Arcana</option><option value="Divina">Divina</option></select> </div>
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ESCOLA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_escolamagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">TEMPO DE EXECUÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:105px" name="attr_tempomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALCANCE</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:155px" name="attr_alcancemagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ÁREA</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:172px" name="attr_areamagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">EFEITO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_efeitomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">ALVO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:164px" name="attr_alvomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; margin-top:-5px">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">DURAÇÃO</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:153px" name="attr_duracaomagia"></div></div>
</div>
<div class="sheet-row" style="text-align:center; text-align:center; padding-top:10px">
<div class="sheet-col"><span style="font-size:0.9em">DESCRIÇÃO</span></div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col" style="width:190px"><textarea class="subtextarea" name="attr_descmagia" accept="Content"></textarea></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col" style="text-align:center">
<span style="font-size:0.9em; padding-right:12px">TESTE DE RESISTÊNCIA</span>
</div>
<input type="hidden" name="attr_resistenciaflagmagia" value="0">
<input style="margin-left:-5px" class="resistenciaflagmagia" type="checkbox" name="attr_resistenciaflagmagia" value="1">
<div class="submagiaresistencia" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_resistenciamagia" style="width:190px"></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">ATAQUE</span>
</div>
<input type="hidden" name="attr_ataqueflagmagia" value="0">
<input style="margin-left:-5px" class="ataqueflagmagia" type="checkbox" name="attr_ataqueflagmagia" value="1">
<div class="submagiaataque">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TOQUE</span>
</div>
<div class="sheet-col">
<select style="width:95px; line-height:20px" name="attr_ataquemagiatoque"><option value="@{CorpoaCorpo}">Corpo-a-Corpo</option> <option value="@{ADistancia}">À Distância</option> </select>
</div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:7px">COMPONENTE MATERIAL</span>
</div>
<input type="hidden" name="attr_componenteflagmagia" value="0">
<input style="margin-left:-5px" class="componenteflagmagia" type="checkbox" name="attr_componenteflagmagia" value="1">
<div class="submagiacomponente" style="text-align:center">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" style="width:190px" name="attr_componentemagia"></div>
</div>
<div class="sheet-row" style="margin-top:-5px; text-align:center">
<div class="sheet-col"><span style="font-size:0.9em; margin-top:10px; padding-right:3px">VALOR</span></div><div class="sheet-col"><div class="sheet-texto"><input type="text" style="width:80px" name="attr_valormagia"></div></div>
</div>
</div>
</div>
<div class="sheet-row" style="text-align:center">
<div class="sheet-col">
<span style="font-size:0.9em; padding-right:16px">DANO / CURA</span>
</div>
<input type="hidden" name="attr_danoflagmagia" value="0">
<input type="checkbox" class="danoflagmagia" style="margin-left: -5px" name="attr_danoflagmagia" value="1">
<div class="submagiadano">
<div class="sheet-row" style="margin-top:-15px">
<div class="sheet-texto"><input type="text" name="attr_dadodanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<div class="sheet-texto"><input type="text" name="attr_moddanomagia" value="0" style="width:40px"></div>
<span style="margin-top:10px">+</span>
<select name="attr_atribdanomagia" style="line-height: 20px; width:40px"> <option value="none" selected></option> <option value="for">FOR</option> <option value="des">DES</option> <option value="con">CON</option> <option value="int">INT</option> <option value="sab">SAB</option> <option value="car">CAR</option> </select>
</div>
<div class="sheet-row">
<div class="sheet-col">
<span style="font-size:0.9em; margin-top:10px; padding-right:3px">TIPO</span>
</div>
<div class="sheet-col">
<div class="sheet-texto"><input type="text" name="attr_tipodanomagia" style="width:100px"></div>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<hr>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Equipamentos:</span>
</div>
</div>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="width:280px">
<fieldset class="repeating_equipamentonpc">
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:30px" name="attr_qtd" value="1"></div>
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:165px" name="attr_equip_nome"></div>
<div class="sheet-texto" style="padding-bottom:5px"><input type="text" style="width:30px" name="attr_equip_peso"></div>
<input class="inventorysubflag" type="checkbox" name="attr_inventorysubflag"><span>i</span>
<div class="subitem">
<div class="sheet-col" style="margin-left:-20px"><span style="font-family: 'Pictos'; font-size:2em">p</span></div>
<div class="sheet-col" style="margin-left:-8px"><textarea class="subtextarea" name="attr_descitem" accept="Content"></textarea></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Tesouro:</span>
</div>
<div class="sheet-col" style="padding-top:5px">
<div class="sheet-texto"><input type="text" name="attr_tesouronpc" style="width:170px"></div>
</div>
</div>
<div class="sheet-row" style="padding-top:10px">
<div class="sheet-col" style="padding-top:5px">
<span style="font-weight:bold; padding-left: 5px">Experiência:</span>
</div>
<div class="sheet-col" style="padding-top:5px">
<div class="sheet-texto"><input type="text" name="attr_xpnpc" style="width:80px" value="(@{nd})*300" disabled="true"></div>
</div>
</div>
</div>
</div>
</div>
<script type="text/worker">
on("sheet:opened change:armadura_desmax change:escudo_desmax change:des", function() {
getAttrs(["des", "armadura_desmax", "escudo_desmax"], function(v) {
var desmod = Math.floor((v.des - 10) / 2);
if(!v.armadura_desmax || v.armadura_desmax == ""){
modarm = 1000;
}
else{
var modarm = v.armadura_desmax;
}
if(!v.escudo_desmax || v.escudo_desmax == ""){
modesc = 1000;
}
else{
var modesc = v.escudo_desmax;
}
if(desmod > modarm || desmod > modesc){
if(modarm > modesc){
setAttrs({
des_mod_ca: v.escudo_desmax
});
}
else{
setAttrs({
des_mod_ca: v.armadura_desmax
});
}
}
else{
setAttrs({
des_mod_ca: desmod
});
}
});
});
on("sheet:opened change:des", function(){
getAttrs(["des"], function(v){
var desmod = Math.floor((v.des - 10) / 2);
setAttrs({
des_mod: desmod
});
});
});
on("sheet:opened change:for", function(){
getAttrs(["for"], function(v){
var formod = Math.floor((v.for - 10) / 2);
setAttrs({
for_mod: formod
});
});
});
on("sheet:opened change:con", function(){
getAttrs(["con"], function(v){
var conmod = Math.floor((v.con - 10) / 2);
setAttrs({
con_mod: conmod
});
});
});
on("sheet:opened change:int", function(){
getAttrs(["int"], function(v){
var intmod = Math.floor((v.int - 10) / 2);
setAttrs({
int_mod: intmod
});
});
});
on("sheet:opened change:sab", function(){
getAttrs(["sab"], function(v){
var sabmod = Math.floor((v.sab - 10) / 2);
setAttrs({
sab_mod: sabmod
});
});
});
on("sheet:opened change:car", function(){
getAttrs(["car"], function(v){
var carmod = Math.floor((v.car - 10) / 2);
setAttrs({
car_mod: carmod
});
});
});
on("sheet:opened change:ND", function() {
getAttrs(["ND"], function(v) {
var xp = 0;
switch(v.ND){
case "1":
xp = 1000;
break;
case "2":
xp = 3000;
break;
case "3":
xp = 6000;
break;
case "4":
xp = 10000;
break;
case "5":
xp = 15000;
break;
case "6":
xp = 21000;
break;
case "7":
xp = 28000;
break;
case "8":
xp = 36000;
break;
case "9":
xp = 45000;
break;
case "10":
xp = 55000;
break;
case "11":
xp = 66000;
break;
case "12":
xp = 78000;
break;
case "13":
xp = 91000;
break;
case "14":
xp = 105000;
break;
case "15":
xp = 120000;
break;
case "16":
xp = 136000;
break;
case "17":
xp = 153000;
break;
case "18":
xp = 171000;
break;
case "19":
xp = 190000;
break;
case "20":
xp = 210000;
break;
}
setAttrs({
XP_max: xp
});
});
});
on("sheet:opened change:tamanho", function() {
getAttrs(["tamanho"], function(v) {
var catamanhomod = 0;
var furttamanhomod = 0;
switch(v.tamanho){
case "4":
catamanhomod = 8;
furttamanhomod = 16;
break;
case "3":
catamanhomod = 4;
furttamanhomod = 12;
break;
case "2":
catamanhomod = 2;
furttamanhomod = 8;
break;
case "1":
catamanhomod = 1;
furttamanhomod = 4;
break;
case "0":
catamanhomod = 0;
furttamanhomod = 0;
break;
case "-1":
catamanhomod = -1;
furttamanhomod = -4;
break;
case "-2":
catamanhomod = -2;
furttamanhomod = -8;
break;
case "-3":
catamanhomod = -4;
furttamanhomod = -12;
break;
case "-4":
catamanhomod = -8;
furttamanhomod = -16;
break;
}
setAttrs({ ca_mod_tam: catamanhomod });
setAttrs({ furt_mod_tam: furttamanhomod });
});
});
on("sheet:opened remove:repeating_equipamento change:repeating_equipamento:equip_peso change:repeating_equipamento:qtd change:tibarcobre change:tibarprata change:tibarouro change:tibarplatina", function() {
updateitemweight();
});
var updateitemweight = function() {
var wtotal = 0;
var cargamax = 0;
getAttrs(["tibarcobre","tibarprata","tibarouro","tibarplatina"], function(v) {
cp = isNaN(parseInt(v.tibarcobre, 10)) === false ? parseInt(v.tibarcobre, 10) : 0;
sp = isNaN(parseInt(v.tibarprata, 10)) === false ? parseInt(v.tibarprata, 10) : 0;
gp = isNaN(parseInt(v.tibarouro, 10)) === false ? parseInt(v.tibarouro, 10) : 0;
pp = isNaN(parseInt(v.tibarplatina, 10)) === false ? parseInt(v.tibarplatina, 10) : 0;
wtotal = wtotal + ((cp + sp + gp + pp) / 50);
getSectionIDs("repeating_equipamento", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_equipamento_" + currentID + "_equip_peso", "repeating_equipamento_" + currentID + "_qtd"], function(v) {
if(v["repeating_equipamento_" + currentID + "_equip_peso"] && isNaN(parseInt(v["repeating_equipamento_" + currentID + "_equip_peso"], 10)) === false) {
count = v["repeating_equipamento_" + currentID + "_qtd"] && isNaN(parseFloat(v["repeating_equipamento_" + currentID + "_qtd"])) === false ? parseFloat(v["repeating_equipamento_" + currentID + "_qtd"]) : 1;
wtotal = wtotal + (parseFloat(v["repeating_equipamento_" + currentID + "_equip_peso"]) * count);
}
if(i === idarray.length - 1) {
setAttrs({pesototal: wtotal});
}
});
});
}
else {
setAttrs({pesototal: wtotal});
}
});
});
getAttrs(["for"], function (v){
cargamax = v.for * 3;
if(wtotal > cargamax){
setAttrs({ redutorcarga: 1 });
setAttrs({ avisocarga: "SOBRECARGA" });
}
else{
setAttrs({ redutorcarga: 0 });
setAttrs({ avisocarga: "" });
}
});
}
</script>
<rolltemplate class="sheet-rolltemplate-trpg">
<div class="trpg-header">{{nome}}</div>
<div class="trpg-table">
{{#teste}}
<div class="trpg-row">
<div class="trpg-col"><span class="subtitulo">{{teste}}</span></div>
</div>
{{/teste}}
{{#nomearma}}
<div class="trpg-row">
<div class="trpg-col"><span class="subtitulo">{{nomearma}}</span></div>
</div>
{{/nomearma}}
{{#efeitoarma}}
<div class="trpg-row">
<div class="trpg-col"><span class="subtitulo">{{efeitoarma}}</span></div>
</div>
{{/efeitoarma}}
{{#rolagem}}
<div class="trpg-roll">{{rolagem}}</div>
{{/rolagem}}
{{#rangearma}}
<div class="trpg-roll" style="display:none">{{rangearma}}</div>
{{#rollTotal() rangearma 0}}
{{#corpoacorpo}}
<div class="trpg-roll">{{corpoacorpo}}</div>
{{/corpoacorpo}}
<div class="trpg-row" style="margin-top:5px"><span class="subtitulo" style="font-style:normal; font-size:0.9em">Ataque Corpo-a-Corpo</span></div>
{{/rollTotal() rangearma 0}}
{{#rollTotal() rangearma 1}}
{{#adistancia}}
<div class="trpg-roll">{{adistancia}}</div>
{{/adistancia}}
<div class="trpg-row" style="margin-top:5px"><span class="subtitulo" style="font-style:normal; font-size:0.9em">Ataque À Distância</span></div>
{{/rollTotal() rangearma 1}}
{{/rangearma}}
{{#ataque}}
<div class="trpg-row" style="margin-top:5px"><span class="subtitulo" style="font-style:normal; font-size:0.9em">Ataque {{ataque}}</span></div>
{{/ataque}}
{{#dano}}
<hr style="margin-bottom:10px; margin-top:10px">
<div class="trpg-row">Dano</div>
{{#rollTotal() rangearma 0}}
{{#rollWasCrit() corpoacorpo}}
<div class="trpg-row"><span style="font-weight: bold; color: #3FB315">CRÍTICO!</span></div>
<div class="trpg-dmgroll">{{crit}}</div>
{{/rollWasCrit() corpoacorpo}}
{{#^rollWasCrit() corpoacorpo}}
<div class="trpg-dmgroll" style="padding-top: 5px">{{dano}}</div>
{{/^rollWasCrit() corpoacorpo}}
{{/rollTotal() rangearma 0}}
{{#rollTotal() rangearma 1}}
{{#rollWasCrit() adistancia}}
<div class="trpg-row"><span style="font-weight: bold; color: #3FB315">CRÍTICO!</span></div>
<div class="trpg-dmgroll">{{crit}}</div>
{{/rollWasCrit() adistancia}}
{{#^rollWasCrit() adistancia}}
<div class="trpg-dmgroll" style="padding-top: 5px">{{dano}}</div>
{{/^rollWasCrit() adistancia}}
{{/rollTotal() rangearma 1}}
<div class="trpg-row" style="padding-top:5px">{{tipodano}}</div>
{{/dano}}
</div>
<div class="trpg-footer"></div>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-trpgmagia">
<div class="trpg-header">{{nome}}</div>
<div class="trpg-table">
<div class="trpg-row">
<div class="trpg-subtitle"><b>{{nomemagia}}</b></div>
</div>
<div class="trpg-row" style="padding-top:5px; font-size:12px">{{tipomagia}} de {{nivelmagia}}</div>
<div class="trpg-row" style="font-style: italic; font-size:10px">({{escolamagia}})</div>
<div class="trpg-row" style="text-align:left; font-size:11px; padding-top: 8px"><b>Tempo de Execução:</b> {{tempomagia}};
<b>Alcance:</b> {{alcancemagia}};
{{#areamagia}}<b>Área:</b> {{areamagia}}; {{/areamagia}}
{{#efeitomagia}}<b>Efeito:</b> {{efeitomagia}}; {{/efeitomagia}}
{{#alvomagia}}<b>Alvo:</b> {{alvomagia}}; {{/alvomagia}}
<b>Duração:</b> {{duracaomagia}};
<div style="display:none">{{resistenciaflagmagia}}</div>
<b>Teste de Resistência:</b>
{{#rollTotal() resistenciaflagmagia 1}}
{{resistenciamagia}}; <b>CD para resistir:</b> {{cdmagia}}.
{{/rollTotal() resistenciaflagmagia 1}}
{{#rollTotal() resistenciaflagmagia 0}}nenhum.{{/rollTotal() resistenciaflagmagia 0}}
</div>
<div class="trpg-row" style="font-size:11px; text-align:left"><br>{{descmagia}}</div>
<div style="display:none">{{componenteflagmagia}}</div>
{{#rollTotal() componenteflagmagia 1}}
<div class="trpg-row" style="text-align:left; font-size:11px"><br><i>Componente material:</i> {{componentemagia}} {{#valormagia}}no valor de {{valormagia}}{{/valormagia}}.</div>
{{/rollTotal() componenteflagmagia 1}}
<div style="display:none">{{ataqueflagmagia}}</div>
{{#rollTotal() ataqueflagmagia 1}}
<hr>
<div class="trpg-row" style="text-style:italic; padding-bottom:10px">Ataque de Toque</div>
<div class="trpg-roll">{{ataquemagia}}</div>
{{/rollTotal() ataqueflagmagia 1}}
<div style="display:none">{{danoflagmagia}}</div>
{{#rollTotal() danoflagmagia 1}}
<hr>
{{#tipodanomagia}}
<div class="trpg-row" style="text-style:italic; padding-bottom:10px">{{tipodanomagia}}</div>
{{/tipodanomagia}}
{{#^tipodanomagia}}
<div class="trpg-row" style="text-style:italic; padding-bottom:10px">Dano</div>
{{/^tipodanomagia}}
{{#rollWasCrit() ataquemagia}}
<div class="trpg-row"><span style="font-weight: bold; color: #3FB315">CRÍTICO!</span></div>
<div class="trpg-dmgroll">{{crit}}</div>
{{/rollWasCrit() ataquemagia}}
{{#^rollWasCrit() ataquemagia}}
<div class="trpg-dmgroll" style="padding-top: 5px">{{danomagia}}</div>
{{/^rollWasCrit() ataquemagia}}
{{/rollTotal() danoflagmagia 1}}
</div>
<div class="trpg-footer"></div>
</rolltemplate>