text:
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="PC" checked="checked" />
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="NPC" />
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Vehicle" />

			 Class:				<input type="text" name="attr_rank" class="header" style="width:100%" />

				Character Record Sheet

			 Level:				<input type="number" name="attr_level" class="header" value="1" /> <input type="number" name="attr_level_max" value="[[(floor(@{level}/2))]][level]"  disabled="true" class="header" />
			Background:				<input type="text" name="attr_background" class="header" />

			Species:				<input type="text" name="attr_species" class="header" />
			Destiny:				<input type="text" name="attr_destiny" class="header" />

Attributes

					STR

Strength

					<input type="number" name="attr_STR" value="8" title="Strength Score" />
					<input type="number" name="attr_Str_max" value="[[(floor(@{STR}/2-5))]][STR]" disabled="true" title="Strength Modifier" />
					<button type="roll" name="roll_STRCheck" value="&{template:skill} {{name=Strength}} {{skill=[[1d20+@{Str|max}+@{CT}]]}}" title="Roll Strength"></button>

					DEX

Dexterity

					<input type="number" name="attr_DEX" value="8" title="Dexterity Score" />
					<input type="number" name="attr_DEX_max" value="[[(floor(@{DEX}/2-5))]][DEX]" disabled="true" title="Dexterity Modifier" />
					<button type="roll" name="roll_DEXCheck" value="&{template:skill} {{name=Dexterity}} {{skill=[[1d20+@{Dex|max}+@{CT}]]}}" title="Roll Dexterity"></button>

					CON

Constitution

					<input type="number" name="attr_CON" value="8" title="Constitution Score" />
					<input type="number" name="attr_CON_max" value="[[(floor(@{CON}/2-5))]][CON]" disabled="true" title="Constitution Modifier" />
					<button type="roll" name="roll_CONCheck" value="&{template:skill} {{name=Constitution}} {{skill=[[ 1d20+@{Con|max}+@{CT}]]}}" title="Roll Constitution"></button>

					INT

Intelligence

					<input type="number" name="attr_INT" value="8" title="Intelligence Score" />
					<input type="number" name="attr_INT_max" value="[[(floor(@{INT}/2-5))]][INT}" disabled="true" title="Intelligence Modifier" />
					<button type="roll" name="roll_INTCheck" value="&{template:skill} {{name=Intelligence}} {{skill=[[ 1d20+@{Int|max}+@{CT}]]}}" title="Roll Intelligence"></button>

					WIS

Wisdom

					<input type="number" name="attr_WIS" value="8" title="Wisdom Score" />
					<input type="number" name="attr_WIS_max" value="[[(floor(@{WIS}/2-5))]][WIS]" disabled="true" title="Wisdom Modifier" />
					<button type="roll" name="roll_WISCheck" value="&{template:skill} {{name=Wisdom}} {{skill=[[ 1d20+@{Wis|max}+@{CT}]]}}" title="Roll Wisdom"></button>

					CHA

Charisma

					<input type="number" name="attr_CHA" value="8" title="Charisma Score" />
					<input type="number" name="attr_CHA_max" value="[[(floor(@{CHA}/2-5))]]" disabled="true" title="Charisma Modifier" />
					<button type="roll" name="roll_CHACheck" value="&{template:skill} {{name=Charisma}} {{skill=[[ 1d20+@{Cha|max}+@{CT}]]}}" title="Roll Charisma"></button>

Hit Points

Condition

Current					Total

						<input type="radio" value="0" name="attr_CT" checked="true" /> Normal

						<input type="radio" value="-1" name="attr_CT" /> -1

						<input type="radio" value="-2" name="attr_CT" /> -2

						<input type="radio" value="-5" name="attr_CT" /> -5

						<input type="radio" value="-10" name="attr_CT" /> -10

						<input type="radio" value="-10" name="attr_CT" /> Helpless

					 <input type="number" name="attr_HP" value="0" title="Current HP" />
					 /
					<input type="number" name="attr_HP_max" value="0" title="Max HP" />

Threshold

	Total				Defense	 	Misc

					<input type="number" name="attr_DT" value="@{DamageThresholdDefense}+@{DamageThresholdMisc}+@{CTIgnoreDT}"  disabled="true" title="Damage Threshold" />
					 =
					 <select name="attr_DamageThresholdDefense" class="modtype" title="Damage Threshold Defense">
					  <option value="@{Fortitude}" selected>Fort</option>
					  <option value="@{Will}">Will</option>
					</select>
					<input type="number" name="attr_DamageThresholdMisc" value="0"  title="Damage Threshold Miscellaneous Modifier" />

Ignore CT? <input type="checkbox" value="-@{CT}" name="attr_CTIgnoreDT"  title="Does Damage Threshold ignore decrease from the Condition Track?" />

					Damage Reduction<input type="number" name="attr_DR" value="0" title="Damage Reduction" />

					Shield Rating<input type="number" name="attr_SR" value="0" title="Current Shield Rating" /> / <input type="number" name="attr_SR_max" value="0" title="Max Shield Rating" />

Force Points

Destiny Pts

					<input type="number" name="attr_FP" value="5" title="Current Force Points" />
						<button type="roll" name="roll_ForcePoint" value="&{template:skill} {{name=Force Point}} {{skill=[[@{fp|max}k1]]}} " title="Roll Force Point" ></button>
						<input type="text" name="attr_FP_max" value="1d6" title="Force Point Dice" style="width:40px"/>
					<input type="number" name="attr_DP" value="0" title="Destiny Points" />

BAB

Speed

Dark Side Pts

					<input type="number" name="attr_BAB" value="0" title="Base Attack Bonus" />
					<input type="number" name="attr_Speed" value="0" title="Speed in Squares" />
					<input type="number" name="attr_DSP" value="0" title="Dark Side Points" />

					<button type="roll" name="roll_PerceptionShort" value="&{template:skill} {{name=Perception}} {{skill=[[1d20+@{Perception}+?{Other Modifiers|0}]]}} {{notes=@{Perception|max}}}" title="Roll Perception"></button>	Perception

					<input style="margin-left:50px" type="text" name="attr_Perception_max" placeholder="Senses Notes" title="Senses Notes" />

					<button type="roll" name="roll_InitiativeTurn" value="&{template:skill} {{name=Rolling for Turn Order}} {{skill=[[1d20+@{Initiative}+?{Other Modifiers|0} &{tracker}]]}} " title="Roll Initiative to Turn Order window" ></button>		Initiative

Grapple

					Mod

					Misc

					<button type="roll" name="roll_GrappleCheck" value="&{template:skill} {{name=Grapple}} {{skill=[[1d20+@{Grapple}+?{Other Modifiers|0}]]}}" title="Roll Grapple"></button>
					<input type="number" name="attr_Grapple" value="@{BAB} + @{GrpMod} + @{GrpMod|max} +@{CT}" disabled="true" title="Grapple" />
					 =
					 <select name="attr_GrpMod" class="modtype" title="Choose the highest modifier">
					  <option value="@{str|max}">STR</option>
					  <option value="@{dex|max}">DEX</option>
					</select>
					 +
					<input type="number" name="attr_GrpMod_max" value="0" title="Miscellaneous Grapple Modifier" />

Defenses

						Total

						Level / Armor
						Class
						Mod
						Misc

					Reflex
					<input type="number" name="attr_Reflex" value="10+@{RefMod}+@{RefLevel}+@{RefClass}+@{RefMisc}+@{RefSizeMod}+@{CT}" disabled="true"  title="Reflex" />
					 = 10 +
					<input type="number" name="attr_RefLevel" value="0"  title="Reflex Level / Armor bonus"/>
					<input type="number" name="attr_RefClass" value="0" title="Reflex Class bonus" />
					 <select name="attr_RefMod" class="modtype" title="Reflex Ability Modifier (default DEX)">
					  <option value="@{str|max}">STR</option>
					  <option value="@{dex|max}" selected>DEX</option>
					  <option value="@{con|max}">CON</option>
					  <option value="@{int|max}">INT</option>
					  <option value="@{wis|max}">WIS</option>
					  <option value="@{cha|max}">CHA</option>
					</select>
					<input type="number" name="attr_RefMisc" value="0" title="Reflex Miscellaneous Modifier" />

Flatfooted

					<input type="number" name="attr_ReflexFlatFooted" value="10+@{RefLevel}+@{RefClass}=+@{RefFlatFootedMisc}+@{RefSizeMod}+@{CT}" disabled="true"  title="Reflex Flat Footed" />

						<select name="attr_RefSizeMod" class="modtype" style="width:80px" title="Choose your racial size for determining Reflex.">
							  <option value="-10">Colossal</option>
							  <option value="-5">Gargantuan</option>
							  <option value="-2">Huge</option>
							  <option value="-1">Large</option>
							  <option value="0" selected>Medium</option>
							  <option value="1">Small</option>
							  <option value="2">Tiny</option>
							  <option value="5">Diminutive</option>
							  <option value="10">Fine</option>
						</select>

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

					Fortitude
					<input type="number" name="attr_Fortitude" value="10+@{FortMod}+@{FortLevel}+@{FortClass}+@{FortMisc}+@{CT}" disabled="true" />
					 = 10 +
					<input type="number" name="attr_FortLevel" value="0"  title="Fortitude Level / Armor bonus" />
					<input type="number" name="attr_FortClass" value="0" title="Fortitude Class bonus" />
					 <select name="attr_FortMod" class="modtype " title="Fortitude Ability Modifier (default CON)">
					  <option value="@{str|max}">STR</option>
					  <option value="@{dex|max}">DEX</option>
					  <option value="@{con|max}" selected>CON</option>
					  <option value="@{int|max}">INT</option>
					  <option value="@{wis|max}">WIS</option>
					  <option value="@{cha|max}">CHA</option>
					</select>
					<input type="number" name="attr_FortMisc" value="0" title="Fortitude Miscellaneous Modifier" />

					Will
					<input type="number" name="attr_Will" value="10+@{WillMod}+@{WillLevel}+@{WillClass}+@{WillMisc}+@{CT}" disabled="true" />
					 = 10 +
					<input type="number" name="attr_WillLevel" value="0" title="Will Level / Armor bonus"/>
					<input type="number" name="attr_WillClass" value="0" title="Will Class bonus" />
					 <select name="attr_WillMod" class="modtype" title="Will Ability Modifier (default WIS)">
					  <option value="@{str|max}">STR</option>
					  <option value="@{dex|max}">DEX</option>
					  <option value="@{con|max}">CON</option>
					  <option value="@{int|max}">INT</option>
					  <option value="@{wis|max}" selected>WIS</option>
					  <option value="@{cha|max}">CHA</option>
					</select>
					<input type="number" name="attr_WillMisc" value="0" title="Will Miscellaneous Modifier" />

Armor

	Armor Worn			Ref Def
Bonus			Fort Def
Bonus			Max Dex
Bonus			Speed

					<input type="text" name="attr_ArmorWorn" style="width:100%" title="Armor Name" />
					<input type="number" name="attr_ArmorRef" value="0"  title="Armor Reflex Defence Bonus" />
					<input type="number" name="attr_ArmorFort" value="0" title="Armor Fortitude Defence Bonus"  />
					<input type="number" name="attr_ArmorDex" value="0"  title="Armor Max DEX" />
					<input type="number" name="attr_Speed_max" value="0" title="Armor Max Speed"  />

					<textarea type="text" name="attr_ArmorNotes" class="atkNotes" title="Armor Notes"  placeholder="Armor Notes"></textarea>

Attacks

				<fieldset class="repeating_attack">

								<input type="text" name="attr_WeaponName" placeholder="Weapon Name" style="width:100%"  title="Weapon Name" />
											<input type="text" name="attr_WeaponName_max" placeholder="Type" style="width:100%" title="Weapon Type" />

							Attack
							<input type="number" name="attr_AttackBAB" value="@{BAB}" disabled="true"  title="Base Attack Bonus" />
							 +

								<select name="attr_attackMod" class="modtype" title="Choose your Attack Modifier">
								  <option value="@{str|max}">STR</option>
								  <option value="@{dex|max}">DEX</option>
								  <option value="@{cha|max}">CHA</option>
								</select>

							 +
							<input type="number" name="attr_attackModMisc" placeholder="Misc" value="0" style="width:40px"  title="Attack Miscellaneous Modifier" />

							 <button  type="roll" name="roll_WeaponCheck" value="&{template:attack} {{name=@{WeaponName}}} {{type=@{WeaponName|max}}} {{attack=[[1d20cs>@{WeaponCrit} + @{BAB} + @{attackMod} + @{attackModMisc} +@{CT} + ?{Other Modifiers (Attack)|0}]]}} {{atkeffect= @{WeaponNotes|max}}} {{damage=[[@{damage} + @{damageMod} + @{damageMisc}]]}} {{dmgcrit=[[(@{damage} + @{damageMod} + @{damageMisc})*@{WeaponCrit|max}+?{Other Modifiers (Damage)|0}]]}}" title="Attack Roll"> </button>

							Damage
							<input type="text" name="attr_damage" value="2d8"  style="width:60px" title="Weapon Damage"/>
							 +

								<select name="attr_damageMod" class="modtype" style="width:75px" title="Choose the Weapon Damage modifier. Half level will be included in the calculation.">
								  <option value="@{level|max}" selected>None</option>
								  <option value="@{level|max}+@{str|max}">STR</option>
								  <option value="@{level|max}+@{str|max}*2">STRx2</option>
								  <option value="@{level|max}+@{dex|max}">DEX</option>
								  <option value="@{level|max}+@{dex|max}*2">DEXx2</option>
								  <option value="@{level|max}+@{cha|max}">CHA</option>
								  <option value="@{level|max}+@{cha|max}*2">CHAx2</option>
								</select>

							 +
							<input type="number" name="attr_damageMisc" placeholder="Misc" value="0" style="width:40px" title="Weapon Damage Miscellaneous Modifier"  />

								Critical Info
							 	Range <input type="number" name="attr_WeaponCrit" placeholder="Crit" value="20" title="Weapon Critical Starting Range ie.20" />
							 	Multiplier <input type="number" name="attr_WeaponCrit_max" value="2" title="Weapon Crit Damage Multiplier" />

								<textarea type="text" name="attr_WeaponNotes_max" placeholder="Attack Notes" class="atkNotes" title="Attack Notes: ie Devesating Attack, Rapid Strike, Point Blank Shot" ></textarea>
								<textarea type="text" name="attr_WeaponNotes" placeholder="Weapon Notes" class="atkNotes" title="Weapon Notes"></textarea>

				</fieldset>

Attack Options

				<textarea type="text" name="attr_AttackOptions" rows="2" class="ActionNotes" title="Attack Options"></textarea>

Special Actions

				<textarea type="text" name="attr_SpecialActions" rows="2" class="ActionNotes" title="Special Actions"></textarea>

Skills

							Total

							Mod
							Train
							Focus
							Misc

						Acrobatics
						<button type="roll" name="roll_AcrobaticsCheck" value="&{template:skill} {{name=Acrobatics}} {{skill=[[1d20 + @{Acrobatics} + ?{Other Modifiers|0}]]}}" title="Roll Acrobatics"></button>
						<input type="number" name="attr_Acrobatics" value="@{level|max}+@{AcrobaticsMod}+@{AcrobaticsFeat}+@{AcrobaticsFeat|max}+@{AcrobaticsMisc}+@{CT}" disabled="true" title="Acrobatics Total" class="skills" />	  =
						<select name="attr_AcrobaticsMod" class="modtype" title="Acrobatics Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}" selected>DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_AcrobaticsFeat" title="Trained in Acrobatics?" />
						<input type="checkbox" value="5" name="attr_AcrobaticsFeat_max" title="Focused in Acrobatics?" />
						<input type="number" name="attr_AcrobaticsMisc" title="Acrobatics Miscellaneous Modifier" value="0" class="skills" />

						Climb
						<button type="roll" name="roll_ClimbCheck" value="&{template:skill} {{name=Climb}} {{skill=[[1d20+@{Climb} + ?{Other Modifiers|0}]]}}" title="Roll "></button>
						<input type="number" class="skills" name="attr_Climb" value="@{level|max}+@{ClimbMod}+@{ClimbFeat}+@{ClimbFeat|max}+@{ClimbMisc}+@{CT}" disabled="true" title="Climb Total" />	  =
						<select name="attr_ClimbMod" class="modtype" title="Climb Mod (default STR)">
							  <option value="@{str|max}" selected>STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_ClimbFeat" title="Trained in Climb?" />
						<input type="checkbox" value="5" name="attr_ClimbFeat_max" title="Focused in Climb?" />
						<input type="number" class="skills" name="attr_ClimbMisc" title="Climb Miscellaneous Modifier" value="0" />

						Deception
						<button type="roll" name="roll_DeceptionCheck" value="&{template:skill} {{name=Deception}} {{skill=[[1d20+@{Deception} + ?{Other Modifiers|0}]]}}" title="Roll Deception"></button>
						<input type="number" class="skills" name="attr_Deception" value="@{level|max}+@{DeceptionMod}+@{DeceptionFeat}+@{DeceptionFeat|max}+@{DeceptionMisc}+@{CT}" disabled="true" title="Deception Total" />	  =
						<select name="attr_DeceptionMod" class="modtype" title="Deception Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}" selected>CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_DeceptionFeat" title="Trained in Deception?" />
						<input type="checkbox" value="5" name="attr_DeceptionFeat_max" title="Focused in Deception?" />
						<input type="number" class="skills" name="attr_DeceptionMisc" title="Deception Miscellaneous Modifier" value="0" />

						Endurance
						<button type="roll" name="roll_EnduranceCheck" value="&{template:skill} {{name=Endurance}} {{skill=[[1d20+@{Endurance} + ?{Other Modifiers|0}]]}}" title="Roll Endurance"></button>
						<input type="number" class="skills" name="attr_Endurance" value="@{level|max}+@{EnduranceMod}+@{EnduranceFeat}+@{EnduranceFeat|max}+@{EnduranceMisc}+@{CT}" disabled="true" title="Endurance Total" />	  =
						<select name="attr_EnduranceMod" class="modtype" title="Endurance Mod (default CON)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}" selected>CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_EnduranceFeat" title="Trained in Endurance?" />
						<input type="checkbox" value="5" name="attr_EnduranceFeat_max" title="Focused in Endurance?" />
						<input type="number" class="skills" name="attr_EnduranceMisc" title="Endurance Miscellaneous Modifier" value="0" />

						Gather Information
						<button type="roll" name="roll_GatherInformationCheck" value="&{template:skill} {{name=Gather Information}} {{skill=[[1d20+@{GatherInformation} + ?{Other Modifiers|0}]]}}" title="Roll "></button>
						<input type="number" class="skills" name="attr_GatherInformation" value="@{level|max}+@{GatherInformationMod}+@{GatherInformationFeat}+@{GatherInformationFeat|max}+@{GatherInformationMisc}+@{CT}" disabled="true" title="Gather Information Total" />	  =
						<select name="attr_GatherInformationMod" class="modtype" title="GatherInformation Mod (default CHA)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}" selected>CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_GatherInformationFeat" title="Trained in Gather Information?" />
						<input type="checkbox" value="5" name="attr_GatherInformationFeat_max" title="Focused in Gather Information?" />
						<input type="number" class="skills" name="attr_GatherInformationMisc" title="Gather Information Miscellaneous Modifier" value="0" />

						Initiative
						<button type="roll" name="roll_InitiativeCheck" value="&{template:skill} {{name=Initiative}} {{skill=[[1d20+@{Initiative} + ?{Other Modifiers|0}]]}}"  title="Roll Initiative"></button>
						<input type="number" class="skills" name="attr_Initiative" value="@{level|max}+@{InitiativeMod}+@{InitiativeFeat}+@{InitiativeFeat|max}+@{InitiativeMisc}+@{CT}" disabled="true" title="Initiative Total" />	  =
						<select name="attr_InitiativeMod" class="modtype" title="Initiative Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}" selected>DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_InitiativeFeat" title="Trained in Initiative?" />
						<input type="checkbox" value="5" name="attr_InitiativeFeat_max" title="Focused in Initiative?" />
						<input type="number" class="skills" name="attr_InitiativeMisc" title="Initiative Miscellaneous Modifier" value="0" />

						Jump
						<button type="roll" name="roll_JumpCheck" value="&{template:skill} {{name=Jump}} {{skill=[[1d20+@{Jump} + ?{Other Modifiers|0}]]}}" title="Roll Jump"></button>
						<input type="number" class="skills" name="attr_Jump" value="@{level|max}+@{JumpMod}+@{JumpFeat|max}+@{JumpFeat}+@{JumpMisc}+@{CT}" disabled="true" title="Jump Total" />	  =
						<select name="attr_JumpMod" class="modtype" title="Jump Mod (default STR)">
							  <option value="@{str|max}" selected>STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_JumpFeat" title="Trained in Jump?" />
						<input type="checkbox" value="5" name="attr_JumpFeat_max" title="Focused in Jump?" />
						<input type="number" class="skills" name="attr_JumpMisc" title="Jump Miscellaneous Modifier" value="0" />

						Bureaucracy

Knowledge

						<button type="roll" name="roll_Knowledge-BureaucracyCheck" value="&{template:skill} {{name=Knowledge (Bureaucracy)} {{skill=[[1d20+@{Knowledge-Bureaucracy}+?{Other Modifiers|0}]]}}" title="Roll Knowledge (Bureaucracy)"></button>
						<input type="number" class="skills" name="attr_Knowledge-Bureaucracy" value="@{level|max}+@{Knowledge-BureaucracyMod}+@{Knowledge-BureaucracyFeat}+@{Knowledge-BureaucracyFeat|max}+@{Knowledge-BureaucracyMisc}+@{CT}" disabled="true" title="Knowledge (Bureaucracy) Total" />	  =
						<select name="attr_Knowledge-BureaucracyMod" class="modtype" title="Knowledge (Bureaucracy) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-BureaucracyFeat" title="Trained in Knowledge (Bureaucracy)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-BureaucracyFeat_max" title="Focused in Knowledge (Bureaucracy)?" />
						<input type="number" class="skills" name="attr_Knowledge-BureaucracyMisc" title="Knowledge (Bureaucracy) Miscellaneous Modifier" value="0" />

						Galactic Lore

Knowledge

						<button type="roll" name="roll_Knowledge-GalacticLoreCheck" value="&{template:skill} {{name=Knowledge (Galactic Lore)}} {{skill=[[1d20+@{Knowledge-GalacticLore}+?{Other Modifiers|0}]]}}" title="Roll "></button>
						<input type="number" class="skills" name="attr_Knowledge-GalacticLore" value="@{level|max}+@{Knowledge-GalacticLoreMod}+@{Knowledge-GalacticLoreFeat}+@{Knowledge-GalacticLoreFeat|max}+@{Knowledge-GalacticLoreMisc}+@{CT}" disabled="true" title="Knowledge (Galactic Lore) Total" />	  =
						<select name="attr_Knowledge-GalacticLoreMod" class="modtype" title="Knowledge (Galactic Lore) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-GalacticLoreFeat" title="Trained in Knowledge (Galactic Lore)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-GalacticLoreFeat_max" title="Focused in Knowledge (Galactic Lore)?" />
						<input type="number" class="skills" name="attr_Knowledge-GalacticLoreMisc" title="Knowledge (Galactic Lore) Miscellaneous Modifier" value="0" />

						Life Sciences

Knowledge

						<button type="roll" name="roll_Knowledge-LifeSciencesCheck" value="&{template:skill} {{name=Knowledge (Life Sciences)}} {{skill=[[1d20+@{Knowledge-LifeSciences}+?{Other Modifiers|0}]]}}" title="Roll Knowledge (Life Sciences)"></button>
						<input type="number" class="skills" name="attr_Knowledge-LifeSciences" value="@{level|max}+@{Knowledge-LifeSciencesMod}+@{Knowledge-LifeSciencesFeat}+@{Knowledge-LifeSciencesFeat|max}+@{Knowledge-LifeSciencesMisc}+@{CT}" disabled="true" title="Knowledge (Life Sciences) Total" />	  =
						<select name="attr_Knowledge-LifeSciencesMod" class="modtype" title="Knowledge (Life Sciences) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-LifeSciencesFeat" title="Trained in Knowledge (Life Sciences)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-LifeSciencesFeat_max" title="Focused in Knowledge (Life Sciences)?" />
						<input type="number" class="skills" name="attr_Knowledge-LifeSciencesMisc" title="Knowledge (Life Sciences) Miscellaneous Modifier" value="0" />

						Physical Science

Knowledge

						<button type="roll" name="roll_Knowledge-PhysicalScienceCheck" value="&{template:skill} {{name=Knowledge (Physical Science)}} {{skill=[[1d20+@{Knowledge-PhysicalScience}+?{Other Modifiers|0}]]}}" title="Roll Knowledge (Physical Science)"></button>
						<input type="number" class="skills" name="attr_Knowledge-PhysicalScience" value="@{level|max}+@{Knowledge-PhysicalScienceMod}+@{Knowledge-PhysicalScienceFeat}+@{Knowledge-PhysicalScienceFeat|max}+@{Knowledge-PhysicalScienceMisc}+@{CT}" disabled="true" title="Knowledge (Physical Science) Total" />	  =
						<select name="attr_Knowledge-PhysicalScienceMod" class="modtype" title="Knowledge (Physical Science) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-PhysicalScienceFeat" title="Trained in Knowledge (Physical Science)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-PhysicalScienceFeat_max" title="Focused in Knowledge (Physical Science)?" />
						<input type="number" class="skills" name="attr_Knowledge-PhysicalScienceMisc" title="Knowledge (Physical Science) Miscellaneous Modifier" value="0" />

						Social Science

Knowledge

						<button type="roll" name="roll_Knowledge-SocialScienceCheck" value="&{template:skill} {{name=Knowledge (Social Science)}} {{skill=[[1d20+@{Knowledge-SocialScience}+?{Other Modifiers|0}]]}}" title="Roll "></button>
						<input type="number" class="skills" name="attr_Knowledge-SocialScience" value="@{level|max}+@{Knowledge-SocialScienceMod}+@{Knowledge-SocialScienceFeat}+@{Knowledge-SocialScienceFeat|max}+@{Knowledge-SocialScienceMisc}+@{CT}" disabled="true" title="Knowledge (Social Science) Total" />	  =
						<select name="attr_Knowledge-SocialScienceMod" class="modtype" title="Knowledge (Social Science) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-SocialScienceFeat" title="Trained in Knowledge (Social Science)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-SocialScienceFeat_max" title="Focused in Knowledge (Social Science)?" />
						<input type="number" class="skills" name="attr_Knowledge-SocialScienceMisc" title="Knowledge (Social Science) Miscellaneous Modifier" value="0" />

						Tactics

Knowledge

						<button type="roll" name="roll_Knowledge-TacticsCheck" value="&{template:skill} {{name=Knowledge (Tactics)}} {{skill=[[1d20+@{Knowledge-Tactics}+?{Other Modifiers|0}]]}}" title="Roll Knowledge (Tactics)"></button>
						<input type="number" class="skills" name="attr_Knowledge-Tactics" value="@{level|max}+@{Knowledge-TacticsMod}+@{Knowledge-TacticsFeat}+@{Knowledge-TacticsFeat|max}+@{Knowledge-TacticsMisc}+@{CT}" disabled="true" title="Knowledge (Tactics) Total" />	  =
						<select name="attr_Knowledge-TacticsMod" class="modtype" title="Knowledge (Tactics) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-TacticsFeat" title="Trained in Knowledge (Tactics)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-TacticsFeat_max" title="Focused in Knowledge (Tactics)?" />
						<input type="number" class="skills" name="attr_Knowledge-TacticsMisc" title="Knowledge (Tactics) Miscellaneous Modifier" value="0" />

						Technology

Knowledge

						<button type="roll" name="roll_Knowledge-TechnologyCheck" value="&{template:skill} {{name=Knowledge (Technology)}} {{skill=[[1d20+@{Knowledge-Technology}+?{Other Modifiers|0}]]}}" title="Roll Knowledge (Technology)"></button>
						<input type="number" class="skills" name="attr_Knowledge-Technology" value="@{level|max}+@{Knowledge-TechnologyMod}+@{Knowledge-TechnologyFeat}+@{Knowledge-TechnologyFeat|max}+@{Knowledge-TechnologyMisc}+@{CT}" disabled="true" title="Knowledge (Technology) Total" />	  =
						<select name="attr_Knowledge-TechnologyMod" class="modtype" title="Knowledge (Technology) Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_Knowledge-TechnologyFeat" title="Trained in Knowledge (Technology)?" />
						<input type="checkbox" value="5" name="attr_Knowledge-TechnologyFeat_max" title="Focused in Knowledge (Technology)?" />
						<input type="number" class="skills" name="attr_Knowledge-TechnologyMisc" title="Knowledge (Technology) Miscellaneous Modifier" value="0" />

						Mechanics
						<button type="roll" name="roll_MechanicsCheck" value="&{template:skill} {{name=Mechanics}} {{skill=[[1d20+@{Mechanics}+?{Other Modifiers|0}]]}}" title="Roll Mechanics"></button>
						<input type="number" class="skills" name="attr_Mechanics" value="@{level|max}+@{MechanicsMod}+@{MechanicsFeat|max}+@{MechanicsFeat}+@{MechanicsMisc}+@{CT}" disabled="true" title="Mechanics Total" />	  =
						<select name="attr_MechanicsMod" class="modtype" title="Mechanics Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_MechanicsFeat" title="Trained in Mechanics?" />
						<input type="checkbox" value="5" name="attr_MechanicsFeat_max" title="Focused in Mechanics?" />
						<input type="number" class="skills" name="attr_MechanicsMisc" title="Mechanics Miscellaneous Modifier" value="0" />

						Perception
						<button type="roll" name="roll_PerceptionCheck" value="&{template:skill} {{name=Perception}} {{skill=[[1d20+@{Perception}+?{Other Modifiers|0}]]}} {{notes=@{Perception|max}}}" title="Roll Perception"></button>
						<input type="number" class="skills" name="attr_Perception" value="@{level|max}+@{PerceptionMod}+@{PerceptionFeat|max}+@{PerceptionFeat}+@{PerceptionMisc}+@{CT}" disabled="true" title="Perception Total" />	  =
						<select name="attr_PerceptionMod" class="modtype" title="Perception Mod (default WIS)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}" selected>WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_PerceptionFeat" title="Trained in Perception?" />
						<input type="checkbox" value="5" name="attr_PerceptionFeat_max" title="Focused in Perception?" />
						<input type="number" class="skills" name="attr_PerceptionMisc" title="Perception Miscellaneous Modifier" value="0" />

						Persuasion
						<button type="roll" name="roll_PersuasionCheck" value="&{template:skill} {{name=Persuasion}} {{skill=[[1d20+@{Persuasion}+?{Other Modifiers|0}]]}}" title="Roll Persuasion"></button>
						<input type="number" class="skills" name="attr_Persuasion" value="@{level|max}+@{PersuasionMod}+@{PersuasionFeat|max}+@{PersuasionFeat}+@{PersuasionMisc}+@{CT}" disabled="true" title="Persuasion Total" />	  =
						<select name="attr_PersuasionMod" class="modtype" title="Persuasion Mod (default CHA)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}" selected>CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_PersuasionFeat" title="Trained in Persuasion?" />
						<input type="checkbox" value="5" name="attr_PersuasionFeat_max" title="Focused in Persuasion?" />
						<input type="number" class="skills" name="attr_PersuasionMisc" title="Persuasion Miscellaneous Modifier" value="0" />

						Pilot
						<button type="roll" name="roll_PilotCheck" value="&{template:skill} {{name=Pilot}} {{skill=[[1d20+@{Pilot}+?{Other Modifiers|0}]]}}" title="Roll "></button>
						<input type="number" class="skills" name="attr_Pilot" value="@{level|max}+@{PilotMod}+@{PilotFeat|max}+@{PilotFeat}+@{PilotMisc}+@{CT}" disabled="true" title="Pilot Total" />	  =
						<select name="attr_PilotMod" class="modtype" title="Pilot Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}" selected>DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_PilotFeat" title="Trained in Pilot?" />
						<input type="checkbox" value="5" name="attr_PilotFeat_max" title="Focused in Pilot?" />
						<input type="number" class="skills" name="attr_PilotMisc" title="Pilot Miscellaneous Modifier" value="0" />

						Ride
						<button type="roll" name="roll_RideCheck" value="&{template:skill} {{name=Ride}} {{skill=[[1d20+@{Ride}+?{Other Modifiers|0}]]}}" title="Roll Ride"></button>
						<input type="number" class="skills" name="attr_Ride" value="@{level|max}+@{RideMod}+@{RideFeat}+@{RideFeat|max}+@{RideMisc}+@{CT}" disabled="true" title="Ride Total" />	  =
						<select name="attr_RideMod" class="modtype" title="Ride Mod (default STR)">
							  <option value="@{str|max}" selected>STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_RideFeat" title="Trained in ?" />
						<input type="checkbox" value="5" name="attr_RideFeat_max" title="Focused in Ride?" />
						<input type="number" class="skills" name="attr_RideMisc" title="Ride Miscellaneous Modifier" value="0" />

						Stealth
						<button type="roll" name="roll_StealthCheck" value="&{template:skill} {{name=Stealth}} {{skill=[[1d20+@{Stealth}+?{Other Modifiers|0}]]}}" title="Roll Stealth"></button>
						<input type="number" class="skills" name="attr_Stealth" value="@{level|max}+@{StealthMod}+@{StealthFeat}+@{StealthFeat|max}+@{StealthMisc}+@{CT}" disabled="true" title="Stealth Total" />	  =
						<select name="attr_StealthMod" class="modtype" title="Stealth Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}" selected>DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_StealthFeat" title="Trained in Stealth?" />
						<input type="checkbox" value="5" name="attr_StealthFeat_max" title="Focused in Stealth?" />
						<input type="number" class="skills" name="attr_StealthMisc" title="Stealth Miscellaneous Modifier" value="0" />

						Survival
						<button type="roll" name="roll_SurvivalCheck" value="&{template:skill} {{name=Survival}} {{skill=[[1d20+@{Survival}+?{Other Modifiers|0}]]}}" title="Roll Survival"></button>
						<input type="number" class="skills" name="attr_Survival" value="@{level|max}+@{SurvivalMod}+@{SurvivalFeat}+@{SurvivalFeat|max}+@{SurvivalMisc}+@{CT}" disabled="true" title="Survival Total" />	  =
						<select name="attr_SurvivalMod" class="modtype" title="Survival Mod (default WIS)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}" selected>WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_SurvivalFeat" title="Trained in Survival?" />
						<input type="checkbox" value="5" name="attr_SurvivalFeat_max" title="Focused in Survival?" />
						<input type="number" class="skills" name="attr_SurvivalMisc" title="Survival Miscellaneous Modifier" value="0" />

						Swim
						<button type="roll" name="roll_SwimCheck" value="&{template:skill} {{name=Swim}} {{skill=[[1d20+@{Swim}+?{Other Modifiers|0}]]}}" title="Roll Swim"></button>
						<input type="number" class="skills" name="attr_Swim" value="@{level|max}+@{SwimMod}+@{SwimFeat}+@{SwimFeat|max}+@{SwimMisc}+@{CT}" disabled="true" title="Swim Total" />	  =
						<select name="attr_SwimMod" class="modtype" title="Swim Mod (default STR)">
							  <option value="@{str|max}" selected>STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_SwimFeat" title="Trained in Swim?" />
						<input type="checkbox" value="5" name="attr_SwimFeat_max" title="Focused in Swim?" />
						<input type="number" class="skills" name="attr_SwimMisc" title="Swim Miscellaneous Modifier" value="0" />

						Treat Injury
						<button type="roll" name="roll_TreatInjuryCheck" value="&{template:skill} {{name=Treat Injury}} {{skill=[[1d20+@{TreatInjury}+?{Other Modifiers|0}]]}}" title="Roll Treat Injury"></button>
						<input type="number" class="skills" name="attr_TreatInjury" value="@{level|max}+@{TreatInjuryMod}+@{TreatInjuryFeat}+@{TreatInjuryFeat|max}+@{TreatInjuryMisc}+@{CT}" disabled="true" title="Treat Injury Total" />	  =
						<select name="attr_TreatInjuryMod" class="modtype" title="Treat Injury Mod (default WIS)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}" selected>WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_TreatInjuryFeat" title="Trained in Treat Injury?" />
						<input type="checkbox" value="5" name="attr_TreatInjuryFeat_max" title="Focused in Treat Injury?" />
						<input type="number" class="skills" name="attr_TreatInjuryMisc" title="Treat Injury Miscellaneous Modifier" value="0" />

						Use Computer
						<button type="roll" name="roll_UseComputerCheck" value="&{template:skill} {{name=Use Computer}} {{skill=[[1d20+@{UseComputer}+?{Other Modifiers|0}]]}}" title="Roll Use Computer"></button>
						<input type="number" class="skills" name="attr_UseComputer" value="@{level|max}+@{UseComputerMod}+@{UseComputerFeat}+@{UseComputerFeat|max}+@{UseComputerMisc}+@{CT}" disabled="true" title="Use Computer Total" />	  =
						<select name="attr_UseComputerMod" class="modtype" title="Use Computer Mod (default INT)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}" selected>INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_UseComputerFeat" title="Trained in Use Computer?" />
						<input type="checkbox" value="5" name="attr_UseComputerFeat_max" title="Focused in Use Computer?" />
						<input type="number" class="skills" name="attr_UseComputerMisc" title="Use Computer Miscellaneous Modifier" value="0" />

						Use the Force
						<button type="roll" name="roll_UsetheForceCheck" value="&{template:skill} {{name=Use the Force}} {{skill=[[1d20+@{UsetheForce}+?{Other Modifiers|0}]]}}" title="Roll Use the Force"></button>
						<input type="number" class="skills" name="attr_UsetheForce" value="@{level|max}+@{UsetheForceMod}+@{UsetheForceFeat}+@{UsetheForceFeat|max}+@{UsetheForceMisc}+@{CT}" disabled="true" title="Use the Force Total" />	  =
						<select name="attr_UsetheForceMod" class="modtype" title="Use the Force  Mod (default CHA)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}" selected>CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_UsetheForceFeat" title="Trained in Use the Force?" />
						<input type="checkbox" value="5" name="attr_UsetheForceFeat_max" title="Focused in Use the Force?" />
						<input type="number" class="skills" name="attr_UsetheForceMisc" title="Use the Force Miscellaneous Modifier" value="0" />

Equipment

					Item
					Location
					Wt

				<fieldset class="repeating_equipment">

							<input type="text" name="attr_EquipmentItem" placeholder="Item Name" title="Item Name" />
							<input type="text" name="attr_EquipmentLocation" placeholder="Location" style="width:125px" title="Item's stored location" />
							<input type="number" name="attr_EquipmentWt" value="0" title="Item's Weight" />

				</fieldset>

	Total Equipment Wt
						<input type="text" name="attr_EquipmentWt" value="0" style="width:100%" title="Total Equipment Weight" />

	Carrying Capacity
						<input type="number" name="attr_CarryingCapacity" value="(@{Str}/2)*(@{Str}/2)*@{CarryingCapacitySize}" disabled="true" style="width:100%" title="Carrying Capacity" />

							<select name="attr_CarryingCapacitySize" class="modtype" style="width:80px" title="Choose your racial size for determining carrying capacity.">
								  <option value="20">Colossal</option>
								  <option value="10">Gargantuan</option>
								  <option value="5">Huge</option>
								  <option value="2">Large</option>
								  <option value="1" selected>Medium</option>
								  <option value="0.75">Small</option>
								  <option value="0.5">Tiny</option>
								  <option value="0.25">Diminutive</option>
								  <option value="0.01">Fine</option>
							</select>

Experience

Languages

					<input type="text" name="attr_XP" value="0" style="width:70px" title="Current Experience" />
					 /
					<input type="text" name="attr_XP_max" value="0" style="width:70px" title="Experience needed for next level" />
					<textarea type="text" name="attr_Language" style="height:80px" title="Language List"></textarea>

Credits

					<input type="text" name="attr_credits" value="0" style="width:100%" title="Credits" />

Feats

			<textarea type="text" name="attr_Feats" title="Feats List" ></textarea>

Talents

			<textarea type="text" name="attr_Talents" title="Talents List"></textarea>

Force Powers

			<textarea type="text" name="attr_ForcePowers" title="Force Power Suite"></textarea>

Special Qualities

			<textarea type="text" name="attr_SpecialQualities" title="Special Qualities" ></textarea>

Notes

			<textarea type="text" name="attr_Notes" title="Notes"></textarea>

			 Class:<input type="text" name="attr_rank" class="header" style="width:75%" />

			 Heroic Level:<input type="number" name="attr_level" class="header" value="1" Title="Heroic Levels" />   Non-Heroic Level:<input type="number" name="attr_nonlevel" class="header" value="0" Title="Non-Heroic Levels" />     <input type="number" name="attr_level_max" value="[[(floor((@{level}+@{nonlevel})/2))]]"  disabled="true" class="header" title="Half total Levels" />

			Species:<input type="text" name="attr_species" class="header" />

            NPC Record Sheet

Attributes

					STR

Strength

					<input type="number" name="attr_STR" value="8" title="Strength Score" />
					<input type="number" name="attr_Str_max" value="[[floor(@{STR}/2-5)]]" disabled="true" title="Strength Modifier" />
					<button type="roll" name="roll_NPC-STRCheck" value="&{template:skill} {{name=Strength}}} {{skill=[[ 1d20+@{Str|max}+@{npc-CT}]]}}" title="Roll Strength"></button>

					DEX

Dexterity

					<input type="number" name="attr_DEX" value="8" title="Dexterity Score" />
					<input type="number" name="attr_DEX_max" value="[[floor(@{DEX}/2-5)]]" disabled="true" title="Dexterity Modifier" />
					<button type="roll" name="roll_NPC-DEXCheck" value="&{template:skill} {{name=Dexterity}}} {{skill=[[ 1d20+@{dex|max}+@{npc-CT}]]}}" title="Roll Dexterity"></button>

					CON

Constitution

					<input type="number" name="attr_CON" value="8" title="Constitution Score" />
					<input type="number" name="attr_CON_max" value="[[floor(@{CON}/2-5)]]" disabled="true" title="Constitution Modifier" />
					<button type="roll" name="roll_NPC-CONCheck" value="&{template:skill} {{name=Constitution}}} {{skill=[[ 1d20+@{Con|max}+@{npc-CT}]]}}" title="Roll Constitution"></button>

					INT

Intelligence

					<input type="number" name="attr_INT" value="8" title="Intelligence Score" />
					<input type="number" name="attr_INT_max" value="[[floor(@{INT}/2-5)]]" disabled="true" title="Intelligence Modifier" />
					<button type="roll" name="roll_NPC-INTCheck" value="&{template:skill} {{name=Intelligence}}} {{skill=[[ 1d20+@{int|max}+@{npc-CT}]]}}"></button>

					WIS

Wisdom

					<input type="number" name="attr_WIS" value="8" title="Wisdom Score" />
					<input type="number" name="attr_WIS_max" value="[[floor(@{WIS}/2-5)]]" disabled="true" title="Wisdom Modifier" />
					<button type="roll" name="roll_NPC-WISCheck" value="&{template:skill} {{name=Wisdom}}} {{skill=[[ 1d20+@{Wis|max}+@{npc-CT}]]}}" title="Roll Wisdom"></button>

					CHA

Charisma

					<input type="number" name="attr_CHA" value="8" title="Charisma Score" />
					<input type="number" name="attr_CHA_max" value="[[floor(@{CHA}/2-5)]]" disabled="true" title="Charisma Modifier" />
					<button type="roll" name="roll_NPC-CHACheck" value="&{template:skill} {{name=Charisma}}} {{skill=[[ 1d20+@{Cha|max}+@{npc-CT}]]}}" title="Roll Charisma"></button>

Hit Points

Condition

Current					Total

						<input type="radio" value="0" name="attr_NPC-CT" checked="true" /> Normal

						<input type="radio" value="-1" name="attr_NPC-CT" /> -1

						<input type="radio" value="-2" name="attr_NPC-CT" /> -2

						<input type="radio" value="-5" name="attr_NPC-CT" /> -5

						<input type="radio" value="-10" name="attr_NPC-CT" /> -10

						<input type="radio" value="-10" name="attr_NPC-CT" /> Helpless

					 <input type="number" name="attr_HP" value="0" title="Current HP"/>
					 /
					<input type="number" name="attr_HP_max" value="0" title="Max HP" />

Threshold

Total				Defense	 Misc

					<input type="number" name="attr_NPC-DT" value="@{NPC-DamageThresholdDefense}+@{DamageThresholdMisc}+@{NPC-CTIgnoreDT}"  disabled="true" title="Damage Threshold" />
					 =
					<select name="attr_NPC-DamageThresholdDefense" class="modtype" title="Damage Threshold Defense">
					  <option value="@{NPC-Fortitude}" selected>Fort</option>
					  <option value="@{NPC-Will}">Will</option>
					</select>
					<input type="number" name="attr_DamageThresholdMisc" value="0"  title="Damage Threshold Miscellaneous Modifier" />

Ignore CT? <input type="checkbox" value="-@{npc-ct}" name="attr_NPC-CTIgnoreDT"  title="Does Damage Threshold ignore decrease from the Condition Track?" />

					Damage Reduction<input type="number" name="attr_DR" value="0" title="Damage Reduction" />

					Shield Rating<input type="number" name="attr_SR" value="0" title="Current Shield Rating" /> / <input type="number" name="attr_SR_max" value="0" title="Max Shield Rating" />

Force Points

Destiny Pts

					<input type="number" name="attr_FP" value="5" title="Current Force Points" />
						<button type="roll" name="roll_ForcePoint" value="&{template:skill} {{name=Force Point}} {{skill=[[@{fp|max}k1]]}} " title="Roll Force Point" ></button>
						<input type="text" name="attr_FP_max" value="1d6" title="Force Point Dice" style="width:40px"/>
					<input type="number" name="attr_DP" value="0" title="Destiny Points" />

BAB

Speed

Dark Side Pts

					<input type="number" name="attr_BAB" value="0" title="Base Attack Bonus" />
					<input type="number" name="attr_Speed" value="0" title="Speed in Squares" />
					<input type="number" name="attr_DSP" value="0" title="Dark Side Points" />

			<button type="roll" name="roll_NPC-PerceptionShort" value="&{template:skill} {{name=Perception}} {{skill=[[1d20+@{Perception}+?{Other Modifiers|0}]]}}" title="Roll Perception" ></button>
				Perception

			<button type="roll" name="roll_NPC-InitiativeShort" value="&{template:skill} {{name=Initiative}} {{skill=[[1d20+@{Initiative}+?{Other Modifiers|0}]]}}" title="Roll Initiative" ></button>
				Initiative

			<button type="roll" name="roll_NPC-InitiativeTurn" value="&{template:skill} {{name=Rolling for Turn Order}} {{skill=[[1d20+@{Initiative}+?{Other Modifiers|0} &{tracker}]]}}" title="Roll Initiative to Turn Order window" ></button>
				Initiative (Turn Order)

Grapple

					Mod

					Misc

					<button type="roll" name="roll_NPC-GrappleCheck" value="Grapple [[1d20 + @{NPC-Grapple} + ?{Other Modifiers|0}]]}}" title="Roll Grapple"></button>
					<input type="number" name="attr_NPC-Grapple" value="@{BAB} + @{GrpMod} + @{GrpMod|max} +@{npc-ct}" disabled="true" title="Grapple" />
					 =
					 <select name="attr_GrpMod" class="modtype" title="Choose the highest modifier">
					  <option value="@{str|max}">STR</option>
					  <option value="@{dex|max}">DEX</option>
					</select>
					 +
					<input type="number" name="attr_GrpMod_max" value="0" title="Miscellaneous Grapple Modifier" />

Defenses

					Total
 after CT
					Total

					Reflex

					<input type="number" name="attr_NPC-Reflex" value="@{RefTotal}+@{npc-ct}" disabled="true"  title="Reflex" />
					<input type="text" name="attr_RefTotal" value="10+@{level}+@{Dex|max}"  title="Reflex Total (You can use formulas, for example: 10+@{level|max}+@{Dex|max} or enter the total Defence Score)"/>

Flatfooted

					<input type="number" name="attr_NPC-ReflexFlatFooted" value="@{RefTotal|max}+@{npc-ct}" disabled="true"  title="Reflex Flat Footed" />
					<input type="text" name="attr_RefTotal_max" value="10+@{level}"  title="FlatFooted Reflex Total (You can use formulas, for example: 10+@{level} or enter the total Defence Score)"/>

					Fortitude

					<input type="number" name="attr_NPC-Fortitude" value="@{FortTotal}+@{npc-ct}" disabled="true" />
					<input type="text" name="attr_FortTotal" value="10+@{level}+@{CON|max}"  title="Fortitude Total (You can use formulas, for example: 10+@{level} or enter the total Defence Score)"/>

					Will

					<input type="number" name="attr_NPC-Will" value="@{WillTotal}+@{npc-ct}" disabled="true" />
					<input type="text" name="attr_WillTotal" value="10+@{level}+@{Wis|max}"  title="Will Total (You can use formulas, for example: 10+@{level} or enter the total Defence Score)"/>

Attacks

				<fieldset class="repeating_NPC-attack">

								<input type="text" name="attr_WeaponName" placeholder="Weapon Name" style="width:100%"  title="Weapon Name" />
											<input type="text" name="attr_WeaponName_max" placeholder="Type" style="width:100%" title="Weapon Type" />

							Attack
							<input type="text" name="attr_Attack" value="@{BAB}+@{STR|max}"  title="Attack Total (You can use formulas, for example: @{BAB}+@{STR|max} or enter the total attack modifier)" style="width:100%" />
							<input type="number" name="attr_AttackTotal" value="@{Attack}+@{npc-ct}"  disabled="true" title="Attack Total Preview" />

							 <button type="roll" name="roll_WeaponCheck" value="&{template:attack} {{name=@{WeaponName}}} {{type=@{WeaponName|max}}} {{attack=[[1d20cs>@{WeaponCrit} + @{Attack} +@{npc-CT} + ?{Other Modifiers (Attack)|0}]]}} {{atkeffect= @{WeaponNotes|max}}} {{damage=[[@{damage}+?{Other Modifiers (Damage)|0}]]}} {{dmgcrit=[[(@{damage})*@{WeaponCrit|max}+?{Other Modifiers (Damage)|0}]]}}" title="Attack and Damage Roll (will include CT where applicable)"> </button>

							Damage
							<input type="text" name="attr_damage" value="2d8+(@{STR|max}*2)+@{level|max}"  style="width:100%" title="Weapon Damage (You can use formulas, for example: 2d8+(@{STR|max}*2)+@{level|max} or enter the entire Damage roll for example 2d8+6)"/>

								Critical Info

							Range <input type="number" name="attr_WeaponCrit" placeholder="Crit" value="20" title="Weapon Critical Starting Range ie.20" />
							Multiplier <input type="number" name="attr_WeaponCrit_max" value="2" title="Weapon Crit Damage Multiplier" />

								<textarea type="text" name="attr_WeaponNotes_max" placeholder="Attack Notes" class="atkNotes" title="Attack Notes: ie Devesating Attack, Rapid Strike, Point Blank Shot" ></textarea>
								<textarea type="text" name="attr_WeaponNotes" placeholder="Weapon Notes" class="atkNotes" title="Weapon Notes"></textarea>

				</fieldset>

Attack Options

				<textarea type="text" name="attr_AttackOptions" rows="2" class="ActionNotes" title="Attack Options"></textarea>

Special Actions

				<textarea type="text" name="attr_SpecialActions" rows="2" class="ActionNotes" title="Special Actions"></textarea>

Skills

					Train
					Focus
					Misc

					Perception
					<button type="roll" name="roll_NPC-PerceptionCheck" value="&{template:skill} {{name=Perception}} {{skill=[[1d20+@{Perception}+?{Other Modifiers|0}]]}}"  title="Roll Perception"></button>
						<input type="number" name="attr_Perception" value="@{level|max}+@{PerceptionMod}+@{PerceptionFeat|max}+@{PerceptionFeat}+@{PerceptionMisc}+@{npc-ct}"  disabled="true" title="Perception Total" />
					<select name="attr_PerceptionMod" class="modtype" title="Perception Mod (default WIS)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}">DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}" selected>WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_PerceptionFeat" title="Trained in Perception?" />
						<input type="checkbox" value="5" name="attr_PerceptionFeat_max" title="Focused in Perception?" />
						<input type="number" name="attr_PerceptionMisc" title="Perception Miscellaneous Modifier" value="0" />

					Initiative
					<button type="roll" name="roll_NPC-InitiativeCheck" value="&{template:skill} {{name=Initiative}} {{skill=[[1d20+@{Initiative}+?{Other Modifiers|0}]]}}"  title="Roll Initiative"></button>
					<input type="number" name="attr_Initiative" value="@{level|max}+@{InitiativeMod}+@{InitiativeFeat|max}+@{InitiativeFeat}+@{InitiativeMisc}+@{npc-ct}"  disabled="true" title="Initiative Total" />	<select name="attr_InitiativeMod" class="modtype" title="Initiative Mod (default DEX)">
							  <option value="@{str|max}">STR</option>
							  <option value="@{dex|max}" selected>DEX</option>
							  <option value="@{con|max}">CON</option>
							  <option value="@{int|max}">INT</option>
							  <option value="@{wis|max}">WIS</option>
							  <option value="@{cha|max}">CHA</option>
							</select>
						<input type="checkbox" value="5" name="attr_InitiativeFeat" title="Trained in Initiative?" />
						<input type="checkbox" value="5" name="attr_InitiativeFeat_max" title="Focused in Initiative?" />
						<input type="number" name="attr_InitiativeMisc" title="Initiative Miscellaneous Modifier" value="0" />

			<fieldset class="repeating_npc-skill">

						<input type="text" name="attr_Skill" placeholder="Skill Name" title="Skill Name" />
						<button type="roll" name="roll_SkillCheck" value="@&{template:skill} {{name=@{Skill}}} {{skill=[[1d20+@{SkillTotal}+?{Other Modifiers|0}]]}}" title="Roll Skill"></button>
						<input type="number" name="attr_SkillTotal" value="@{skill|max}+@{npc-ct}"  disabled="true" title="Skill Total Preview" />

						<input type="text" style="width:90%" name="attr_skill_max" value="@{str|max}+@{level|max}" title="Skill Total (Can Include formula, for example: (@{str|max}+@{level|max}+5+5) or enter the total) " />

						<input type="text" name="attr_SkillNotes" placeholder="Skill Notes" title="Skill Notes" style="width:90%" />

			</fieldset>

Special Qualities

			<textarea type="text" name="attr_SpecialQualities" title="Special Qualities" ></textarea>

Equipment

			<textarea type="text" name="attr_Equipment" style="height:80px" title="Equipment List"></textarea>

Credits

Languages

					<input type="text" name="attr_credits" value="0" style="width:100%" title="Credits" />

					<textarea type="text" name="attr_Language" style="height:80px" title="Language List"></textarea>

Feats

			<textarea type="text" name="attr_Feats" title="Feats List" ></textarea>

Talents

			<textarea type="text" name="attr_Talents" title="Talents List"></textarea>

Force Powers

			<textarea type="text" name="attr_ForcePowers" title="Force Power Suite"></textarea>

Notes

	<textarea style="width:100%" type="text" name="attr_Notes" title="Notes"></textarea>

		Class:<input type="text" name="attr_vehicle-class" class="header" />

		 Size:<select name="attr_vehicle-SizeMod" class="modtype" style="width:160px" title="Choose the vehicle's size for the mofidier applied to Reflex and Pilot's Initiative and Pilot checks.">
							  <option value="-10">Colossal (station)</option>
							  <option value="-10">Colossal (cruiser)</option>
							  <option value="-10">Colossal (frigate)</option>
							  <option value="-10">Colossal</option>
							  <option value="-5" selected>Gargantuan</option>
							  <option value="-2">Huge</option>
							  <option value="-1">Large</option>
						</select>

		Crew:<input type="number" name="attr_vehicle-crew" class="header" />

    	 Type:<input type="text" name="attr_vehicle-type" class="header" />

		Cover:<input type="text" name="attr_vehicle-cover" class="header" />

		Passengers:<input type="number" name="attr_vehicle-passengers" class="header" />

            Vehicle Record Sheet

Attributes

				STR

Strength

				<input type="number" name="attr_vehicle-STR" value="8" title="Strength Score" />
				<input type="number" name="attr_vehicle-Str_max" value="[[floor(@{vehicle-STR}/2-5)]]" disabled="true" title="Strength Modifier" />
				<button type="roll" name="roll_vehicle-STRCheck" value="&{template:skill} {{name=Strength}}} {{skill=[[ 1d20+@{vehicle-Str|max}+@{vehicle-CT}]]}}" title="Roll Strength"></button>

				DEX

Dexterity

				<input type="number" name="attr_vehicle-DEX" value="8" title="Dexterity Score" />
				<input type="number" name="attr_vehicle-DEX_max" value="[[floor(@{vehicle-DEX}/2-5)]]" disabled="true" title="Dexterity Modifier" />
				<button type="roll" name="roll_vehicle-DEXCheck" value="&{template:skill} {{name=Strength}}} {{skill=[[ 1d20+@{vehicle-dex|max}+@{vehicle-CT}]]}}" title="Roll Dexterity"></button>

				INT

Intelligence

				<input type="number" name="attr_vehicle-INT" value="8" title="Intelligence Score" />
				<input type="number" name="attr_vehicle-INT_max" value="[[floor(@{vehicle-INT}/2-5)]]" disabled="true" title="Intelligence Modifier" />
				<button type="roll" name="roll_vehicle-INTCheck" value="&{template:skill} {{name=Strength}}} {{skill=[[ 1d20+@{vehicle-int|max}+@{vehicle-CT}]]}}" title="Roll Intelligence"></button>

Hit Points

Condition

Current					Total

					<input type="radio" value="0" name="attr_vehicle-CT" checked="true" /> Normal

					<input type="radio" value="-1" name="attr_vehicle-CT" /> -1

					<input type="radio" value="-2" name="attr_vehicle-CT" /> -2

					<input type="radio" value="-5" name="attr_vehicle-CT" /> -5

					<input type="radio" value="-10" name="attr_vehicle-CT" /> -10

					<input type="radio" value="-10" name="attr_vehicle-CT" /> Helpless

				 <input type="number" name="attr_vehicle-HP" value="0" title="Current HP" />
				 /
				<input type="number" name="attr_vehicle-HP_max" value="0" title="Max HP" />

Speed

Character
Scale
<input type="number" name="attr_vehicle-Speed" value="0" title="Speed in Squares (Character Scale)" />

Starship
Scale
<input type="number" name="attr_vehicle-Speed_max" value="0" title="Speed in Squares (Starship Scale)" />

Velocity
<input type="text" style="width:60px" name="attr_vehicle-Velocity" value="0" title="Velocity (km/h)" />

				Damage Reduction<input type="number" name="attr_vehicle-DR" value="0" title="Damage Reduction" />

				Shield Rating<input type="number" name="attr_vehicle-SR" value="0" title="Current Shield Rating" /> / <input type="number" name="attr_vehicle-SR_max" value="0" title="Max Shield Rating" />

Threshold

Total				Fort		Size	 Misc

				<input type="number" name="attr_vehicle-DT" value="@{vehicle-Fortitude}+@{vehicle-DTSizeMod}+@{vehicle-DamageThresholdMisc}"  disabled="true" title="Damage Threshold" />
				 =
				<input type="number" name="attr_vehicle-DTFort" value="@{vehicle-Fortitude}"  disabled="true" title="Damage Threshold Fortitude Defence" />
				<select name="attr_vehicle-DTSizeMod" class="modtype" style="width:100px" title="Damage Threshold Size Modifier">
							  <option value="500">Colossal (station)</option>
							  <option value="200">Colossal (cruiser)</option>
							  <option value="100">Colossal (frigate)</option>
							  <option value="50">Colossal</option>
							  <option value="20" selected>Gargantuan</option>
							  <option value="10">Huge</option>
							  <option value="5">Large</option>
						</select>
				<input type="number" name="attr_vehicle-DamageThresholdMisc" value="0"  title="Damage Threshold Miscellaneous Modifier" />

Grapple

				Mod
				Size Mod
				BAB
				Misc

				 <select name="attr_vehicle-GrpMod" class="modtype" title="Choose the highest modifier">
				  <option value="@{vehicle-str|max}">STR</option>
				  <option value="@{vehicle-dex|max}">DEX</option>
				</select>
					<select name="attr_vehicle-GrpSize" style="width:100px" title="Choose the vehicle's size for the modifier applied to Grapple.">
					  <option value="20">Colossal</option>
					  <option value="15" selected>Gargantuan</option>
					  <option value="10">Huge</option>
					  <option value="5">Large</option>
				</select>
				<input type="number" name="attr_vehicle-BAB" value="0" title="Pilot's Base Attack Bonus" />
				<input type="number" name="attr_vehicle-GrpMod_max" value="0" title="Miscellaneous Grapple Modifier" />

				<button type="roll" name="roll_vehicle-GrappleCheck" value="&{template:skill} {{name=Grapple}} {{skill=[[1d20+@{vehicle-Grapple}+?{Other Modifiers|0}]]}}" title="Roll Grapple"></button>
				<input type="number" name="attr_vehicle-Grapple" value="@{vehicle-BAB} + @{vehicle-GrpMod} +@{vehicle-GrpSize} + @{vehicle-GrpMod|max} + @{vehicle-CT}" disabled="true" title="Grapple Total" />

Defenses

					Total

					Mod

					Size

					Level / Armor

					Misc

				Reflex
				<input type="number" name="attr_vehicle-Reflex" value="10+@{vehicle-dex|max}+@{vehicle-sizemod}+@{vehicle-RefLevel}+@{vehicle-RefMisc}+@{vehicle-CT}" disabled="true"  title="Reflex" />
				 = 10 +
				<input type="number" name="attr_vehicle-RefMod" value="@{vehicle-dex|max}" disabled="true" title="Vehicle's DEX Modifier" />
					 +
				<input type="number" name="attr_vehicle-RefSize" value="@{vehicle-sizemod}" disabled="true" title="Vehicle's Size Modifier" />
					 +
				<input type="number" name="attr_vehicle-RefLevel" value="0"  title="Reflex Level / Armor bonus"/>
					 +
				<input type="number" name="attr_vehicle-RefMisc" value="0" title="Reflex Miscellaneous Modifier" />

Flatfooted

				<input type="number" name="attr_vehicle-ReflexFlatFooted" value="10+@{vehicle-sizemod}+@{vehicle-RefLevel}+@{vehicle-RefFlatFootedMisc}+@{vehicle-CT}" disabled="true"  title="Reflex Flat Footed" />

					 +

				<input type="number" name="attr_vehicle-RefFlatFootedMisc" value="0" />

				Fortitude
				<input type="number" name="attr_vehicle-Fortitude" value="10+@{vehicle-FortMod}+@{vehicle-FortMisc}+@{vehicle-CT}" disabled="true" />
				 = 10 +
				<input type="number" name="attr_vehicle-FortMod" value="@{vehicle-str|max}" disabled="true" title="Vehicle's STR Modifier" />
					 +

				<input type="number" name="attr_vehicle-FortMisc" value="0" title="Fortitude Miscellaneous Modifier" />

Attacks

			<fieldset class="repeating_attack">

							<input type="text" name="attr_vehicle-WeaponName" placeholder="Weapon Name" style="width:100%"  title="Weapon Name" />
							<select name="attr_vehicle-WeaponName_max" style="width:100px" title="Crew Member's Station">
								<option value="Pilot" >Pilot</option>
								<option value="Co-Pilot">Co-Pilot</option>
								<option value="Gunner" selected>Gunner</option>
							</select>
						<input type="checkbox" value="2" name="attr_vehicle-AttackBAB_max" title="Pilot Operated Weapon?" />Pilot Operated?

						Attack
						<input type="number" name="attr_vehicle-AttackBAB" value="0"  title="Base Attack Bonus" />
							 +
						<input type="number" name="attr_vehicle-AttackMod" value="@{vehicle-int|max}" disabled="true" title="Vehicle's INT Modifier" />
							 +
						<input type="number" name="attr_vehicle-attackModMisc" placeholder="Misc" value="0" title="Attack Miscellaneous Modifier" />

						 <button type="roll" name="roll_vehicle-WeaponCheck" value="&{template:attack} {{name=@{vehicle-WeaponName}}} {{type=@{vehicle-WeaponName|max}}} {{atkeffect= @{vehicle-WeaponNotes|max}} {{attack=[[1d20cs>@{WeaponCrit} + @{vehicle-AttackBAB} + @{vehicle-AttackBAB|max} + @{vehicle-int|max} + @{vehicle-attackModMisc} + @{vehicle-CT} + ?{Other Modifiers (Attack)|0}]]}} {{damage=[[(@{vehicle-damage} + @{vehicle-damageMisc})*@{vehicle-damage|max}]]}} {{dmgcrit=[[((@{vehicle-damage} + @{vehicle-damageMisc})*@{vehicle-damage|max})*@{WeaponCrit|max}]]}}" title="Attack Roll"> </button>

						Damage
						<input type="text" name="attr_vehicle-damage" placeholder="4d10"  style="width:60px" title="Weapon Damage"/>
						 x
						<input type="number" name="attr_vehicle-damage_max" value="1" title="Weapon Damage Multiplier"/>
						 +
						<input type="number" name="attr_vehicle-damageMisc" placeholder="Misc" value="0" title="Weapon Damage Miscellaneous Modifier"  />

							Critical Info
						 	Range <input type="number" name="attr_WeaponCrit" placeholder="Crit" value="20" title="Weapon Critical Starting Range ie.20" />
						 	Multiplier <input type="number" name="attr_WeaponCrit_max" value="2" title="Weapon Crit Damage Multiplier" />

							<textarea type="text" name="attr_vehicle-WeaponNotes_max" placeholder="Attack Notes" class="atkNotes" title="Attack Notes: ie Devesating Attack, Rapid Strike, Point Blank Shot" ></textarea>
							<textarea type="text" name="attr_vehicle-WeaponNotes" placeholder="Weapon Notes" class="atkNotes" title="Weapon Notes"></textarea>

			</fieldset>

Attack Options

			<textarea type="text" name="attr_vehicle-AttackOptions" rows="2" class="ActionNotes" title="Attack Options"></textarea>

Crew Assignment and Skills

		<fieldset class="repeating_CrewAssn">
			<input type="text" name="attr_vehicle-CrewName" title="Character Name" placeholder="Character Name" />
			<select name="attr_vehicle-CrewStation" style="width:100px" title="Crew Member's Station">
				<option value="Pilot" selected>Pilot</option>
				<option value="CoPilot">Co-Pilot</option>
				<option value="Gunner">Gunner</option>
				<option value="Commander">Commander</option>
				<option value="Sys Ops">System Operator</option>
				<option value="Engineer">Engineer</option>
				<option value="Other">Other Crew</option>
				<option value="Passenger">Passenger</option>
			</select>

					Total

					Skill
Check

					Misc

					Deception
					<button type="roll" name="roll_vehicle-DeceptionCheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Deception}}} {{skill=[[ 1d20+@{vehicle-Deception}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Deception"></button>
					<input type="number" name="attr_vehicle-Deception" value="@{vehicle-SizeMod}+@{vehicle-dex|max}+@{vehicle-pilotmod|max}-5+@{vehicle-deceptionmod}+@{vehicle-deceptionmisc}" disabled="true" title="Deception Total (includes Vehicle Size Mod and Dex Mod)" />
					 =
					<input type="number" name="attr_vehicle-deceptionmod" value="@{vehicle-pilotmod}" disabled="true" title="Crew Member's Pilot Check" />	 +
					<input type="number" name="attr_vehicle-deceptionmisc" title="Deception Miscellaneous Modifier" value="0" />

					Initiative
					<button type="roll" name="roll_vehicle-InitiativeCheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Initiative}}} {{skill=[[ 1d20+@{vehicle-Initiative}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Initiative"></button>
					<input type="number" name="attr_vehicle-Initiative" value="@{vehicle-SizeMod}+@{vehicle-dex|max}+@{vehicle-initiativemod}+@{vehicle-initiativemisc}" disabled="true" title="Initiative Total (includes Vehicle Size Mod and Dex Mod)" />
					 =
					<input type="number" name="attr_vehicle-initiativemod" value="@{vehicle-pilotmod}" disabled="true" title="Crew Member's Pilot Check" />		 +
					<input type="number" name="attr_vehicle-initiativemisc" title="Initiative Miscellaneous Modifier" value="0" />

					Mechanics
					<button type="roll" name="roll_vehicle-MechanicsCheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Mechanics}}} {{skill=[[ 1d20+@{vehicle-Mechanics}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Mechanics"></button>
					<input type="number" name="attr_vehicle-Mechanics" value="@{vehicle-mechanicsmod}+@{vehicle-mechanicsmisc}" disabled="true" title="Mechanics Total" />
					 =
					<input type="number" name="attr_vehicle-mechanicsmod" value="0" title="Crew Member's Mechanics Check" />
					 +
					<input type="number" name="attr_vehicle-mechanicsmisc" title="Mechanics Miscellaneous Modifier" value="0" />

					Pilot
					<button type="roll" name="roll_vehicle-PilotCheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Pilot}}} {{skill=[[ 1d20+@{vehicle-Pilot}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Pilot"></button>
					<input type="number" name="attr_vehicle-pilot" value="@{vehicle-SizeMod}+@{vehicle-dex|max}+@{vehicle-pilotmod}+@{vehicle-pilotmisc}" disabled="true" title="Pilot Total (includes Vehicle Size Mod and Dex Mod)" />
					 =
					<input type="number" name="attr_vehicle-pilotmod" value="0" title="Crew Member's Pilot Check" />
						 +
					<input type="number" name="attr_vehicle-pilotmisc" title="Pilot Miscellaneous Modifier" value="0" />

					Stealth
					<button type="roll" name="roll_vehicle-StealthCheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Stealth}}} {{skill=[[ 1d20+@{vehicle-Stealth}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Stealth"></button>
					<input type="number" name="attr_vehicle-Stealth" value="@{vehicle-sizemod}+@{vehicle-dex|max}+@{vehicle-pilotmod|max}-5+@{vehicle-stealthmod}+@{vehicle-stealthmisc}" disabled="true" title="Stealth Total (includes Vehicle Size Mod and Dex Mod)" />
					 =
					<input type="number" name="attr_vehicle-stealthmod" value="@{vehicle-pilotmod}" disabled="true" title="Crew Member's Pilot Check" />
						 +
					<input type="number" name="attr_vehicle-stealthmisc" title="Stealth Miscellaneous Modifier" value="0" />

					Use Computer
					<button type="roll" name="roll_vehicle-usecomputercheck" value="&{template:skill} {{crewname=@{vehicle-CrewName} in @{character_name}}} {{name=Use Computer}}} {{skill=[[ 1d20+@{vehicle-UseComputer}+@{vehicle-CT}+?{Other Modifiers|0}]]}}" title="Roll Use Computer"></button>
					<input type="number" name="attr_vehicle-usecomputer" value="@{vehicle-usecomputermod|max}+@{vehicle-usecomputermod}+@{vehicle-usecomputermisc}" disabled="true" title="UseComputer Total" />
					 =
					<input type="number" name="attr_vehicle-usecomputermod" value="0" title="Crew Member's Use Computer Check" />
						 +
					<input type="number" name="attr_vehicle-usecomputermisc" title="Use Computer Miscellaneous Modifier" value="0" />

					<input type="checkbox" value="5" name="attr_vehicle-pilotmod_max" title="Trained in Pilot?" />Trained in Pilot?
					<input type="checkbox" value="@{vehicle-int|max}" name="attr_vehicle-usecomputermod_max" title="Include Vehicle's INT for Use Computer?" />Include Vehicle's INT for Use Computer?

		</fieldset>

Cargo

				Item
				Location
				Wt

			<fieldset class="repeating_equipment">

						<input type="text" name="attr_vehicle-EquipmentItem" placeholder="Item Name" title="Item Name" />
						<input type="text" name="attr_vehicle-EquipmentLocation" placeholder="Location" style="width:125px" title="Item's stored location" />
						<input type="number" name="attr_vehicle-EquipmentWt" value="0" title="Item's Weight" />

			</fieldset>

				Tonnage
				<input type="text" name="attr_vehicle-Tonnage" title="Current Tonnage" style="width:110px" />
				 /
				<input type="text" name="attr_vehicle-Tonnage_max" title="Total Tonnage" style="width:110px" />

				Consumables
				<input type="text" name="attr_vehicle-Consumables" style="width:100%" title="Current Tonnage" />

				Payload
				<textarea type="text" name="attr_vehicle-Carried" class="atkNotes" title="Payload" ></textarea>

				Carried Craft
				<textarea type="text" name="attr_vehicle-Carried_max" class="atkNotes" title="Carried Craft" ></textarea>

				Fighting Space

Character Scale
<input type="text" name="attr_vehicle-FightSpace" title="Fighting Space (Character Scale)" style="width:100%" />

Starship Scale
<input type="text" name="attr_vehicle-FightSpace_max" title="Fighting Space (Starship Scale)" style="width:100%" />

				Hyperdrive
				<input type="text" name="attr_vehicle-hyperdrive" style="width:100%" title="Hyperdrive" />

				Availability / Cost
				<input type="text" name="attr_vehicle-Cost" style="width:100%" title="Availability" />
				<input type="text" name="attr_vehicle-Cost_max" style="width:100%" title="Cost" />

Upgrades

		<textarea type="text" name="attr_vehicle-SpecialQualities" title="Special Qualities" ></textarea>

Notes

		<textarea type="text" name="attr_vehicle-Notes" title="Notes"></textarea>

For Help, please see the wiki page. <input type="text" name="attr_vehicle-EquipmentLocation" style="width:30em" title="Wiki URL" value="https://wiki.roll20.net/Star_Wars_Saga_Edition_Character_Sheet"/>

Last updated 06/08/2015

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

{{name}}

{{#type}}{{type}}{{/type}}

Attack: {{attack}}

		{{#damage}}

				Damage: {{damage}}
				{{#dmgcrit}}
					{{#rollWasCrit() attack}}
						 | Crit: {{dmgcrit}}
					{{/rollWasCrit() attack}}
				{{/dmgcrit}}

		{{/damage}}
		{{#atkeffect}}

			Notes: {{atkeffect}}

		{{/atkeffect}}

</rolltemplate>
<rolltemplate class="sheet-rolltemplate-skill">

{{name}}	 {{skill}}

		{{#crewname}}
{{crewname}}
{{/crewname}}
		{{#notes}}
Notes: {{notes}}
{{/notes}}

</rolltemplate>


text:
package org.command4spring.example;

import org.command4spring.command.AbstractCommand;

public class SampleCommand extends AbstractCommand<SampleResult> {

    private static final long serialVersionUID = -8164946958544815277L;
    private String data;

    public SampleCommand() {
    }

    public SampleCommand(String data) {
        super();
        this.data = data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getData() {
        return data;
    }
}

redpajama_set_name: RedPajamaGithub


text:
package crawlr

import (
	"fmt"
	"net/http"
)

// -----------------------------------------------------------------------------

// Slave is a structure used as a crawler. It waits its order from a `Master`.
type Slave struct {
	w      *Worker
	a      Archiver
	input  chan *RewindInputStream
	output chan *RewindInputStream
}

// NewSlave returns a new `Slave` or an `error` if something occurs during
// `s.w` connection. It uses `addr` as the address of the `Master` and `a` as
// the `Archiver` used.
func NewSlave(addr string, a Archiver) (*Slave, error) {
	w, err := NewWorker("tcp4", addr)
	if err != nil {
		return nil, err
	}
	return &Slave{w: w, a: a}, nil
}

// -----------------------------------------------------------------------------

// Run ties the `Pipe`s with each other and launches the goroutines tied to the
// crawling and data processing. It uses a slice of `Pipe` as the pipeline set
// to process data crawled.
func (s *Slave) Run(pipeline ...Pipe) <-chan error {
	errChan := make(chan error, 1)

	s.input = make(chan *RewindInputStream)
	in := s.input
	for _, pipe := range pipeline {
		out := make(chan *RewindInputStream)
		go pipe(in, out)
		in = out
	}
	s.output = in

	go func() {
		defer close(errChan)
		for {
			msg := s.w.Receive()
			ris, err := s.Fetch(msg)
			if err != nil {
				s.w.Send(Message{ID: msg.ID, Type: ERROR, Msg: fmt.Sprintf("%v", err)})
			} else {
				s.input <- ris
				res := <-s.output
				res.msg.ID = msg.ID
				s.w.Send(res.msg)
			}
		}
	}()
	return errChan
}

// Fetch retrieves the webpage and converts it to a new `RewindInputStream` if
// it has not been processed before. It uses `msg` as the `Message` which
// content has to be processed and returns a `RewindInputStream` or an `error`.
func (s *Slave) Fetch(msg Message) (*RewindInputStream, error) {
	if ok, err := s.a.URLSeen(msg.Msg); err != nil {
		return nil, err
	} else if ok {
		return nil, fmt.Errorf("url already processed: %s", msg.Msg)
	}

	resp, err := http.Get(msg.Msg)
	if err != nil {
		return nil, err
	}

	ris, err := NewRewindInputStream(msg.Msg, resp)
	if err != nil {
		return nil, err
	}

	if ok, err := s.a.ContentSeen(ris); ok {
		return nil, fmt.Errorf("content already processed: %s", msg.Msg)
	} else if err != nil {
		return nil, err
	}
	return ris, nil
}


text:
/**
 * Created by Michael on 10/8/2015.
 */

/* exported primeFactors */

/**
 * primeFactors returns the largest prime factor of a given number.
 * @param num is the given number.
 * @returns {*} the largest prime factor.
 */
var primeFactors = function(num) {
  var factors = [];
  var divide = 2;
  var primeNum;

  if(num === 0) {
    primeNum = 0;
  }
  else if(isNaN(num)) {
    throw new Error("Not a number.");
  }
  else {
    while (num > 1) {
      while ((num % divide) === 0) {
        factors.push(divide);
        num /= divide;
      }
      divide += 1;
    }
    primeNum = factors[factors.length - 1];
  }
  return primeNum;
};

var x = primeFactors(600851475143);
console.log(x);
var x2 = primeFactors(0);
console.log(x2);
console.log(primeFactors("Hi"));


text:
class MenuViewController < UIViewController

  attr_accessor :screenShotImage, :screenShotImageView

  def loadView
    self.view = UIView.alloc.initWithFrame(UIScreen.mainScreen.bounds)
    view.backgroundColor = UIColor.scrollViewTexturedBackgroundColor

    # tableView for select a page to display
    @tableView = UITableView.alloc.initWithFrame([[0,0],[254,Device.screen.height]])
    @tableView.dataSource = @tableView.delegate = self
    view.addSubview(@tableView)

    # UIImageView on the right with the screenshot of the last contentViewController
    @screenShotImageView = UIImageView.alloc.init
    @screenShotImageView.userInteractionEnabled = true
    view.addSubview(@screenShotImageView)
  end

  def viewDidLoad
    # tapGesture for closing menu tapping the UIImageView on the right
    @tapGesture = UITapGestureRecognizer.alloc.initWithTarget(self, action:"singleTapScreenShot:")
    @screenShotImageView.addGestureRecognizer @tapGesture

    # panGesture for managing panning of UIImageView
    @panGesture = UIPanGestureRecognizer.alloc.initWithTarget(self, action:"panGestureMoveAround:")
    @panGesture.setMaximumNumberOfTouches 2
    @panGesture.setDelegate self
    @screenShotImageView.addGestureRecognizer @panGesture
  end

  def viewWillAppear(animated)
    # put the screenshot of the last contentViewController and perform an animation from left to right
    @screenShotImageView.setImage(@screenShotImage)
    @screenShotImageView.setFrame([[0,-20],[self.view.frame.size.width, self.view.frame.size.height+20]])

    UIView.animateWithDuration(0.25, delay:0, options: UIViewAnimationCurveEaseInOut, animations:lambda do
      @screenShotImageView.setFrame([[254,-20],[ Device.screen.width, Device.screen.height ]])
    end, completion: lambda do |finished| end)
  end

  # perform the animation from right to left and then close the menu
  def slideThenHide
    UIView.animateWithDuration(0.25, delay:0, options: UIViewAnimationCurveEaseInOut, animations:lambda do
      @screenShotImageView.setFrame([[0,-20],[self.view.frame.size.width, self.view.frame.size.height+20]])
    end, completion: lambda do |finished|
      appDelegate.hideSideMenu
    end)
  end

  def singleTapScreenShot(gestureRecognizer)
    slideThenHide
  end

  def panGestureMoveAround(gesture)
    piece = gesture.view
    adjustAnchorPointForGestureRecognizer gesture

    if (gesture.state == UIGestureRecognizerStateBegan || gesture.state == UIGestureRecognizerStateChanged) then
      translation = gesture.translationInView(piece.superview)

      x = piece.center.x + translation.x
      y = piece.center.y
      piece.setCenter(CGPointMake(x,y))
      gesture.setTranslation(CGPointZero, inView:piece.superview)
    else
      slideThenHide if gesture.state == UIGestureRecognizerStateEnded
    end
  end

  def adjustAnchorPointForGestureRecognizer(gestureRecognizer)
    if (gestureRecognizer.state == UIGestureRecognizerStateBegan) then
      piece = gestureRecognizer.view
      locationInView = gestureRecognizer.locationInView(piece)
      locationInSuperView = gestureRecognizer.locationInView(piece.superview)

      x = locationInView.x / piece.bounds.size.width
      y = locationInView.y / piece.bounds.size.height
      piece.layer.anchorPoint = CGPointMake(x,y)
      piece.center = locationInSuperView
    end
  end

  def tableView(tableView, numberOfRowsInSection:section)
    2
  end

  CELLID = 'CellMenuIdentifier'
  def tableView(tableView, cellForRowAtIndexPath:indexPath)
    cell = tableView.dequeueReusableCellWithIdentifier(CELLID) || begin
      cell = UITableViewCell.alloc.initWithStyle(UITableViewCellStyleDefault, reuseIdentifier:CELLID)
      cell
    end

    cell.textLabel.text = "First" if indexPath.row == 0
    cell.textLabel.text = "Second" if indexPath.row == 1

    return cell
  end

  def tableView(tableView, didSelectRowAtIndexPath:indexPath)
    appDelegate.setCurrentController(indexPath.row)

    slideThenHide
    tableView.deselectRowAtIndexPath(indexPath, animated:true)
  end
end


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="rustdoc">
    <meta name="description" content="API documentation for the Rust `Cmd` type in crate `rustc_lint`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, Cmd">

    <title>rustc_lint::metadata::decoder::Cmd - Rust</title>

    <link rel="stylesheet" type="text/css" href="../../../main.css">

    <link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">

rustc_lint::<wbr>metadata::<wbr>decoder

        <form class="search-form js-only">

                <input class="search-input" name="search"
                       autocomplete="off"
                       placeholder="Click or press 'S' to search, '?' for more options..."
                       type="search">

        </form>

rustc_lint::<wbr>metadata::<wbr>decoder::<wbr>Cmd<wbr>Unstable
            [-] [+]
        [src]

type Cmd<'a> = &'a crate_metadata;

Keyboard shortcuts

?

Show this help dialog

S

Focus the search field

⇤

Move up in search results

⇥

Move down in search results

⏎

Go to active search result

Search tricks

                Prefix searches with a type followed by a colon (e.g.
                fn:) to restrict the search to a given type.

                Accepted types are: fn, mod,
                struct, enum,
                trait, typedef (or
                tdef).


text:
package jsettlers.main.swing.menu.openpanel;

import java.awt.Cursor;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.JLabel;
import javax.swing.JTextField;

import jsettlers.graphics.localization.Labels;

/**
 * Search Text field
 *
 * @author Andreas Butti
 */
public class SearchTextField extends JTextField {
	private static final long serialVersionUID = 1L;

	/**
	 * Search text
	 */
	private static final String SEARCH = Labels.getString("general.search");

	/**
	 * Search icon
	 */
	private final SearchIcon searchIcon = new SearchIcon();

	/**
	 * Icon to clear search
	 */
	private final ClearIcon clearIcon = new ClearIcon();

	/**
	 * Clear "Button"
	 */
	private final JLabel clearIconLabel = new JLabel(clearIcon);

	/**
	 * Constructor
	 */
	public SearchTextField() {
		setMargin(new Insets(2, searchIcon.getIconWidth() + 4, 2, clearIcon.getIconWidth() + 4));

		clearIconLabel.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent e) {
				setText("");
			}

			@Override
			public void mouseEntered(MouseEvent e) {
				clearIcon.setHover(true);
				clearIconLabel.repaint();
			}

			@Override
			public void mouseExited(MouseEvent e) {
				clearIcon.setHover(false);
				clearIconLabel.repaint();
			}

		});
		add(clearIconLabel);
		clearIconLabel.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
	}

	@Override
	public void layout() {
		int x = getWidth() - 4 - clearIcon.getIconWidth();
		int y = (this.getHeight() - searchIcon.getIconHeight()) / 2;
		clearIconLabel.setBounds(x, y, clearIcon.getIconWidth(), clearIcon.getIconHeight());
	}

	@Override
	protected void paintComponent(Graphics g) {
		super.paintComponent(g);

		int x = 4;
		searchIcon.paintIcon(this, g, x, (this.getHeight() - searchIcon.getIconHeight()) / 2);

		// color already set by search icon...
		if (getText().isEmpty()) {
			x += searchIcon.getIconWidth() + 6;
			int y = this.getHeight() - (this.getHeight() - g.getFontMetrics().getHeight()) / 2 - g.getFontMetrics().getDescent();
			g.drawString(SEARCH, x, y);
		}
	}
}


text:
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v10/resources/accessible_bidding_strategy.proto

namespace Google\Ads\GoogleAds\V10\Resources\AccessibleBiddingStrategy;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * An automated bid strategy that sets bids to help get as many conversions as
 * possible at the target cost-per-acquisition (CPA) you set.
 *
 * Generated from protobuf message google.ads.googleads.v10.resources.AccessibleBiddingStrategy.TargetCpa
 */
class TargetCpa extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Average CPA target.
     * This target should be greater than or equal to minimum billable unit
     * based on the currency for the account.
     *
     * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
     */
    protected $target_cpa_micros = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $target_cpa_micros
     *           Output only. Average CPA target.
     *           This target should be greater than or equal to minimum billable unit
     *           based on the currency for the account.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V10\Resources\AccessibleBiddingStrategy::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Average CPA target.
     * This target should be greater than or equal to minimum billable unit
     * based on the currency for the account.
     *
     * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
     * @return int|string
     */
    public function getTargetCpaMicros()
    {
        return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0;
    }

    public function hasTargetCpaMicros()
    {
        return isset($this->target_cpa_micros);
    }

    public function clearTargetCpaMicros()
    {
        unset($this->target_cpa_micros);
    }

    /**
     * Output only. Average CPA target.
     * This target should be greater than or equal to minimum billable unit
     * based on the currency for the account.
     *
     * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
     * @param int|string $var
     * @return $this
     */
    public function setTargetCpaMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->target_cpa_micros = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetCpa::class, \Google\Ads\GoogleAds\V10\Resources\AccessibleBiddingStrategy_TargetCpa::class);