text:
<input class="sheet-underlined" type="text" name="attr_character_name"/>
Character Name

                <select name="attr_class_fatigue">
            	<option value="0">Assassin</option>
            	<option value="-2">Barbarian</option>
            	<option value="0+0">Cleric</option>
            	<option value="-2+0">Fighter</option>
            	<option value="-1">Fighter/Mage</option>
            	<option value="-1+0">Fighter/Thief</option>
            	<option value="-2+0+0">Knight</option>
            	<option value="0+0+0">Mage</option>
            	<option value="0+0+0+0">Mage/Thief</option>
            	<option value="-2+0+0+0">Paladin</option>
            	<option value="-2+0+0+0+0">Ranger</option>
            	<option value="0+0+0+0+0">Rogue</option>
            	<option value="0+0+0+0+0+0">Thief</option>
                </select>
Class

<select name="attr_race">
                <option value="Dwarf">Dwarf</option>
                <option value="Elf">Elf</option>
                <option value="Gnome">Gnome</option>
                <option value="Gnome Titan">Gnome Titan</option>
                <option value="Grel">Grel</option>
                <option value="Half-Elf">Half-Elf</option>
                <option value="Half-Hobgoblin">Half-Hobgoblin</option>
                <option value="Half-Orc">Half-Orc</option>
                <option value="Halfling">Halfling</option>
                <option value="Human">Human</option>
                <option value="Pixie Fairy">Pixie Fairy</option>
            </select>
Race

<input class="sheet-underlined" type="text" name="attr_sex"/>
Sex

<input class="sheet-underlined" type="text" name="attr_age"/>
Age

<input class="sheet-underlined" type="text" name="attr_height"/>
Height

<input class="sheet-underlined" type="text" name="attr_weight"/>
Weight

<input class="sheet-underlined" type="text" name="attr_hair"/>
Hair

<input class="sheet-underlined" type="text" name="attr_eyes"/>
Eyes

<select name="attr_handedness">
                <option value="Right">Right</option>
                <option value="Left">Left</option>
                <option value="Ambidextrous">Ambidextrous</option>
            </select>
Handedness

<select name="attr_alignment">
   		    <option value="LG">LG</option>
            <option value="LN">LN</option>
            <option value="LE">LE</option>
	        <option value="NG">NG</option>
  		    <option value="TN">TN</option>
            <option value="NE">NE</option>
  		    <option value="CG">CG</option>
     	    <option value="CN">CN</option>
            <option value="CE">CE</option>

        </select>
Alignment

<input class="sheet-underlined" type="text" name="attr_god"/>
Patron God(s)

<input class="sheet-underlined" type="checkbox" name="attr_annointed"/>
Annointed?

<input class="sheet-underlined" type="text" name="attr_level"/>
Level

<input class="sheet-underlined" type="text" name="attr_xp"/>
EP

<input class="sheet-underlined" type="text" name="attr_xp_next_level"/>
EP to level

<input class="sheet-underlined" type="text" name="attr_bp"/>
BP

Core Stats

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Strength Ability Save \n\n Strength Save :[[1d20 + @{strength} ]] |  Check, @{character_name} makes a Strength Ability Check (trying to roll under ability) \n\n Strength Save :[[1d20 ]] vs @{strength}}'>STR</button>

<input type="text" name="attr_strength"/>

<input type="text" name="attr_strength_fractional"/>

Damage Mod

<input type="number" name="attr_strength_damage_mod" value="0"/>

Feat of Strength

<input type="number" name="attr_feat_of_strength" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_feat_of_strength' value='@{character_name} attempts a Feat of Strength \n\n Feat of Strength :[[1d20 + @{feat_of_strength} ]]'>FoS</button>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Intelligence Ability Save \n\n Intelligence Save :[[1d20 + @{intelligence} ]] |  Check, @{character_name} makes a Intelligence Ability Check (trying to roll under ability) \n\n Intelligence Save :[[1d20 ]] vs @{intelligence}}'>INT</button>

<input type="text" name="attr_intelligence"/>

<input type="text" name="attr_intelligence_fractional"/>

Attack Mod

<input type="number" name="attr_intelligence_attack_mod" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Wisdom Ability Save \n\n Wisdom Save :[[1d20 + @{wisdom} ]] |  Check, @{character_name} makes a Wisdom Ability Check (trying to roll under ability) \n\n Wisdom Save :[[1d20 ]] vs @{wisdom}}'>WIS</button>

<input type="text" name="attr_wisdom"/>

<input type="text" name="attr_wisdom_fractional"/>

Initiative Mod

<input type="number" name="attr_wisdom_initiative_mod" value="0"/>

Defense Mod

<input type="number" name="attr_wisdom_defense_mod" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Dexterity Ability Save \n\n Dexterity Save :[[1d20 + @{dexterity} ]] |  Check, @{character_name} makes a Dexterity Ability Check (trying to roll under ability) \n\n Dexterity Save :[[1d20 ]] vs @{dexterity}}'>DEX</button>

<input type="text" name="attr_dexterity"/>

<input type="text" name="attr_dexterity_fractional"/>

Initiative Mod

<input type="number" name="attr_dexterity_initiative_mod" value="0"/>

Defense Mod

<input type="number" name="attr_dexterity_defense_mod" value="0"/>

Attack Mod

<input type="number" name="attr_dexterity_attack_mod" value="0"/>

Feat of Agility

<input type="number" name="attr_feat_of_agility" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Constitution Ability Save \n\n Constitution Save :[[1d20 + @{constitution} ]] |  Check, @{character_name} makes a Constitution Ability Check (trying to roll under ability) \n\n Constitution Save :[[1d20 ]] vs @{constitution}}'>CON</button>

<input type="text" name="attr_constitution"/>

<input type="text" name="attr_constitution_fractional"/>

<button class="sheet-skill-roll" type='roll' name='roll_feat_of_agility' value='@{character_name} attempts a Feat of Agility \n\n Feat of Agility :[[1d20 + @{feat_of_agility} ]]'>FoA</button>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Looks Ability Save \n\n Looks Save :[[1d20 + @{looks} ]] |  Check, @{character_name} makes a Looks Ability Check (trying to roll under ability) \n\n Looks Save :[[1d20 ]] vs @{looks}}'>LKS</button>

<input type="text" name="attr_looks"/>

<input type="text" name="attr_looks_fractional"/>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value='?{Ability Check of Save?| Save, @{character_name} makes a Charisma Ability Save \n\n Charisma Save :[[1d20 + @{Charisma} ]] |  Check, @{character_name} makes a Charisma Ability Check (trying to roll under ability) \n\n Charisma Save :[[1d20 ]] vs @{charisma}}'>CHA</button>

<input type="text" name="attr_charisma"/>

<input type="text" name="attr_charisma_fractional"/>

Turning Mod

<input type="number" name="attr_turning_mod" value="0"/>

Morale Mod

<input type="number" name="attr_morale_mod" value="0"/>

HON

<input type="text" name="attr_honor"/>

Bonus / Penalty

<input type="text" name="attr_honor_mod"/>

FAME

<input type="text" name="attr_fame"/>

Fame Category

<input type="text" name="attr_fame_category"/>

Luck / Chivalry

<input type="number" name="attr_luck_chivalry" value="0"/>

Previous HP Roll

<input type="number" name="attr_previous_hp" value="0"/>

Movement Rate

            	    <select name="attr_move_rate">
    					<option value="1 1/4 ft">1 1/4 ft</option>
    					<option value="2 1/2 ft">2 1/2 ft</option>
                        <option value="5 ft">5 ft</option>
                        <option value="7 1/2 ft">7 1/2 ft</option>
                        <option value="10 ft">10 ft</option>
                        <option value="12 1/2 ft">12 1/2 ft</option>
                        <option value="15 ft">15 ft</option>
                        <option value="17 1/2 ft">17 1/2 ft</option>
                        <option value="22 1/2 ft">22 1/2  ft</option>
                        <option value="25 ft">25 ft</option>
                        <option value="27 1/2 ft">27 1/2 ft</option>
                        <option value="30 ft">30 ft</option>
    				</select>

Saving Throws

Save

Total

Stat Bonus

Roll

Mental

<input type="number" name="attr_mental_save" value="@{level}+@{mental_save_bonus}" disabled="disabled"/>

<input type="number" name="attr_mental_save_bonus" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_mental_save' value='@{character_name} makes a Saving Throw \n\nMental Save :[[1d20 + @{mental_save} ]]'>Save</button>

Dodge

<input type="number" name="attr_dodge_save" value="@{level}+@{dodge_save_bonus}" disabled="disabled"/>

<input type="number" name="attr_dodge_save_bonus" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_mental_save' value='@{character_name} makes a Saving Throw \n\nDodge Save :[[1d20 + @{dodge_save} ]]'>Save</button>

Physical

<input type="number" name="attr_physical_save" value="@{level}+@{physical_save_bonus}" disabled="disabled"/>

<input type="number" name="attr_physical_save_bonus" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_mental_save' value='@{character_name} makes a Saving Throw \n\nPhysical Save :[[1d20 + @{physical_save} ]]'>Save</button>

Poison

<input type="number" name="attr_poison_save" value="@{poison_save_bonus}+@{constitution}" disabled="disabled"/>

<input type="number" name="attr_poison_save_bonus" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_mental_save' value='@{character_name} makes a Saving Throw \n\nPoison Save :[[1d20 + @{poison_save} ]]'>Save</button>

Notes

            <input type="checkbox" class="wombat-show arrow" name="attr_saving_throw_show" title="Show/Hide" value="1">

<textarea name="attr_saving_throw_notes"></textarea>

Quick References

Observation

<input type="number" name="attr_observation_value" value="@{skill_observation}" disabled="disabled"/>

<button class="sheet-skill-roll" type='roll' name='roll_quick_observation' value='@{character_name} makes an observation skill check\n\nRoll :@{observation_dice}'>Check</button>

Listening

<input type="number" name="attr_listening_value" value="@{skill_listening}" disabled="disabled"/>

<button class="sheet-skill-roll" type='roll' name='roll_quick_listening' value='@{character_name} makes a listening skill check\n\nRoll :@{listening_dice}'>Check</button>

Initiative

<input type="number" name="attr_initiative" value="@{level_initiative_bonus}+@{wisdom_initiative_mod}+@{dexterity_initiative_mod}+@{armor_init_modifier}+@{encumbrance_initiative_mod}" disabled="disabled"/>

        		    <select name="attr_initiative_die">
        		        <option value="d3">d3</option>
    					<option value="d4">d4</option>
    					<option value="d6">d6</option>
                        <option value="d8">d8</option>
                        <option value="d10">d10</option>
                        <option value="d12">d12</option>
                        <option value="d20">d20</option>
       				</select>

<button class="sheet-skill-roll" type='roll' name='roll_quick_initiative' value='@{character_name} rolls initiative\n\nRoll :[[@{initiative_die} + @{initiative} &{tracker} ]]'>Roll</button>

Level Bonus for Combat Profiles

Details

                <input type="checkbox" class="wombat-show arrow" name="attr_wombat_show" title="Show/Hide" value="1">

Attack

<input type="number" name="attr_level_attack_bonus" value="0"/>

Speed

<input type="number" name="attr_level_speed_bonus" value="0"/>

Initiative

<input type="number" name="attr_level_initiative_bonus" value="0"/>

Melee Only Speed

<input type="number" name="attr_level_melee_speed_bonus" value="0"/>

Ranged Only Speed

<input type="number" name="attr_level_ranged_speed_bonus" value="0"/>

Speed and M/R only Speed will Stack

Combat Profiles

Weapon

Base Damage

Shield Damage

Weapon Reach

Attack

Speed

Defense

Damage

Attack Roll

Damage Rolls

Defense Roll

Shield Damage

    <fieldset class="repeating_weapon">

<input type="text" name="attr_weapon"/>

<input type="text" name="attr_weapon_base_damage"/>

<input type="text" name="attr_weapon_shield_damage"/>

<input type="number" name="attr_weapon_reach" min=0 step=0.25>

<input type="number" name="attr_weapon_attack_mod_total" value="@{fatigue_attack}+@{weapon_misc_attack}+@{weapon_style_attack}+@{level_attack_bonus}+@{intelligence_attack_mod}+@{dexterity_attack_mod}+@{weapon_magic_bonus}+@{weapon_spec_attack}+@{weapon_talent_attack}" disabled="disabled"/>

            <input type="hidden" name="attr_weapon_jab_speed_mod_total" value="@{fatigue_speed}+@{weapon_misc_speed}+@{weapon_style_speed}+@{base_weapon_jab_speed}+@{level_speed_bonus}+@{level_melee_speed_bonus}+@{armor_speed_modifier}+@{weapon_spec_speed}+@{weapon_talent_speed}+@{encumbrance_speed_mod}" disabled="disabled"/>

<input type="number" name="attr_weapon_speed_mod_total" value="@{fatigue_speed}+@{weapon_misc_speed}+@{weapon_style_speed}+@{base_weapon_speed}+@{level_speed_bonus}+@{level_melee_speed_bonus}+@{armor_speed_modifier}+@{weapon_spec_speed}+@{weapon_talent_speed}+@{encumbrance_speed_mod}" disabled="disabled"/>

<input type="number" name="attr_weapon_defense_mod_total" value="@{fatigue_defense}+@{weapon_misc_defense}+@{weapon_style_defense}+@{wisdom_defense_mod}+@{dexterity_defense_mod}+@{weapon_spec_defense}+@{weapon_talent_defense}+@{armor_defense_bonus}+@{shield_def_inuse}+@{natural_defense_bonus}+@{encumbrance_defense_mod}" disabled="disabled"/>

<input type="number" name="attr_weapon_damage_mod_total" value="@{fatigue_damage}+@{weapon_misc_damage}+@{weapon_style_damage}+@{weapon_stat_bonus_damage}+@{weapon_spec_damage}+@{weapon_talent_damage}+@{weapon_magic_bonus}" disabled="disabled"/>

<button type='roll' name='roll_weapon_attack' value='&{template:hm_std} {{name=@{character_name} attacks!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}} {{reach=@{weapon_reach}}} {{atk_roll=[[1d20 +@{weapon_attack_mod_total}]]}}{{perf=[[19+@{weapon_attack_mod_total}]]}}'>ATK</button>

<button type='roll' name='roll_weapon_damage' value='&{template:hm_std} {{name=@{character_name} hits!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}} {{reach=@{weapon_reach}}} {{damage=[[@{weapon_base_damage}+@{weapon_damage_mod_total}]]}}{{type= @{weapon_dmg_type}}}'>DMG</button>

<button type='roll' name='roll_weapon_defense' value='&{template:hm_std} {{name=@{character_name} defends!!}}{{def_roll=[[ @{start_working} +@{weapon_defense_mod_total}]]}} {{dr=[[@{dr}]]}} {{sdr=[[@{shield_dr_inuse}]]}}{{fatigue=[[@{current_fatigue}+@{weapon_defense_mod_total}+@{dice_size_mod}]]}}{{perf=[[19+@{weapon_defense_mod_total}+@{crit_value}]]}}'>DEF</button>

<button type='roll' name='roll_weapon_damage' value='&{template:hm_std} {{name=@{character_name} is blocked!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}} {{reach=@{weapon_reach}}} {{damage=[[@{weapon_shield_damage}+@{weapon_damage_mod_total}]]}}{{type= @{weapon_dmg_type}}}'>SHD</button>

Hidden Details

            <input type="checkbox" class="wombat-show arrow" name="attr_wombat_show" title="Show/Hide" value="1">

Magic Bonus

<input type="number" name="attr_weapon_magic_bonus" value="0"/>

Damage Type

Specialization

    			<select name="attr_weapon_spec_attack">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_spec_speed">
					<option value="0">0</option>
					<option value="-1">-1</option>
                    <option value="-2">-2</option>
                    <option value="-3">-3</option>
                    <option value="-4">-4</option>
                    <option value="-5">-5</option>
				</select>

        		<select name="attr_weapon_spec_defense">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_spec_damage">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

Jab Damage

<input type="text" name="attr_weapon_jab_damage"/>

Base Speed

<input type="number" name="attr_base_weapon_speed">

<select name="attr_weapon_dmg_type">
					<option value="Bludgeoning"> Crushing</option>
					<option value="Hacking"> Hacking </option>
                    <option value="Piercing"> Puncturing</option>
				</select>

Talents

        		<select name="attr_weapon_talent_attack">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_talent_speed">
					<option value="0">0</option>
					<option value="-1">-1</option>
                    <option value="-2">-2</option>
                    <option value="-3">-3</option>
                    <option value="-4">-4</option>
                    <option value="-5">-5</option>
				</select>

        		<select name="attr_weapon_talent_defense">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_talent_damage">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

Jab Speed

<input type="text" name="attr_base_weapon_jab_speed"/>

Str Bonus

				<select name="attr_weapon_stat_bonus_damage">
					<option value="0">N</option>
					<option value="@{strength_damage_mod}">Y</option>
				</select>

Style

<input type="number" name="attr_weapon_style_attack" value="0"/>

<input type="number" name="attr_weapon_style_speed" value="0"/>

<input type="number" name="attr_weapon_style_defense" value="0"/>

<input type="number" name="attr_weapon_style_damage" value="0"/>

Jab Roll

<button type='roll' name='roll_weapon_damage' value='&{template:hm_std} {{name=@{character_name} jabs you!}} {{weapon=@{weapon}}} {{speed=@{weapon_jab_speed_mod_total}}} {{reach=@{weapon_reach}}} {{damage=[[@{weapon_jab_damage}+@{weapon_damage_mod_total}]]}}{{type= Piercing}}'>DMG</button>

Shield Use

            <input type="hidden" name="attr_shield_def_inuse" value="0" />
            <input type="hidden" name="attr_shield_dr_inuse" value="0" />

				<select name="attr_shield_def_switch">
					<option value="0">N</option>
					<option value="1">Y</option>
				</select>

Miscellaneous

<input type="number" name="attr_weapon_misc_attack" value="0"/>

<input type="number" name="attr_weapon_misc_speed" value="0"/>

<input type="number" name="attr_weapon_misc_defense" value="0"/>

<input type="number" name="attr_weapon_misc_damage" value="0"/>

Defense Dice

            <input type="hidden" name="attr_start_working" value="0" />
            <input type="hidden" name="attr_crit_value" value="0" />
            <input type="hidden" name="attr_dice_size_mod" value="0" />

                <select name="attr_start_working1">
                    <option value="0">pick def dice</option>
                    <option value="2">d8</option>
                    <option value="4">d10</option>
                    <option value="6">d12</option>
                    <option value="10">d20-4</option>
                    <option value="8">d20</option>
				</select>

<textarea name="attr_combat_profile_notes"></textarea>

        </fieldset>

	</fieldset>

Ranged Combat Profiles

Weapon

Base Damage

Shield Damage

Ammo

Attack

Speed

Damage

Attack Roll

Attack with -4

Attack with -6

Attack with -8

Damage

    <fieldset class="repeating_rangedweapons">

<input type="text" name="attr_weapon"/>

<input type="text" name="attr_weapon_base_damage"/>

<input type="text" name="attr_weapon_shield_damage"/>

<input type="number" name="attr_missle_ammo" min=0 step=1>

<input type="number" name="attr_weapon_attack_mod_total" value="@{fatigue_attack}+@{weapon_misc_attack}+@{weapon_style_attack}+@{level_attack_bonus}+@{intelligence_attack_mod}+@{dexterity_attack_mod}+@{weapon_magic_attack_bonus}+@{weapon_spec_attack}+@{weapon_talent_attack}" disabled="disabled"/>

<input type="number" name="attr_weapon_speed_mod_total" value="@{fatigue_speed}+@{weapon_misc_speed}+@{weapon_style_speed}+@{base_weapon_speed}+@{level_speed_bonus}+@{level_ranged_speed_bonus}+@{armor_speed_modifier}+@{weapon_spec_speed}+@{weapon_talent_speed}+@{encumbrance_speed_mod}" disabled="disabled"/>

<input type="number" name="attr_weapon_damage_mod_total" value="@{fatigue_damage}+@{weapon_misc_damage}+@{weapon_style_damage}+@{weapon_stat_bonus_damage}+@{weapon_spec_damage}+@{weapon_talent_damage}+@{weapon_magic_damage_bonus}" disabled="disabled"/>

<button type='roll' name='roll_weapon_attack' value='&{template:hm_std} {{name=@{character_name} attacks!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}} {{atk_roll=[[1d20 +@{weapon_attack_mod_total}+@{aiming}]]}}{{perf=[[19+@{weapon_attack_mod_total}]]}}'>ATK</button>

<button type='roll' name='roll_weapon_attack' value='&{template:hm_std} {{name=@{character_name} attacks!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}}{{atk_roll=[[1d20 +@{weapon_attack_mod_total}-4+@{aiming}]]}}{{perf=[[19+@{weapon_attack_mod_total}-4]]}}'>-4</button>

<button type='roll' name='roll_weapon_attack' value='&{template:hm_std} {{name=@{character_name} attacks!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}}{{atk_roll=[[1d20 +@{weapon_attack_mod_total}-6+@{aiming}]]}}{{perf=[[19+@{weapon_attack_mod_total}-6]]}}'>-6</button>

<button type='roll' name='roll_weapon_attack' value='&{template:hm_std} {{name=@{character_name} attacks!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}}{{atk_roll=[[1d20 +@{weapon_attack_mod_total}-8+@{aiming}]]}}{{perf=[[19+@{weapon_attack_mod_total}-8]]}}'>-8</button>

<button type='roll' name='roll_weapon_damage' value='&{template:hm_std} {{name=@{character_name} hits!}} {{weapon=@{weapon}}} {{speed=@{weapon_speed_mod_total}}} {{damage=[[@{weapon_base_damage}+@{weapon_damage_mod_total}]]}}{{type= @{weapon_dmg_type}}}'>DMG</button>

Hidden Details

            <input type="checkbox" class="wombat-show arrow" name="attr_wombat_show" title="Show/Hide" value="1">

Magic Attack Bonus

<input type="number" name="attr_weapon_magic_attack_bonus" value="0"/>

<input type="checkbox" name="attr_aiming" value="-6" />

Snapshot

Specialization

    			<select name="attr_weapon_spec_attack">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_spec_speed">
					<option value="0">0</option>
					<option value="-1">-1</option>
                    <option value="-2">-2</option>
                    <option value="-3">-3</option>
                    <option value="-4">-4</option>
                    <option value="-5">-5</option>
				</select>

        		<select name="attr_weapon_spec_damage">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

Max Ranges

Grey is Adjusted Ranges

Magic Damage Bonus

<input type="number" name="attr_weapon_magic_damage_bonus" value="0"/>

<input type="checkbox" name="attr_adv_sighting" value=".5" />

Advanced Sighting

Talents

        		<select name="attr_weapon_talent_attack">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

        		<select name="attr_weapon_talent_speed">
					<option value="0">0</option>
					<option value="-1">-1</option>
                    <option value="-2">-2</option>
                    <option value="-3">-3</option>
                    <option value="-4">-4</option>
                    <option value="-5">-5</option>
				</select>

        		<select name="attr_weapon_talent_damage">
					<option value="0">0</option>
					<option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
				</select>

d20

<input type="text" name="attr_zero_range"/>

<input type="text" name="attr_zero_range_adjusted" value="0" readonly  />

Base Speed

<input type="number" name="attr_base_weapon_speed">

Damage Type

Style

<input type="number" name="attr_weapon_style_attack" value="0"/>

<input type="number" name="attr_weapon_style_speed" value="0"/>

<input type="number" name="attr_weapon_style_damage" value="0"/>

d20-4

<input type="text" name="attr_four_range"/>

<input type="text" name="attr_four_range_adjusted" value="0" readonly  />

Str Bonus

				<select name="attr_weapon_stat_bonus_damage">
					<option value="0">N</option>
					<option value="@{strength_damage_mod}">Y</option>
				</select>

<select name="attr_weapon_dmg_type">
                    <option value="Piercing"> Piercing</option>
					<option value="Bludgeoning">Bludgeoning</option>
					<option value="Hacking"> Hacking </option>
				</select>

Miscellaneous

<input type="number" name="attr_weapon_misc_attack" value="0"/>

<input type="number" name="attr_weapon_misc_speed" value="0"/>

<input type="number" name="attr_weapon_misc_damage" value="0"/>

d20-6

<input type="text" name="attr_six_range"/>

<input type="text" name="attr_six_range_adjusted" value="0"  readonly />

Target Size

				<select name="attr_target_size">
				    <option value="0 ">      </option>
					<option value=".5 "> Tiny</option>
					<option value=".66"> Small</option>
					<option value="1">Medium</option>
					<option value="1.5"> Large</option>
					<option value="2"> Huge</option>
					<option value="4"> Giant</option>
					<option value="6"> Enormous</option>
					<option value="8"> Colossal</option>
				</select>

d20-8 Range

<input type="text" name="attr_eight_range"/>

<input type="text" name="attr_eight_range_adjusted" value="0"  readonly />

<textarea name="attr_combat_profile_notes"></textarea>

        </fieldset>

	</fieldset>

Health and Defense

Current HP

<input type="number" name="attr_hp"  value="0" readonly />

Maximum HP

<input type="number" name="attr_hp_max" value="0"/>

DR

<input type="number" name="attr_dr" value="@{armor_dr}+@{natural_dr}+@{encumbrance_dr_mod}" disabled="disabled"/>

TOP

<input type="number" name="attr_top" value="0"/>

TOP Save

<input type="number" name="attr_topsave" value="0"/>

Wounds

            <input type="hidden" name="attr_codeversion" value="0" />

Points

Days to Heal

Notes

                <fieldset class="repeating_wounds">

<input type="number" name="attr_wound" value="0"/>

<input type="number" name="attr_wound_days" value="0"/>

<input type="text" name="attr_wound_notes" />

                </fieldset>

Armor

Damage Reduction

Defense Bonus

Speed Modifier

Init Modifier

Weight

Armor

<input type="text" name="attr_armor"/>

<input type="number" name="attr_armor_dr" value="0"/>

<input type="number" name="attr_armor_defense_bonus" value="0"/>

<input type="number" name="attr_armor_speed_modifier" value="0"/>

<input type="number" name="attr_armor_init_modifier" value="0"/>

<input type="number" name="attr_armor_weight" value="0"/>

Shield

<input type="text" name="attr_shield" value="None"/>

<input type="number" name="attr_shield_dr" value="0"/>

<input type="number" name="attr_shield_defense_bonus" value="0"/>

<input type="number" name="attr_shield_weight" value="0"/>

Natural

<input type="number" name="attr_natural_dr" value="0"/>

<input type="number" name="attr_natural_defense_bonus" value="0"/>

Languages

Language

Level

Mastery

Literate

Level

            <fieldset class="repeating_language">

<input type="text" name="attr_language_name"/>

<input type="number" name="attr_language_level"/>

                    <select name="attr_language_mastery">
    					<option value="Unskilled">Unskilled</option>
    					<option value="Novice">Novice</option>
                        <option value="Average">Average</option>
                        <option value="Advanced">Advanced</option>
                        <option value="Expert">Expert</option>
                        <option value="Master">Master</option>
				    </select>

<input type="checkbox" name="attr_language_literate"/>

<input type="number" name="attr_language_literacy_level"/>

            </fieldset>

            <button type="action" name="act_fatigue" >Fatigue</button>
            <button type="action" name="act_character" >Character Traits</button>
            <button type="action" name="act_mspellstab" >Mage Spells</button>
            <button type="action" name="act_cspellstab" >Cleric Spells</button>

                <input type='hidden' class='sheet-tabstoggle' name='attr_sheetTab'  value='cspellstab'  />

Fatigue

Base Fatigue

Current Fatigue

Attack Mod

Speed Mod

Defense Mod

Damage Mod

Fatigue Check

<input type="number" name="attr_base_fatigue" value="@{fatigue_con}+@{class_fatigue}+@{fatigue_wis}+@{fatigue_shield}+@{fatigue_armor}+@{fatigue_weight}+@{fatigue_misc}" disabled="disabled" />

                <input type="hidden" name="attr_base_fatigue_con" value="0" />
                <input type="hidden" name="attr_base_fatigue_wis" value="0" />

<input type="number" name="attr_current_fatigue" value="0"/>

<input type="number" name="attr_fatigue_attack" value="0"/>

<input type="number" name="attr_fatigue_speed" value="0"/>

<input type="number" name="attr_fatigue_defense" value="0"/>

<input type="number" name="attr_fatigue_damage" value="0"/>

<button class="sheet-skill-roll" type='roll' name='roll_ability_save' value=' @{character_name} makes a Fatigue Check (roll above current fatigue) \n\n Fatigue Check :[[1d20]] vs @{current_fatigue}'></button>

These automatically apply to base fatigue

These do not automatically apply to base fatigue

Shield

                    <select name="attr_fatigue_shield">
					    <option value="0">None</option>
					    <option value="0+0">Buckler</option>
                        <option value="1">Small or Medium </option>
                        <option value="2">Large</option>
                        <option value="3">Body</option>
				    </select>

Encumberance

                    <select name="attr_fatigue_encumberance">
					    <option value="0">None = 0</option>
					    <option value="1">Light = 1</option>
                        <option value="2">Medium = 2 </option>
                        <option value="3">Heavy = 3</option>
				    </select>

Armor

                    <select name="attr_fatigue_armor">
					    <option value="0">None</option>
					    <option value="0+0">Light</option>
                        <option value="1">Medium </option>
                        <option value="2">Heavy</option>
				    </select>

Wounded

                    <select name="attr_fatigue_wounds">
					    <option value="0"> 100%= 0</option>
					    <option value="1"> 51-99% = +1</option>
                        <option value="4"> 11-50%= +4 </option>
                        <option value="8"> 1-10%= +8</option>
				    </select>

Weight

                    <select name="attr_fatigue_weight">
					    <option value="0">Healthy</option>
                        <option value="1">Overweight</option>
                        <option value="3">Obese</option>
				    </select>

Wound Thresholds

Misc

<input type="number" name="attr_fatigue_misc" value="0"/>

 50% Threshold

<input type="number" name="attr_50_thresh" value="0"  />

 10% Threshold

<input type="number" name="attr_10_thresh" value="0"  />

Character Traits

Proficiencies

<textarea name="attr_proficiencies"></textarea>

Talents & Racial Abilities

<textarea name="attr_talents"></textarea>

Quirks & Flaws

<textarea name="attr_quirks"></textarea>

Mage Spells

SP

<input type="number" name="attr_spell_points"/>

Max SP

<input type="number" name="attr_spell_points_max"/>

Level

Spell

Components

Speed

SP

Mem

                <fieldset class="repeating_spell">

<button class="sheet-spell-roll" type='roll' name='roll_spell' value='&{template:hm_spell} {{name=@{spell_name} }} {{caster=@{character_name} }} {{level=@{spell_level} }} {{cost=@{spell_points} }} {{components=@{spell_components} }} {{speed=@{spell_speed} }} {{Srange=@{spell_range} }} {{voe=@{spell_voe} }} {{duration= @{spell_duration} }} {{pointschedule=@{spell_pointschedule} }} {{save= @{spell_save} }} {{details= @{spell_notes} }}'>CAST</button>

<input type="text" name="attr_spell_level">

<input type="text" name="attr_spell_name"/>

<input type="text" name="attr_spell_components"/>

<input type="text" name="attr_spell_speed"/>

<input type="text" name="attr_spell_points"/>

<input type="checkbox" name="attr_spell_memorized"/>

Spell Details

                    <input type="checkbox" class="wombat-show arrow" name="attr_wombat_show" title="Show/Hide" value="1">

Range

<input type="text" name="attr_spell_range"/>

Volume of Effect

<input type="text" name="attr_spell_voe"/>

Duration

<input type="text" name="attr_spell_duration"/>

Spell Save

                        <select name="attr_spell_save">
    					    <option value="None">None</option>
    					    <option value="Dodge vs [[1d20+@{level}]] ">Dodge</option>
                            <option value="Physical vs [[1d20+@{level}]] ">Physical</option>
                            <option value="Mental vs [[1d20+@{level}]] ">Mental</option>
				        </select>

Additional Spell Point Schedule

<textarea name="attr_spell_pointschedule"></textarea>

Spell Notes

<textarea name="attr_spell_notes"></textarea>

                </fieldset>

Cleric Spells

Highest Bonus Spell Level

<input type="number" name="attr_bonus_spell_level"/>

Level

Spell

Components

Speed

Mem

                <fieldset class="repeating_clericspell">

<button class="sheet-spell-roll" type='roll' name='roll_spell' value='&{template:hm_spell} {{name=@{spell_name} }} {{caster=@{character_name} }} {{level=@{spell_level} }} {{components=@{spell_components} }} {{speed=@{spell_speed} }} {{Srange=@{spell_range} }} {{voe=@{spell_voe} }} {{duration= @{spell_duration} }} {{save= @{spell_save} }} {{details= @{spell_notes} }}'>CAST</button>

<input type="text" name="attr_spell_level">

<input type="text" name="attr_spell_name"/>

<input type="text" name="attr_spell_components"/>

<input type="text" name="attr_spell_speed"/>

<input type="checkbox" name="attr_spell_memorized"/>

Spell Details

                    <input type="checkbox" class="wombat-show arrow" name="attr_wombat_show" title="Show/Hide" value="1">

Range

<input type="text" name="attr_spell_range"/>

Volume of Effect

<input type="text" name="attr_spell_voe"/>

Duration

<input type="text" name="attr_spell_duration"/>

Spell Save

                        <select name="attr_spell_save">
    					    <option value="None">None</option>
    					    <option value="Dodge vs [[1d20+@{level}]] ">Dodge</option>
                            <option value="Physical vs [[1d20+@{level}]] ">Physical</option>
                            <option value="Mental vs [[1d20+@{level}]] ">Mental</option>
				        </select>

Spell Notes

<textarea name="attr_spell_notes"></textarea>

                </fieldset>

Skills

Mastery

Attribute

Roll

Opposed

<select name="attr_skill_mastery_die">
					<option value="1d12!p + 0">Unskilled (= 0)</option>
   					<option value="1d12!p">Novice (≤ 25)</option>
                    <option value="1d8!p">Average (≤ 50)</option>
                    <option value="1d6!p">Advanced (≤ 75)</option>
                    <option value="1d4!p">Expert (≤ 87)</option>
                    <option value="1d3!p">Master (≤ 100)</option>
                </select>

<select name="attr_skill_mastery_ability">
                    <option value="Strength">STR</option>
                    <option value="Intelligence">INT</option>
                    <option value="Wisdom">WIS</option>
                    <option value="Dexterity">DEX</option>
                    <option value="Constitution">CON</option>
                    <option value="Looks">LKS</option>
                    <option value="Charisma">CHA</option>
                </select>

<button class="sheet-skill-roll" type='roll' name='roll_skill_mastery' value='!sheet_master_die [[@{skill_mastery_die}]] @{skill_mastery_ability}'>Train</button>

<input type="checkbox" name="attr_skill_dice_switch" value="1" />

Skill

Mastery

 Std Roll

Acting (Lks,Cha)

<input type="number" name="attr_skill_acting" value="0"/>

				<input type="hidden" name="attr_acting_dice" value="[[d100]] Skill: [[@{skill_acting}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_acting' value='@{character_name} makes an acting skill check\n\nRoll :@{acting_dice}'>Check</button>

Animal Husbandry (Wis)

<input type="number" name="attr_skill_animal_husbandry" value="0"/>

				<input type="hidden" name="attr_animal_husbandry_dice" value="[[d100]] Skill: [[@{skill_animal_husbandry}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_animal_husbandry' value='@{character_name} makes an animal husbandry skill check\n\nRoll :@{animal_husbandry_dice}'>Check</button>

Animal Mimicry (Wis)

<input type="number" name="attr_skill_animal_mimicry" value="0"/>

				<input type="hidden" name="attr_animal_mimicry_dice" value="[[d100]] Skill: [[@{skill_animal_mimicry}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_animal_mimicry' value='@{character_name} makes an animal mimicry skill check\n\nRoll :@{animal_mimicry_dice}'>Check</button>

Boating (Wis)

<input type="number" name="attr_skill_boating" value="0"/>

				<input type="hidden" name="attr_boating_dice" value="[[d100]] Skill: [[@{skill_boating]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_boating' value='@{character_name} makes a boating skill check\n\nRoll :@{boating_dice}'>Check</button>

Cartography (Int)

<input type="number" name="attr_skill_cartography" value="0"/>

				<input type="hidden" name="attr_cartography_dice" value="[[d100]] Skill: [[@{skill_cartography}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_cartography' value='@{character_name} makes a cartography skill check\n\nRoll :@{cartography_dice}'>Check</button>

Climbing/Rappelling (Str,Dex)

<input type="number" name="attr_skill_climbing" value="0"/>

				<input type="hidden" name="attr_climbing_dice" value="[[d100]] Skill: [[@{skill_climbing}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_climbing' value='@{character_name} makes a climbing skill check\n\nRoll :@{climbing_dice}'>Check</button>

Current Affairs (Wis)

<input type="number" name="attr_skill_current_affairs" value="0"/>

				<input type="hidden" name="attr_current_affairs_dice" value="[[d100]] Skill: [[@{skill_current_affairs}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_current_affairs' value='@{character_name} makes a current affairs skill check\n\nRoll :@{current_affairs_dice}'>Check</button>

Diplomacy (Cha)

<input type="number" name="attr_skill_diplomacy" value="0"/>

				<input type="hidden" name="attr_diplomacy_dice" value="[[d100]] Skill: [[@{skill_diplomacy}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_diplomacy' value='@{character_name} makes a diplomacy skill check\n\nRoll :@{diplomacy_dice}'>Check</button>

Disguise (Int,Cha)

<input type="number" name="attr_skill_disguise" value="0"/>

				<input type="hidden" name="attr_disguise_dice" value="[[d100]] Skill: [[@{skill_disguise}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_disguise' value='@{character_name} makes a disguise skill check\n\nRoll :@{disguise_dice}'>Check</button>

Distraction (Cha)

<input type="number" name="attr_skill_distraction" value="0"/>

				<input type="hidden" name="attr_distraction_dice" value="[[d100]] Skill: [[@{skill_distraction}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_distraction' value='@{character_name} makes a distraction skill check\n\nRoll :@{distraction_dice}'>Check</button>

Escape Artist (Int,Dex)

<input type="number" name="attr_skill_escape_artist" value="0"/>

				<input type="hidden" name="attr_escape_artist_dice" value="[[d100]] Skill: [[@{skill_escape_artist}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_escape_artist' value='@{character_name} makes an escape artist skill check\n\nRoll :@{escape_artist_dice}'>Check</button>

Fire Building (Wis)

<input type="number" name="attr_skill_fire_building" value="0"/>

				<input type="hidden" name="attr_fire_building_dice" value="[[d100]] Skill: [[@{skill_fire_building}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_fire_building' value='@{character_name} makes a fire building skill check\n\nRoll :@{fire_building_dice}'>Check</button>

Glean Information (Int,Wis,Cha)

<input type="number" name="attr_skill_glean_information" value="0"/>

				<input type="hidden" name="attr_glean_information_dice" value="[[d100]] Skill: [[@{skill_glean_information}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_glean_information' value='@{character_name} makes a glean information skill check\n\nRoll :@{glean_information_dice}'>Check</button>

Hiding (Int,Dex)

<input type="number" name="attr_skill_hiding" value="0"/>

				<input type="hidden" name="attr_hiding_dice" value="[[d100]] Skill: [[@{skill_hiding}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_hiding' value='@{character_name} makes a hiding skill check\n\nRoll :@{hiding_dice}'>Check</button>

Interrogation (Wis,Cha)

<input type="number" name="attr_skill_interrogation" value="0"/>

				<input type="hidden" name="attr_interrogation_dice" value="[[d100]] Skill: [[@{skill_interrogation}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_interrogation' value='@{character_name} makes an interrogation skill check\n\nRoll :@{interrogation_dice}'>Check</button>

Intimidation (Str,Cha)

<input type="number" name="attr_skill_intimidation" value="0"/>

				<input type="hidden" name="attr_intimidation_dice" value="[[d100]] Skill: [[@{skill_intimidation}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_intimidation' value='@{character_name} makes an intimidation skill check\n\nRoll :@{intimidation_dice}'>Check</button>

Jumping (Str)

<input type="number" name="attr_skill_jumping" value="0"/>

				<input type="hidden" name="attr_jumping_dice" value="[[d100]] Skill: [[@{skill_jumping}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_jumping' value='@{character_name} makes a jumping skill check\n\nRoll :@{jumping_dice}'>Check</button>

Law (Int)

<input type="number" name="attr_skill_law" value="0"/>

				<input type="hidden" name="attr_law_dice" value="[[d100]] Skill: [[@{skill_law}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_law' value='@{character_name} makes a law skill check\n\nRoll :@{law_dice}'>Check</button>

Listening (Wis)

<input type="number" name="attr_skill_listening" value="0"/>

				<input type="hidden" name="attr_listening_dice" value="[[d100]] Skill: [[@{skill_listening}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_listening' value='@{character_name} makes a listening skill check\n\nRoll :@{listening_dice}'>Check</button>

Observation (Wis)

<input type="number" name="attr_skill_observation" value="0"/>

				<input type="hidden" name="attr_observation_dice" value="[[d100]] Skill: [[@{skill_observation}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_observation' value='@{character_name} makes an observation skill check\n\nRoll :@{observation_dice}'>Check</button>

Oration (Cha)

<input type="number" name="attr_skill_oration" value="0"/>

    			<input type="hidden" name="attr_oration_dice" value="[[d100]] Skill: [[@{skill_oration}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_oration' value='@{character_name} makes an oration skill check\n\nRoll :@{oration_dice}'>Check</button>

Persuasion (Cha)

<input type="number" name="attr_skill_persuasion" value="0"/>

    			<input type="hidden" name="attr_persuasion_dice" value="[[d100]] Skill: [[@{skill_persuasion}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_persuasion' value='@{character_name} makes a persuasion skill check\n\nRoll :@{persuasion_dice}'>Check</button>

Pick Pocket (Dex)

<input type="number" name="attr_skill_pick_pocket" value="0"/>

    			<input type="hidden" name="attr_pick_pocket_dice" value="[[d100]] Skill: [[@{skill_pick_pocket}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_pick_pocket' value='@{character_name} makes a pick pocket skill check\n\nRoll :@{pick_pocket_dice}'>Check</button>

Reading Lips (Int)

<input type="number" name="attr_skill_reading_lips" value="0"/>

    			<input type="hidden" name="attr_reading_lips_dice" value="[[d100]] Skill: [[@{skill_reading_lips}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_reading_lips' value='@{character_name} makes a reading lips skill check\n\nRoll :@{reading_lips_dice}'>Check</button>

Recruiting (Cha)

<input type="number" name="attr_skill_recruiting" value="0"/>

    			<input type="hidden" name="attr_recruiting_dice" value="[[d100]] Skill: [[@{skill_recruiting}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_recruiting' value='@{character_name} makes a recruiting skill check\n\nRoll :@{recruiting_dice}'>Check</button>

Resist Persuasion (Wis)

<input type="number" name="attr_skill_resist_persuasion" value="0"/>

    			<input type="hidden" name="attr_resist_persuasion_dice" value="[[d100]] Skill: [[@{skill_resist_persuasion}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_resist_persuasion' value='@{character_name} makes a resist persuasion skill check\n\nRoll :@{resist_persuasion_dice}'>Check</button>

Rope Use (Dex)

<input type="number" name="attr_skill_rope_use" value="0"/>

    			<input type="hidden" name="attr_rope_use_dice" value="[[d100]] Skill: [[@{skill_rope_use}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_rope_use' value='@{character_name} makes a rope use skill check\n\nRoll :@{rope_use_dice}'>Check</button>

Salesmanship (Int,Wis,Cha)

<input type="number" name="attr_skill_salesmanship" value="0"/>

        		<input type="hidden" name="attr_salesmanship_dice" value="[[d100]] Skill: [[@{skill_salesmanship}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_salesmanship' value='@{character_name} makes a salesmanship skill check\n\nRoll :@{salesmanship_dice}'>Check</button>

Scrutiny (Wis)

<input type="number" name="attr_skill_scrutiny" value="0"/>

            	<input type="hidden" name="attr_scrutiny_dice" value="[[d100]] Skill: [[@{skill_scrutiny}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_scrutiny' value='@{character_name} makes a scrutiny skill check\n\nRoll :@{scrutiny_dice}'>Check</button>

Seduction, Art of (Cha,Lks)

<input type="number" name="attr_skill_seduction" value="0"/>

            	<input type="hidden" name="attr_seduction_dice" value="[[d100]] Skill: [[@{skill_seduction}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_seduction' value='@{character_name} makes a seduction skill check\n\nRoll :@{seduction_dice}'>Check</button>

Skilled Liar (Cha)

<input type="number" name="attr_skill_skilled_liar" value="0"/>

            	<input type="hidden" name="attr_skilled_liar_dice" value="[[d100]] Skill: [[@{skill_skilled_liar}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_skilled_liar' value='@{character_name} makes a skilled liar skill check\n\nRoll :@{skilled_liar_dice}'>Check</button>

Sneaking (Dex)

<input type="number" name="attr_skill_sneaking" value="0"/>

            	<input type="hidden" name="attr_sneaking_dice" value="[[d100]] Skill: [[@{skill_sneaking}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_sneaking' value='@{character_name} makes a sneaking skill check\n\nRoll :@{sneaking_dice}'>Check</button>

Survival (Wis,Con)

<input type="number" name="attr_skill_survival" value="0"/>

            	<input type="hidden" name="attr_survival_dice" value="[[d100]] Skill: [[@{skill_survival}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_survival' value='@{character_name} makes a survival skill check\n\nRoll :@{survival_dice}'>Check</button>

Torture (Int)

<input type="number" name="attr_skill_torture" value="0"/>

            	<input type="hidden" name="attr_torture_dice" value="[[d100]] Skill: [[@{skill_torture}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_torture' value='@{character_name} makes a torture skill check\n\nRoll :@{torture_dice}'>Check</button>

Tracking (Wis)

<input type="number" name="attr_skill_tracking" value="0"/>

            	<input type="hidden" name="attr_tracking_dice" value="[[d100]] Skill: [[@{skill_tracking}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill_tracking' value='@{character_name} makes a tracking skill check\n\nRoll :@{tracking_dice}'>Check</button>

                <fieldset class="repeating_skill">

<input type="text" name="attr_skillname"/>

<input type="number" name="attr_mastery" value="0"/>

                    <input type="hidden" name="attr_skillname_dice" value="[[d100]] Skill: [[@{mastery}]]" />

<button class="sheet-skill-roll" type='roll' name='roll_skill' value='@{character_name} makes a @{skillname} skill check\n\nRoll :@{skillname_dice}'>Check</button>

                </fieldset>

Carried Possessions

Item

Container

Weight

<input type="text" name="attr_item01"/>

<input type="text" name="attr_itemLocation01"/>

<input type="number" name="attr_item01_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item03"/>

<input type="text" name="attr_itemLocation03"/>

<input type="number" name="attr_item03_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item05"/>

<input type="text" name="attr_itemLocation05"/>

<input type="number" name="attr_item05_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item07"/>

<input type="text" name="attr_itemLocation07"/>

<input type="number" name="attr_item07_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item09"/>

<input type="text" name="attr_itemLocation09"/>

<input type="number" name="attr_item09_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item11"/>

<input type="text" name="attr_itemLocation11"/>

<input type="number" name="attr_item11_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item13"/>

<input type="text" name="attr_itemLocation13"/>

<input type="number" name="attr_item13_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item15"/>

<input type="text" name="attr_itemLocation15"/>

<input type="number" name="attr_item15_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item17"/>

<input type="text" name="attr_itemLocation17"/>

<input type="number" name="attr_item17_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item19"/>

<input type="text" name="attr_itemLocation19"/>

<input type="number" name="attr_item19_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item21"/>

<input type="text" name="attr_itemLocation21"/>

<input type="number" name="attr_item21_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item23"/>

<input type="text" name="attr_itemLocation23"/>

<input type="number" name="attr_item23_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item25"/>

<input type="text" name="attr_itemLocation25"/>

<input type="number" name="attr_item25_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item27"/>

<input type="text" name="attr_itemLocatio027"/>

<input type="number" name="attr_item27_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item29"/>

<input type="text" name="attr_itemLocation29"/>

<input type="number" name="attr_item29_weight" value=0 min=0 step=0.5>

Item

Container

Weight

<input type="text" name="attr_item02"/>

<input type="text" name="attr_itemLocation02"/>

<input type="number" name="attr_item02_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item04"/>

<input type="text" name="attr_itemLocation04"/>

<input type="number" name="attr_item04_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item06"/>

<input type="text" name="attr_itemLocation06"/>

<input type="number" name="attr_item06_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item08"/>

<input type="text" name="attr_itemLocation08"/>

<input type="number" name="attr_item08_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item10"/>

<input type="text" name="attr_itemLocation10"/>

<input type="number" name="attr_item10_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item12"/>

<input type="text" name="attr_itemLocation12"/>

<input type="number" name="attr_item12_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item14"/>

<input type="text" name="attr_itemLocation14"/>

<input type="number" name="attr_item14_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item16"/>

<input type="text" name="attr_itemLocation16"/>

<input type="number" name="attr_item16_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item18"/>

<input type="text" name="attr_itemLocation18"/>

<input type="number" name="attr_item18_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item20"/>

<input type="text" name="attr_itemLocation20"/>

<input type="number" name="attr_item20_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item22"/>

<input type="text" name="attr_itemLocation22"/>

<input type="number" name="attr_item22_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item24"/>

<input type="text" name="attr_itemLocation24"/>

<input type="number" name="attr_item24_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item26"/>

<input type="text" name="attr_itemLocation26"/>

<input type="number" name="attr_item26_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item28"/>

<input type="text" name="attr_itemLocation28"/>

<input type="number" name="attr_item28_weight" value=0 min=0 step=0.5>

<input type="text" name="attr_item30"/>

<input type="text" name="attr_itemLocation30"/>

<input type="number" name="attr_item30_weight" value=0 min=0 step=0.5>

Other Possesions

Item

Location

Weight

            <fieldset class="repeating_inventory">

<input type="text" name="attr_item"/>

<input type="text" name="attr_itemLocation"/>

<input type="number" name="attr_item_weight" value=0 min=0 step=0.5>

            </fieldset>

Currency

Trade Coins

Copper

Silver

Gold

<input type="number" name="attr_trade_coins"/>

<input type="number" name="attr_copper"/>

<input type="number" name="attr_silver"/>

<input type="number" name="attr_gold"/>

Other Wealth

<textarea name="attr_otherWealth" style="height: 52px;"></textarea>

Gems & Jewelry

<textarea name="attr_gemsAndJewelry"></textarea>

Weight

Character's Weight

Armor/Shield Weight

Equipment Weight

Total Coin Weight

<input type="number" name="attr_character_weight_value" value="@{weight}" disabled="disabled"/>

<input type="number" name="attr_armor_weight_value" value="@{armor_weight}+@{shield_weight}" disabled="disabled"/>

<input type="number" name="attr_equipment_weight_value" value="@{item01_weight}+@{item02_weight}+@{item03_weight}+@{item04_weight}+@{item05_weight}+@{item06_weight}+@{item07_weight}+@{item08_weight}+@{item09_weight}+@{item10_weight}+@{item11_weight}+@{item12_weight}+@{item13_weight}+@{item14_weight}+@{item15_weight}+@{item16_weight}+@{item17_weight}+@{item18_weight}+@{item19_weight}+@{item20_weight}+@{item21_weight}+@{item22_weight}+@{item23_weight}+@{item24_weight}+@{item25_weight}+@{item26_weight}+@{item27_weight}+@{item28_weight}+@{item29_weight}+@{item30_weight}" disabled="disabled"/>

<input type="number" name="attr_coin_weight_value" value="floor(@{trade_coins}/200+@{copper}/80+@{silver}/80+@{gold}/80)" disabled="disabled"/>

Encumbrance

Level

Damage Reduction

Defense Adjustment

Init Modifier

Speed Modifier

Fatigue Modifier

                <select name="attr_encumbrance">
                    <option value="0">None</option>
                    <option value="1">Light</option>
                    <option value="2">Medium</option>
                    <option value="4">Heavy</option>
                </select>

<input type="number" name="attr_encumbrance_dr_mod" value="floor(@{encumbrance}/2)" disabled="disabled"/>

<input type="number" name="attr_encumbrance_defense_mod" value="@{encumbrance}*-1" disabled="disabled"/>

<input type="number" name="attr_encumbrance_initiative_mod" value="floor(@{encumbrance}/2)" disabled="disabled"/>

<input type="number" name="attr_encumbrance_speed_mod" value="floor(@{encumbrance}/2)" disabled="disabled"/>

<input type="number" name="attr_encumbrance_fatigue_mod" value="floor(@{encumbrance}*1.5)" disabled="disabled"/>

Notes

<textarea name="attr_notes" style="height: 300px;"></textarea>

Icons made by Smashicons from www.flaticon.com

<rolltemplate class="sheet-rolltemplate-hm_std">

        {{#name}}
{{name}}
{{/name}}
        {{#weapon}}

            Weapon: {{weapon}}

{{/weapon}}

            {{#speed}}Speed: {{speed}}{{/speed}}
            {{#reach}}Reach: {{reach}}{{/reach}}

        {{#atk_roll}}

Attack Roll: {{atk_roll}}

            {{#rollGreater() atk_roll perf}}

Critical Hit!

            {{/rollGreater() atk_roll perf}}

            {{#rollTotal() atk_roll perf}}

Near Perfect Attack!

            {{/rollTotal() atk_roll perf}}

            {{#rollWasFumble() atk_roll}}{{#^rollWasCrit() atk_roll}}

Fumble!

            {{/^rollWasCrit() atk_roll}}{{/rollWasFumble() atk_roll}}
        {{/atk_roll}}
        {{#def_roll}}

Defense Roll: {{def_roll}}

            {{#rollGreater() def_roll perf}}

Perfect Defense!

            {{/rollGreater() def_roll perf}}

            {{#rollTotal() def_roll perf}}

Near Perfect Defense!

            {{/rollTotal() def_roll perf}}

            {{#rollWasFumble() def_roll}}{{#^rollWasCrit() def_roll}}

Fumble! (Automatic Fatigue Gain)

            {{/^rollWasCrit() def_roll}}{{/rollWasFumble() def_roll}}

            {{#^rollGreater() def_roll fatigue}}

Fatigue Gained!

            {{/^rollGreater() def_roll fatigue}}

        {{/def_roll}}
		{{#damage}}

Damage Roll: {{damage}}

        {{/damage}}
		{{#dr}}

DR: {{dr}}{{#sdr}} +  {{sdr}}{{/sdr}}

        {{/dr}}

        {{#type}}

Type: {{type}}

        {{/type}}

        {{#allprops() name weapon speed reach atk_roll def_roll damage dr sdr fatigue perf type }}

{{key}}: {{value}}

        {{/allprops() name weapon speed reach atk_roll def_roll damage dr sdr fatigue perf type }}

</rolltemplate>

<rolltemplate class="sheet-rolltemplate-hm_spell">

        {{#name}}
{{name}}
{{/name}}
        {{#caster}}

            Caster: {{caster}}

{{/caster}}
        {{#level}}
Spell Level: {{level}}
{{/level}}
        {{#cost}}
Base SP Cost: {{cost}}
{{/cost}}
        {{#components}}
Components: {{components}}
{{/components}}
        {{#speed}}
Casting Time: {{speed}}
{{/speed}}
        {{#range}}
Range: {{range}}
{{/range}}
        {{#voe}}
Volume of Effect: {{voe}}
{{/voe}}
        {{#duration}}
Duration: {{duration}}
{{/duration}}
        {{#save}}
Save: {{save}}
{{/save}}
        {{#pointschedule}}
Additional Spell Points: {{pointschedule}}
{{/pointschedule}}
        {{#details}}
Details: {{details}}
{{/details}}

</rolltemplate>


text:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>AvroProducerExample</groupId>
    <artifactId>ClickstreamGenerator</artifactId>
    <version>1.0-SNAPSHOT</version>

    <repositories>
        <repository>
            <id>apache-repo</id>
            <name>Apache Repository</name>
            <url>https://repository.apache.org/content/repositories/releases</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>confluent</id>
            <url>http://packages.confluent.io/maven/</url>
        </repository>
    </repositories>

    <properties>
        <kafka.version>0.8.2.1</kafka.version>
        <kafka.scala.version>2.10</kafka.scala.version>
        <confluent.version>1.0</confluent.version>
        <avro.version>1.7.7</avro.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.avro</groupId>
            <artifactId>avro</artifactId>
            <version>${avro.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.avro</groupId>
            <artifactId>avro-maven-plugin</artifactId>
            <version>${avro.version}</version>
        </dependency>
        <dependency>
            <groupId>io.confluent</groupId>
            <artifactId>kafka-avro-serializer</artifactId>
            <version>${confluent.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka-clients</artifactId>
            <version>${kafka.version}</version>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.avro</groupId>
                <artifactId>avro-maven-plugin</artifactId>
                <version>${avro.version}</version>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>schema</goal>
                            <goal>protocol</goal>
                            <goal>idl-protocol</goal>
                        </goals>
                        <configuration>
                            <sourceDirectory>${project.basedir}/src/main/resources/avro</sourceDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <finalName>uber-${artifactId}-${version}</finalName>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

redpajama_set_name: RedPajamaGithub


text:
describe "Search Export GraphQL" do
  subject { ClinwikiSchema.execute(query, variables: variables, context: context).to_h }
  let(:context) { {} }
  let(:variables) { {} }

  describe "exporting to CSV" do
    let(:query) { file_fixture("graphql/search_export/export_to_csv.gql").read }
    let(:user) { FactoryBot.create :user }
    let(:site_view) { FactoryBot.create :site_view }
    let(:short_link) { FactoryBot.create :short_link }

    shared_examples "it returns nil" do
      it { expect(subject.dig("data", "exportToCsv", "searchExport")).to be_nil }
    end

    describe "without a user" do
      it_behaves_like "it returns nil"
    end

    describe "with a user" do
      let(:context) { { current_user: user } }
      describe "without a search hash" do
        it_behaves_like "it returns nil"
      end

      describe "with a search hash" do
        let(:variables) { { "searchHash" => short_link.short } }
        describe "without a site view id" do
          it_behaves_like "it returns nil"
        end

        describe "with a site view id" do
          let(:variables) { { "searchHash" => short_link.short, "siteViewId" => site_view.id } }

          it "should create the export and trigger the export job" do
            expect(CsvExportJob).to receive(:perform_async)
            expect { subject }.to change { SearchExport.count }.by(1)
            expect(subject.dig("data", "exportToCsv", "searchExport")).not_to be_nil
            expect(subject.dig("data", "exportToCsv", "searchExport", "shortLink", "short")).to eql(short_link.short)
            expect(subject.dig("data", "exportToCsv", "searchExport", "user", "id")).to eql(user.id)
          end
        end
      end
    end
  end

  describe "retrieving the export" do
    let(:user) { FactoryBot.create :user }
    let(:export) { FactoryBot.create :search_export, user: user }
    let(:query) { file_fixture("graphql/search_export/search_export.gql").read }
    let(:variables) { { "searchExportId" => export.id } }

    describe "if the user cant access the export" do
      let(:context) { { current_user: FactoryBot.create(:user) } }
      it "should not return the export" do
        expect(subject.dig("data", "searchExport")).to be_nil
      end
    end

    describe "if the user can access the export" do
      let(:context) { { current_user: user } }

      describe "if the export is not ready" do
        before { expect_any_instance_of(Aws::S3::Object).to receive(:exists?).and_return(false) }
        it "should have a nil download url" do
          expect_any_instance_of(Aws::S3::Object).not_to receive(:presigned_url)
          expect(subject.dig("data", "searchExport", "downloadUrl")).to be_nil
        end
      end

      describe "if the export is ready" do
        before do
          expect_any_instance_of(Aws::S3::Object).to receive(:exists?).and_return(true)
          expect_any_instance_of(Aws::S3::Object).to receive(:presigned_url).with(:get).and_return("some-presigned-url")
        end
        it "should expose the download url" do
          expect(subject.dig("data", "searchExport", "downloadUrl")).to eql("some-presigned-url")
        end
      end
    end
  end
end


text:
package com.company.example.core.filters;

import java.io.IOException;
import java.util.List;

import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;

import org.apache.sling.testing.mock.sling.servlet.MockRequestPathInfo;
import org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest;
import org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletResponse;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

import io.wcm.testing.mock.aem.junit5.AemContext;
import io.wcm.testing.mock.aem.junit5.AemContextExtension;
import uk.org.lidalia.slf4jext.Level;
import uk.org.lidalia.slf4jtest.LoggingEvent;
import uk.org.lidalia.slf4jtest.TestLogger;
import uk.org.lidalia.slf4jtest.TestLoggerFactory;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.mock;

@ExtendWith(AemContextExtension.class)
class LoggingFilterTest {

    private LoggingFilter fixture = new LoggingFilter();

    private TestLogger logger = TestLoggerFactory.getTestLogger(fixture.getClass());

    @BeforeEach
    void setup() {
        TestLoggerFactory.clear();
    }

    @Test
    void doFilter(AemContext context) throws IOException, ServletException {
        MockSlingHttpServletRequest request = context.request();
        MockSlingHttpServletResponse response = context.response();

        MockRequestPathInfo requestPathInfo = (MockRequestPathInfo) request.getRequestPathInfo();
        requestPathInfo.setResourcePath("/content/test");
        requestPathInfo.setSelectorString("selectors");

        fixture.init(mock(FilterConfig.class));
        fixture.doFilter(request, response, mock(FilterChain.class));
        fixture.destroy();

        List<LoggingEvent> events = logger.getLoggingEvents();
        assertEquals(1, events.size());
        LoggingEvent event = events.get(0);
        assertEquals(Level.DEBUG, event.getLevel());
        assertEquals(2, event.getArguments().size());
        assertEquals("/content/test", event.getArguments().get(0));
        assertEquals("selectors", event.getArguments().get(1));
    }
}