<h3>Actor condition - {{obj.name}}</h3>
<div class="prevNext">
	<a class="btn btn-secondary" ng-click="previous()"><i class="icon-backward"></i></a>
	<a class="btn btn-secondary" ng-click="next()"><i class="icon-forward"></i></a>
</div>
<fieldset>
	<legend>General</legend>
	<div class="fieldWithLabel">
		<label for="iconID">Icon:</label>
		<span class="field">
			<div ng-tile-image="obj.iconID" class="at-input-icon" ng-select-image="actorcondition" ng-select-image-dest="obj.iconID"></div>
			<input type="text" id="iconID" class="at-input-iconID" ng-model="obj.iconID" />
		</span>
	</div>
	<div class="fieldWithLabel">
		<label for="id" class="hint  hint--top" data-hint="The id is not displayed to the player anywhere. Must be a unique id (no two conditions may have the same id). Prefer short ids since it keeps savegames smaller.">Internal ID:</label>
		<input type="text" id="id" class="field at-input-id" ng-model="obj.id" />
	</div>
	<div class="fieldWithLabel">
		<label for="name">Display name:</label>
		<input type="text" id="name" class="field at-input-name" ng-model="obj.name" />
	</div>
	<div class="fieldWithLabel">
		<label for="category">Category:</label>
		<select class="field" id="category" ng-model="obj.category">
			<option value="spiritual">Spiritual</option>
			<option value="mental">Mental</option>
			<option value="physical">Physical Capacity</option>
			<option value="blood">Blood Disorder</option>
		</select>
	</div>
	<div class="fieldWithLabel">
		<label class="checkbox">
			<input type="checkbox" id="isPositive" ng-model="obj.isPositive" ng-true-value="1" ng-false-value="0" />
			<span class="hint  hint--top" data-hint="Positive effects are not affected by the Rejuvenation skill.">Positive effect</span>
		</label>
	</div>
	<div class="fieldWithLabel">
		<label class="checkbox">
			<input type="checkbox" id="isStacking" ng-model="obj.isStacking" ng-true-value="1" ng-false-value="0" />
			<span class="hint  hint--top" data-hint="If checked, then actors may have several of these, simultaneously. Otherwise, only one condition at a time may be active on an actor.">Is stacking</span>
		</label>
	</div>
	<div class="fieldWithLabel">
		<label class="checkbox"><input type="checkbox" id="hasRoundEffect" ng-model="obj.hasRoundEffect" />Has effect every round (every 6s)</label>
	</div>
	<div class="fieldWithLabel">
		<label class="checkbox"><input type="checkbox" id="hasFullRoundEffect" ng-model="obj.hasFullRoundEffect" />Has effect every full round (every 25:th s)</label>
	</div>
	<div class="fieldWithLabel">
		<label class="checkbox"><input type="checkbox" id="hasAbilityEffect" ng-model="obj.hasAbilityEffect" />Has constant ability effect</label>
	</div>
</fieldset>
<fieldset id="hasRoundEffectDisplay" ng-ds-fade="obj.hasRoundEffect">
	<legend>Every round (6s)</legend>
	<div class="fieldWithLabel">
		<label for="round_visualEffectID">Visual effect:</label>
		<select class="field" id="round_visualEffectID" ng-model="obj.roundEffect.visualEffectID">
			<option value="">None</option>
			<option value="redSplash">Red splatter</option>
			<option value="blueSwirl">Blue swirl</option>
			<option value="greenSplash">Green splatter</option>
		</select>
	</div>
	<div class="fieldWithLabel">
		<label for="round_boostHP">Boost current HP (range):</label>
		<div class="field">
			<input type="text" size="3" id="round_boostHP_Min" class="at-input-stat-minmax" ng-model="obj.roundEffect.increaseCurrentHP.min" />
			-
			<input type="text" size="3" id="round_boostHP_Max" class="at-input-stat-minmax" ng-model="obj.roundEffect.increaseCurrentHP.max" />
		</div>
	</div>
	<div class="fieldWithLabel">
		<label for="round_boostAP">Boost current AP (range):</label>
		<div class="field">
			<input type="text" size="3" id="round_boostAP_Min" class="at-input-stat-minmax" ng-model="obj.roundEffect.increaseCurrentAP.min" />
			-
			<input type="text" size="3" id="round_boostAP_Max" class="at-input-stat-minmax" ng-model="obj.roundEffect.increaseCurrentAP.max" />
		</div>
	</div>
</fieldset>
<fieldset id="hasFullRoundEffectDisplay" ng-ds-fade="obj.hasFullRoundEffect">
	<legend>Every full round (25s)</legend>
	<div class="fieldWithLabel">
		<label for="fullround_visualEffectID">Visual effect:</label>
		<select class="field" id="fullround_visualEffectID" ng-model="obj.fullRoundEffect.visualEffectID">
			<option value="">None</option>
			<option value="redSplash">Red splatter</option>
			<option value="blueSwirl">Blue swirl</option>
			<option value="greenSplash">Green splatter</option>
		</select>
	</div>
	<div class="fieldWithLabel">
		<label for="fullround_boostHP">Boost current HP (range):</label>
		<div class="field">
			<input type="text" size="3" id="fullround_boostHP_Min" class="at-input-stat-minmax" ng-model="obj.fullRoundEffect.increaseCurrentHP.min" />
			-
			<input type="text" size="3" id="fullround_boostHP_Max" class="at-input-stat-minmax" ng-model="obj.fullRoundEffect.increaseCurrentHP.max" />
		</div>
	</div>
	<div class="fieldWithLabel">
		<label for="fullround_boostAP">Boost current AP (range):</label>
		<div class="field">
			<input type="text" size="3" id="fullround_boostAP_Min" class="at-input-stat-minmax" ng-model="obj.fullRoundEffect.increaseCurrentAP.min" />
			-
			<input type="text" size="3" id="fullround_boostAP_Max" class="at-input-stat-minmax" ng-model="obj.fullRoundEffect.increaseCurrentAP.max" />
		</div>
	</div>
</fieldset>
<fieldset id="hasAbilityEffectDisplay" ng-ds-fade="obj.hasAbilityEffect">
	<legend>Constant ability effect</legend>
	<div class="fieldWithLabel">
		<label for="boostMaxHP">Boost max HP:</label>
		<input type="text" size="5" id="boostMaxHP" class="field at-input-stat" ng-model="obj.abilityEffect.increaseMaxHP" />
	</div>
	<div class="fieldWithLabel">
		<label for="boostMaxAP">Boost max AP:</label>
		<input type="text" size="5" id="boostMaxAP" class="field at-input-stat" ng-model="obj.abilityEffect.increaseMaxAP" />
	</div>
	<div class="fieldWithLabel">
		<label for="moveCostPenalty">Increase move cost (AP):</label>
		<input type="text" size="5" id="moveCostPenalty" class="field at-input-stat" ng-model="obj.abilityEffect.increaseMoveCost" />
	</div>
	<div class="fieldWithLabel">
		<label for="increaseUseItemCost">Increase use cost (AP):</label>
		<input type="text" size="5" id="increaseUseItemCost" class="field at-input-stat" ng-model="obj.abilityEffect.increaseUseItemCost" />
	</div>
	<div class="fieldWithLabel">
		<label for="increaseReequipCost">Increase re-equip cost (AP):</label>
		<input type="text" size="5" id="increaseReequipCost" class="field at-input-stat" ng-model="obj.abilityEffect.increaseReequipCost" />
	</div>
	<div class="fieldWithLabel">
		<label for="attackCost">Increase attack cost (AP):</label>
		<input type="text" size="5" id="attackCost" class="field at-input-stat" ng-model="obj.abilityEffect.increaseAttackCost" />
	</div>
	<div class="fieldWithLabel">
		<label for="attackChance">Increase attack chance:</label>
		<input type="text" size="5" id="attackChance" class="field at-input-stat" ng-model="obj.abilityEffect.increaseAttackChance" />%
	</div>
	<div class="fieldWithLabel">
		<label for="attackDamage">Increase attack damage (range):</label>
		<div class="field">
			<input type="text" size="3" id="attackDamage_Min" class="at-input-stat-minmax" ng-model="obj.abilityEffect.increaseAttackDamage.min" />
			-
			<input type="text" size="3" id="attackDamage_Max" class="at-input-stat-minmax" ng-model="obj.abilityEffect.increaseAttackDamage.max" />
		</div>
	</div>
	<div class="fieldWithLabel">
		<label for="criticalChance">Increase critical skill:</label>
		<input type="text" size="5" id="criticalChance" class="field at-input-stat" ng-model="obj.abilityEffect.increaseCriticalSkill" />%
	</div>
	<div class="fieldWithLabel">
		<label for="blockChance">Increase block chance:</label>
		<input type="text" size="5" id="blockChance" class="field at-input-stat" ng-model="obj.abilityEffect.increaseBlockChance" />%
	</div>
	<div class="fieldWithLabel">
		<label for="damageResistance">Increase damage resistance:</label>
		<input type="text" size="5" id="damageResistance" class="field at-input-stat" ng-model="obj.abilityEffect.increaseDamageResistance" />
	</div>
</fieldset>
<div class="endSets"> </div>