Tormenta20 character sheet (#6437)

This commit is contained in:
Ricardo Oliveira
2020-05-11 13:36:40 -04:00
committed by GitHub
parent cc16bd8680
commit 85845706d6
4 changed files with 997 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"html": "tormenta20.html",
"css": "tormenta20.css",
"authors": "Jordão Bevilaqua",
"preview": "tormenta20.png",
"instructions": "Ficha de Tormenta20 oficial da Jambô Editora."
}
File diff suppressed because one or more lines are too long
+945
View File
@@ -0,0 +1,945 @@
<html>
<body>
<div class="relative">
<div class="relative z-10">
<div class="flex">
<div class="w-2/3">
<div class="flex mt-6">
<div class="pr-2 w-1/2">
<div class="mb-1 relative">
<input name="attr_charname" class="form-input bg-transparent block w-full pb-1 pl-3" value="" />
</div>
</div>
<div class="px-2 w-1/2">
<div class="mb-1 relative">
<input name="attr_player" class="form-input bg-transparent block w-full pb-1" value="" />
</div>
</div>
</div>
<div class="flex pt-8">
<div class="pr-2 w-1/4">
<div class="mb-1 relative">
<input name="attr_race" class="form-input bg-transparent block w-full pb-1 pl-3" value="" />
</div>
</div>
<div class="px-2 w-1/4">
<div class="mb-1 relative">
<input name="attr_origin" class="form-input bg-transparent block w-full pb-1 pl-2" value="" />
</div>
</div>
<div class="px-2 w-2/4">
<div class="mb-1 relative">
<input name="attr_level" class="form-input bg-transparent block w-full pb-1" value="" />
</div>
</div>
</div>
</div>
</div>
<div class="flex pt-4">
<div class="w-3/5 pt-10 pl-4">
<div class="flex">
<input name="attr_for_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6 pr-12" title="@{for_mod}" value="@{for_mod}" disabled="true" />
<input type="hidden" name="attr_for_mod" />
<input name="attr_des_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6 pr-6" title="@{des_mod}" value="@{des_mod}" disabled="true" />
<input type="hidden" name="attr_des_mod" />
<input name="attr_con_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6 pr-3" title="@{con_mod}" value="@{con_mod}" disabled="true" />
<input type="hidden" name="attr_con_mod" />
<input name="attr_int_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6" title="@{int_mod}" value="@{int_mod}" disabled="true" />
<input type="hidden" name="attr_int_mod" />
<input name="attr_sab_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6 pl-4" title="@{sab_mod}" value="@{sab_mod}" disabled="true" />
<input type="hidden" name="attr_sab_mod" />
<input name="attr_car_mod_fake" type="text" maxlength="3" class="form-input bg-transparent mt-10 text-4xl text-center w-1/6 pl-8" title="@{car_mod}" value="@{car_mod}" disabled="true" />
<input type="hidden" name="attr_car_mod" />
</div>
<div class="flex mt-4">
<input name="attr_for" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pr-10" value="10" />
<input name="attr_des" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pr-6" value="10" />
<input name="attr_con" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pr-2" value="10" />
<input name="attr_int" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pl-2" value="10" />
<input name="attr_sab" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pl-6" value="10" />
<input name="attr_car" type="text" maxlength="2" class="form-input bg-transparent text-lg text-center w-1/6 pl-10" value="10" />
</div>
<div class="mt-5">
<div class="flex">
<input name="attr_vidatotal" type="text" maxlength="3" class="form-input bg-transparent text-4xl text-center w-1/6 pr-12" value="" />
<input name="attr_vida" type="text" maxlength="3" class="form-input bg-transparent mt-3 text-6xl text-center w-2/6 pr-16" value="" />
<input name="attr_manatotal" type="text" maxlength="3" class="form-input bg-transparent mt-3 text-4xl text-center w-1/6 pl-2" value="" />
<input name="attr_mana" type="text" maxlength="3" class="form-input bg-transparent mt-3 text-6xl text-center w-2/6 pr-4" value="" />
</div>
</div>
<div class="mt-8 pt-5">
<div class="flex pt-12">
<input name="attr_ataquenome1" type="text" class="form-input bg-transparent text-lg w-56 pl-2 pr-2" value="" />
<div class="flex w-2/3">
<input name="attr_ataquebonus1" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-4" value="" />
<input name="attr_ataquedano1" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
<input name="attr_ataquecritico1" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquetipo1" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquealcance1" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
</div>
</div>
<div class="flex pt-6">
<input name="attr_ataquenome2" type="text" class="form-input bg-transparent text-lg w-56 pl-2 pr-2" value="" />
<div class="flex w-2/3">
<input name="attr_ataquebonus2" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-4" value="" />
<input name="attr_ataquedano2" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
<input name="attr_ataquecritico2" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquetipo2" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquealcance2" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
</div>
</div>
<div class="flex pt-6">
<input name="attr_ataquenome3" type="text" class="form-input bg-transparent text-lg w-56 pl-2 pr-2" value="" />
<div class="flex w-2/3">
<input name="attr_ataquebonus3" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-4" value="" />
<input name="attr_ataquedano3" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
<input name="attr_ataquecritico3" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquetipo3" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquealcance3" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
</div>
</div>
<div class="flex pt-6">
<input name="attr_ataquenome4" type="text" class="form-input bg-transparent text-lg w-56 pl-2 pr-2" value="" />
<div class="flex w-2/3">
<input name="attr_ataquebonus4" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-4" value="" />
<input name="attr_ataquedano4" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
<input name="attr_ataquecritico4" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquetipo4" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5 ml-2" value="" />
<input name="attr_ataquealcance4" type="text" class="form-input bg-transparent text-lg text-center w-1/5 pl-5" value="" />
</div>
</div>
</div>
<div class="mt-12 pl-4">
<div class="flex pt-12">
<div class="w-3/5 pr-10">
<div class="flex pt-4 pb-4">
<input name="attr_defesatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-2xl text-center w-16" value="" />
<div class="flex w-5/6 pl-16">
<input name="attr_defesadestreza" type="text" readonly="1" maxlength="3" class="form-input bg-transparent text-lg mt-1 text-center w-1/4" value="" />
<input name="attr_defesaarmadura" type="text" maxlength="3" class="form-input bg-transparent text-lg mt-1 text-center w-1/4" value="" />
<input name="attr_defesaescudo" type="text" maxlength="3" class="form-input bg-transparent text-lg mt-1 text-center w-1/4" value="" />
<input name="attr_defesaoutros" type="text" maxlength="3" class="form-input bg-transparent text-lg mt-1 text-center w-1/4" value="" />
</div>
</div>
<div class="pt-16">
<div class="flex mt-2">
<input name="attr_armadura1" type="text" class="form-input bg-transparent text-lg w-48" value="" />
<div class="flex pl-6">
<input name="attr_armaduradefesa1" type="text" class="form-input bg-transparent text-lg text-center w-1/2 px-2" value="" />
<input name="attr_armadurapenalidade1" type="text" class="form-input bg-transparent text-lg text-center w-1/2 pl-3 pr-2" value="" />
</div>
</div>
<div class="flex mt-4">
<input name="attr_armadura2" type="text" class="form-input bg-transparent text-lg w-48" value="" />
<div class="flex pl-6">
<input name="attr_armaduradefesa2" type="text" class="form-input bg-transparent text-lg text-center w-1/2 px-2" value="" />
<input name="attr_armadurapenalidade2" type="text" class="form-input bg-transparent text-lg text-center w-1/2 pl-3 pr-2" value="" />
</div>
</div>
</div>
</div>
<div class="w-2/5 pl-4 pr-2">
<textarea name="attr_proficiencias" rows="8" class="form-textarea bg-transparent w-full h-56"></textarea>
</div>
</div>
<div class="flex pt-12">
<textarea name="attr_magias1" rows="12" class="form-textarea bg-transparent leading-10 w-1/2 h-full pt-4 pr-8" style="height: 400px;"></textarea>
<textarea name="attr_magias2" rows="12" class="form-textarea bg-transparent leading-10 w-1/2 h-full pt-4 pr-4 pl-4" style="height: 400px;"></textarea>
</div>
</div>
</div>
<div class="w-2/5">
<div class="pl-64 pb-4">
<input name="attr_charnivel" style="height: 25px;" maxlength="2" type="text" class="form-input bg-transparent text-lg text-center w-16 ml-24" value="1" />
</div>
<div class="pl-2 pt-8">
<div class="flex abc mt-1">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=acrobacia}} {{rolagem=[[1d20+@{acrobaciatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_acrobaciatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5 pt-1">
<input name="attr_acrobacianivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_acrobaciaatributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_acrobaciatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_acrobaciaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=adestramento}} {{rolagem=[[1d20+@{adestramentototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_adestramentototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_adestramentonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_adestramentoatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_adestramentotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_adestramentooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=atletismo}} {{rolagem=[[1d20+@{atletismototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_atletismototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_atletismonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_atletismoatributo" readonly="1" placeholder="FOR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_atletismotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_atletismooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=atuacao}} {{rolagem=[[1d20+@{atuacaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_atuacaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_atuacaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_atuacaoatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_atuacaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_atuacaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=cavalgar}} {{rolagem=[[1d20+@{cavalgartotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_cavalgartotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_cavalgarnivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_cavalgaratributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_cavalgartreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_cavalgaroutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=conhecimento}} {{rolagem=[[1d20+@{conhecimentototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_conhecimentototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_conhecimentonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_conhecimentoatributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_conhecimentotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_conhecimentooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=cura}} {{rolagem=[[1d20+@{curatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_curatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_curanivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_curaatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_curatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_curaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=diplomacia}} {{rolagem=[[1d20+@{diplomaciatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_diplomaciatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_diplomacianivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_diplomaciaatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_diplomaciatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_diplomaciaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=enganacao}} {{rolagem=[[1d20+@{enganacaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_enganacaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_enganacaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_enganacaoatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_enganacaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_enganacaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=fortitude}} {{rolagem=[[1d20+@{fortitudetotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_fortitudetotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_fortitudenivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_fortitudeatributo" readonly="1" placeholder="CON" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_fortitudetreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_fortitudeoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=furtividade}} {{rolagem=[[1d20+@{furtividadetotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_furtividadetotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_furtividadenivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_furtividadeatributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_furtividadetreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_furtividadeoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=guerra}} {{rolagem=[[1d20+@{guerratotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_guerratotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_guerranivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_guerraatributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_guerratreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_guerraoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=iniciativa}} {{rolagem=[[1d20+@{iniciativatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_iniciativatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_iniciativanivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_iniciativaatributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_iniciativatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_iniciativaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=intimidacao}} {{rolagem=[[1d20+@{intimidacaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_intimidacaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_intimidacaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_intimidacaoatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_intimidacaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_intimidacaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=intuicao}} {{rolagem=[[1d20+@{intuicaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_intuicaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_intuicaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_intuicaoatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_intuicaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_intuicaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=investigacao}} {{rolagem=[[1d20+@{investigacaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_investigacaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_investigacaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_investigacaoatributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_investigacaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_investigacaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=jogatina}} {{rolagem=[[1d20+@{jogatinatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_jogatinatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_jogatinanivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_jogatinaatributo" readonly="1" placeholder="CAR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_jogatinatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_jogatinaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=ladinagem}} {{rolagem=[[1d20+@{ladinagemtotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_ladinagemtotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_ladinagemnivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_ladinagematributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_ladinagemtreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_ladinagemoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=luta}} {{rolagem=[[1d20+@{lutatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_lutatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_lutanivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_lutaatributo" readonly="1" placeholder="FOR" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_lutatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_lutaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=misticismo}} {{rolagem=[[1d20+@{misticismototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_misticismototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_misticismonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_misticismoatributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_misticismotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_misticismooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=nobreza}} {{rolagem=[[1d20+@{nobrezatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_nobrezatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_nobrezanivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_nobrezaatributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_nobrezatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_nobrezaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=oficio1}} {{rolagem=[[1d20+@{oficio1total}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-20">
<div>
<input type="text" style="width: 40px;" name="oficio1texto" class="form-input bg-transparent text-lg w-full text-center" value="" />
</div>
<div class="w-46" style="padding-left: 12.7px;">
<input name="attr_oficio1total" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_oficio1nivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_oficio1atributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_oficio1treino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_oficio1outros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=oficio2}} {{rolagem=[[1d20+@{oficio2total}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-20">
<div>
<input type="text" style="width: 40px;" name="oficio2texto" class="form-input bg-transparent text-lg w-full text-center" value="" />
</div>
<div class="w-46" style="padding-left: 12.7px;">
<input name="attr_oficio2total" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_oficio2nivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_oficio2atributo" readonly="1" placeholder="INT" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_oficio2treino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_oficio2outros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=percepcao}} {{rolagem=[[1d20+@{percepcaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_percepcaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_percepcaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_percepcaoatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_percepcaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_percepcaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=pilotagem}} {{rolagem=[[1d20+@{pilotagemtotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_pilotagemtotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_pilotagemnivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_pilotagematributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_pilotagemtreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_pilotagemoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=pontaria}} {{rolagem=[[1d20+@{pontariatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_pontariatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_pontarianivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_pontariaatributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_pontariatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_pontariaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=reflexos}} {{rolagem=[[1d20+@{reflexostotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_reflexostotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_reflexosnivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_reflexosatributo" readonly="1" placeholder="DES" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" />
<input name="attr_reflexostreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_reflexosoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=religiao}} {{rolagem=[[1d20+@{religiaototal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_religiaototal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5 pt-1">
<input name="attr_religiaonivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_religiaoatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_religiaotreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_religiaooutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=sobrevivencia}} {{rolagem=[[1d20+@{sobrevivenciatotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_sobrevivenciatotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_sobrevivencianivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_sobrevivenciaatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_sobrevivenciatreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_sobrevivenciaoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
<div class="flex abc">
<div>
<button type="roll" value="&{template:trpg} {{nome=@{charname}}} {{teste=vontade}} {{rolagem=[[1d20+@{vontadetotal}]]}}" style="font-size: 1.0em; height: 19px; line-height: 1.0em; padding: 0 3px;">
</div>
<div class="flex pl-40 ml-1">
<div class="w-46">
<input name="attr_vontadetotal" readonly="1" maxlength="3" type="text" class="form-input bg-transparent text-lg w-full text-center pr-1" value="" />
</div>
<div class="flex pr-5">
<input name="attr_vontadenivel" readonly="1" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-6" value="" />
<input name="attr_vontadeatributo" readonly="1" placeholder="SAB" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_vontadetreino" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4 pl-2" value="" />
<input name="attr_vontadeoutros" maxlength="3" type="text" class="form-input bg-transparent text-lg text-center w-1/4" value="" />
</div>
</div>
</div>
</div>
<div class="pt-16 pl-16">
<textarea name="attr_equipamentos" rows="8" class="form-textarea bg-transparent leading-10 w-full h-full pt-6 pr-4" style="height: 280px; width: 270px;"></textarea>
<div class="flex pt-3">
<input name="attr_ts" type="text" class="form-input bg-transparent text-lg mt-1 w-1/2 pl-12 pr-8" value="" />
<input name="attr_to" type="text" class="form-input bg-transparent text-lg mt-1 w-1/2 pl-6 pr-12" value="" />
</div>
</div>
</div>
</div>
</div>
<img src="https://www.orcnroll.com/wp-content/uploads/2020/05/bg-all.png" class="absolute top-0 z-0" style="width: 800px;" />
</div>
<script type="text/worker">
var setTotal = function (type, mod, add) {
if (type == 'defesa') {
getAttrs([type+"armadura",mod+"_mod",type+"escudo",type+"outros"], function(v){
vn = isNaN(parseInt(v[type+'armadura'], 10)) === false ? parseInt(v[type+'armadura'], 10) : 0;
va = isNaN(parseInt(v[mod+'_mod'], 10)) === false ? parseInt(v[mod+'_mod'], 10) : 0;
vt = isNaN(parseInt(v[type+'escudo'], 10)) === false ? parseInt(v[type+'escudo'], 10) : 0;
vo = isNaN(parseInt(v[type+'outros'], 10)) === false ? parseInt(v[type+'outros'], 10) : 0;
setAttrs({
[type+'total']: (vn + va + vt + vo + add)
});
});
} else {
getAttrs(["charnivel",mod+"_mod",type+"treino",type+"outros"], function(v){
vn = isNaN(parseInt(v['charnivel'], 10)) === false ? parseInt(v['charnivel'], 10) : 0;
vn = Math.floor(vn/2);
va = isNaN(parseInt(v[mod+'_mod'], 10)) === false ? parseInt(v[mod+'_mod'], 10) : 0;
vt = isNaN(parseInt(v[type+'treino'], 10)) === false ? parseInt(v[type+'treino'], 10) : 0;
vo = isNaN(parseInt(v[type+'outros'], 10)) === false ? parseInt(v[type+'outros'], 10) : 0;
setAttrs({
[type+'total']: (vn + va + vt + vo + add)
});
});
}
}
on("sheet:opened change:charnivel", function(e){
getAttrs(["charnivel"], function(v){
vn = Math.floor(v.charnivel/2);
setAttrs({
acrobacianivel: vn,
cavalgarnivel: vn,
furtividadenivel: vn,
iniciativanivel: vn,
ladinagemnivel: vn,
pontarianivel: vn,
reflexosnivel: vn,
atletismonivel: vn,
lutanivel: vn,
fortitudenivel: vn,
conhecimentonivel: vn,
guerranivel: vn,
investigacaonivel: vn,
misticismonivel: vn,
nobrezanivel: vn,
oficio1nivel: vn,
oficio2nivel: vn,
sobrevivencianivel: vn,
adestramentonivel: vn,
atuacaonivel: vn,
diplomacianivel: vn,
enganacaonivel: vn,
intimidacaonivel: vn,
jogatinanivel: vn,
vontadenivel: vn,
curanivel: vn,
intuicaonivel: vn,
pilotagemnivel: vn,
percepcaonivel: vn,
religiaonivel: vn
});
});
});
on("sheet:opened change:defesaarmadura change:defesaescudo change:defesaoutros", function(){
setTotal('defesa', 'des', 10);
});
on("sheet:opened change:des change:charnivel", function(e){
getAttrs(["des"], function(v){
des_mod = Math.floor((v.des - 10) / 2);
setAttrs({
des_mod: des_mod,
defesadestreza: des_mod,
acrobaciaatributo: des_mod,
cavalgaratributo: des_mod,
furtividadeatributo: des_mod,
iniciativaatributo: des_mod,
ladinagematributo: des_mod,
pilotagematributo: des_mod,
pontariaatributo: des_mod,
reflexosatributo: des_mod
});
setTotal('defesa', 'des', 10);
setTotal('acrobacia', 'des', 0);
setTotal('cavalgar', 'des', 0);
setTotal('furtividade', 'des', 0);
setTotal('iniciativa', 'des', 0);
setTotal('ladinagem', 'des', 0);
setTotal('pilotagem', 'des', 0);
setTotal('pontaria', 'des', 0);
setTotal('reflexos', 'des', 0);
});
});
on("sheet:opened change:acrobacianivel change:acrobaciatreino change:acrobaciaoutros", function(){
setTotal('acrobacia', 'des', 0);
});
on("sheet:opened change:cavalgarnivel change:cavalgartreino change:cavalgaroutros", function(){
setTotal('cavalgar', 'des', 0);
});
on("sheet:opened change:furtividadenivel change:furtividadetreino change:furtividadeoutros", function(){
setTotal('furtividade', 'des', 0);
});
on("sheet:opened change:iniciativanivel change:iniciativatreino change:iniciativaoutros", function(){
setTotal('iniciativa', 'des', 0);
});
on("sheet:opened change:ladinagemnivel change:ladinagemtreino change:ladinagemoutros", function(){
setTotal('ladinagem', 'des', 0);
});
on("sheet:opened change:pilotagemnivel change:pilotagemtreino change:pilotagemoutros", function(){
setTotal('pilotagem', 'des', 0);
});
on("sheet:opened change:pontarianivel change:pontariatreino change:pontariaoutros", function(){
setTotal('pontaria', 'des', 0);
});
on("sheet:opened change:reflexosnivel change:reflexostreino change:reflexosoutros", function(){
setTotal('reflexos', 'des', 0);
});
on("sheet:opened change:for change:charnivel", function(e){
getAttrs(["for"], function(v){
for_mod = Math.floor((v.for - 10) / 2);
setAttrs({
for_mod: for_mod,
atletismoatributo: for_mod,
lutaatributo: for_mod
});
setTotal('atletismo', 'for', 0);
setTotal('luta', 'for', 0);
});
});
on("sheet:opened change:atletismonivel change:atletismotreino change:atletismooutros", function(){
setTotal('atletismo', 'for', 0);
});
on("sheet:opened change:lutanivel change:lutatreino change:lutaoutros", function(){
setTotal('luta', 'for', 0);
});
on("sheet:opened change:con change:charnivel", function(e){
getAttrs(["con"], function(v){
con_mod = Math.floor((v.con - 10) / 2);
setAttrs({
con_mod: con_mod,
fortitudeatributo: con_mod
});
setTotal('fortitude', 'con', 0);
});
});
on("sheet:opened change:fortitudenivel change:fortitudetreino change:fortitudeoutros", function(){
setTotal('fortitude', 'con', 0);
});
on("sheet:opened change:int change:charnivel", function(e){
getAttrs(["int"], function(v){
int_mod = Math.floor((v.int - 10) / 2);
setAttrs({
int_mod: int_mod,
conhecimentoatributo: int_mod,
guerraatributo: int_mod,
investigacaoatributo: int_mod,
misticismoatributo: int_mod,
nobrezaatributo: int_mod,
oficio1atributo: int_mod,
oficio2atributo: int_mod
});
setTotal('conhecimento', 'int', 0);
setTotal('guerra', 'int', 0);
setTotal('investigacao', 'int', 0);
setTotal('misticismo', 'int', 0);
setTotal('nobreza', 'int', 0);
setTotal('oficio1', 'int', 0);
setTotal('oficio2', 'int', 0);
});
});
on("sheet:opened change:conhecimentonivel change:conhecimentotreino change:conhecimentooutros", function(){
setTotal('conhecimento', 'int', 0);
});
on("sheet:opened change:guerranivel change:guerratreino change:guerraoutros", function(){
setTotal('guerra', 'int', 0);
});
on("sheet:opened change:investigacaonivel change:investigacaotreino change:investigacaooutros", function(){
setTotal('investigacao', 'int', 0);
});
on("sheet:opened change:misticismonivel change:misticismotreino change:misticismooutros", function(){
setTotal('misticismo', 'int', 0);
});
on("sheet:opened change:nobrezanivel change:nobrezatreino change:nobrezaoutros", function(){
setTotal('nobreza', 'int', 0);
});
on("sheet:opened change:oficio1nivel change:oficio1treino change:oficio1outros", function(){
setTotal('oficio1', 'int', 0);
});
on("sheet:opened change:oficio2nivel change:oficio2treino change:oficio2outros", function(){
setTotal('oficio2', 'int', 0);
});
on("sheet:opened change:car change:charnivel", function(e){
getAttrs(["car"], function(v){
car_mod = Math.floor((v.car - 10) / 2);
setAttrs({
car_mod: car_mod,
adestramentoatributo: car_mod,
atuacaoatributo: car_mod,
diplomaciaatributo: car_mod,
enganacaoatributo: car_mod,
intimidacaoatributo: car_mod,
jogatinaatributo: car_mod
});
setTotal('adestramento', 'car', 0);
setTotal('atuacao', 'car', 0);
setTotal('diplomacia', 'car', 0);
setTotal('enganacao', 'car', 0);
setTotal('intimidacao', 'car', 0);
setTotal('jogatina', 'car', 0);
});
});
on("sheet:opened change:adestramentonivel change:adestramentotreino change:adestramentooutros", function(){
setTotal('adestramento', 'car', 0);
});
on("sheet:opened change:atuacaonivel change:atuacaotreino change:atuacaooutros", function(){
setTotal('atuacao', 'car', 0);
});
on("sheet:opened change:diplomacianivel change:diplomaciatreino change:diplomaciaoutros", function(){
setTotal('diplomacia', 'car', 0);
});
on("sheet:opened change:enganacaonivel change:enganacaotreino change:enganacaooutros", function(){
setTotal('enganacao', 'car', 0);
});
on("sheet:opened change:intimidacaonivel change:intimidacaotreino change:intimidacaooutros", function(){
setTotal('intimidacao', 'car', 0);
});
on("sheet:opened change:jogatinanivel change:jogatinatreino change:jogatinaoutros", function(){
setTotal('jogatina', 'car', 0);
});
on("sheet:opened change:sab change:charnivel", function(e){
getAttrs(["sab"], function(v){
sab_mod = Math.floor((v.sab - 10) / 2);
setAttrs({
sab_mod: sab_mod,
vontadeatributo: sab_mod,
curaatributo: sab_mod,
intuicaoatributo: sab_mod,
percepcaoatributo: sab_mod,
religiaoatributo: sab_mod,
sobrevivenciaatributo: sab_mod
});
setTotal('vontade', 'sab', 0);
setTotal('cura', 'sab', 0);
setTotal('intuicao', 'sab', 0);
setTotal('percepcao', 'sab', 0);
setTotal('religiao', 'sab', 0);
setTotal('sobrevivencia', 'sab', 0);
});
});
on("sheet:opened change:curanivel change:curatreino change:curaoutros", function(){
setTotal('cura', 'sab', 0);
});
on("sheet:opened change:intuicaonivel change:intuicaotreino change:intuicaooutros", function(){
setTotal('intuicao', 'sab', 0);
});
on("sheet:opened change:percepcaonivel change:percepcaotreino change:percepcaooutros", function(){
setTotal('percepcao', 'sab', 0);
});
on("sheet:opened change:religiaonivel change:religiaotreino change:religiaooutros", function(){
setTotal('religiao', 'sab', 0);
});
on("sheet:opened change:sobrevivencianivel change:sobrevivenciatreino change:sobrevivenciaoutros", function(){
setTotal('sobrevivencia', 'sab', 0);
});
on("sheet:opened change:vontadenivel change:vontadetreino change:vontadeoutros", function(){
setTotal('vontade', 'sab', 0);
});
</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}}
{{#rolagem}}
<div class="trpg-roll">{{rolagem}}</div>
{{/rolagem}}
</div>
<div class="trpg-footer"></div>
</rolltemplate>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB