mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-02 06:51:20 +01:00
204 lines
9.3 KiB
HTML
204 lines
9.3 KiB
HTML
<h3>Monster / NPC - {{obj.name}}</h3>
|
|
<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="monster" 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">Internal id:</label>
|
|
<input type="text" size="30" id="id" class="field at-input-id" ng-model="obj.id"/>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="name">Display name:</label>
|
|
<input type="text" size="30" id="name" class="field at-input-name" ng-model="obj.name"/>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="spawnGroup">Spawngroup:</label>
|
|
<input type="text" size="30" id="spawnGroup" class="field at-input-id" ng-model="obj.spawnGroup" title="This is a grouping of monster types. Use these tags on spawn areas to spawn random monsters with the same tag. Several monsters may have the same tag." />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="unique" ng-model="obj.unique" ng-true-value="1" ng-false-value="0" />Is unique (will not respawn)</label>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="monsterClass">Monster class:</label>
|
|
<select class="field" id="monsterClass" ng-model="obj.monsterClass">
|
|
<option value="0">Humanoid</option>
|
|
<option value="1">Insect</option>
|
|
<option value="2">Demon</option>
|
|
<option value="3">Construct</option>
|
|
<option value="4">Animal</option>
|
|
<option value="5">Giant</option>
|
|
<option value="6">Undead</option>
|
|
<option value="7">Reptile</option>
|
|
<option value="8">Ghost</option>
|
|
</select>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="showAdvanced" ng-model="obj.showAdvanced" />Show advanced properties</label>
|
|
</div>
|
|
<div class="fieldWithLabel" ng-ds-fade="obj.showAdvanced">
|
|
<label for="size">Size:</label>
|
|
<select class="field" id="size" ng-model="obj.size">
|
|
<option value="1x1">1x1</option>
|
|
<option value="1x2">1x2</option>
|
|
<option value="1x3">1x3</option>
|
|
<option value="2x1">2x1</option>
|
|
<option value="2x2">2x2</option>
|
|
<option value="2x3">2x3</option>
|
|
<option value="3x1">3x1</option>
|
|
<option value="3x2">3x2</option>
|
|
<option value="3x3">3x3</option>
|
|
</select>
|
|
</div>
|
|
<div class="fieldWithLabel" ng-ds-fade="obj.showAdvanced">
|
|
<label for="faction">Faction:</label>
|
|
<input type="text" size="30" id="faction" ng-model="obj.faction" class="field at-input-id"/>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="hasConversation" ng-model="obj.hasConversation" />Has conversation</label>
|
|
</div>
|
|
<div class="fieldWithLabel" id="hasConversationDisplay" ng-ds-fade="obj.hasConversation">
|
|
<label for="phraseID">Conversation phrase ID:</label>
|
|
<input type="text" size="30" id="phraseID" ng-model="obj.phraseID" class="field at-input-id" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="droplistID">Droplist ID (combat or shop):</label>
|
|
<input type="text" size="30" id="droplistID" ng-model="obj.droplistID" class="field at-input-id"/>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Stats</legend>
|
|
<div class="fieldWithLabel">
|
|
<label for="maxAP">Total AP:</label>
|
|
<input type="text" size="5" id="maxAP" ng-model="obj.maxAP" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="moveCost">Movement cost (AP):</label>
|
|
<input type="text" size="5" id="moveCost" ng-model="obj.moveCost" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="maxHP">Max HP:</label>
|
|
<input type="text" size="5" id="maxHP" ng-model="obj.maxHP" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="hasCombat" ng-model="obj.hasCombatTraits" />Has combat traits</label>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset id="hasCombatDisplay" ng-ds-fade="obj.hasCombatTraits">
|
|
<legend>Combat</legend>
|
|
<div class="fieldWithLabel">
|
|
<label for="experience">Experience:</label>
|
|
<input type="text" size="7" id="experience" ng-model="experience" class="field at-input-stat" readonly="readonly" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="attackCost">Attack cost (AP):</label>
|
|
<input type="text" size="5" id="attackCost" ng-model="obj.attackCost" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="attackChance">Attack chance:</label>
|
|
<input type="text" size="5" id="attackChance" ng-model="obj.attackChance" class="field at-input-stat" />%
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="attackDamage">Attack damage (range):</label>
|
|
<div class="field">
|
|
<input type="text" size="3" id="attackDamage_Min" ng-model="obj.attackDamage.min" class="at-input-stat-minmax" />
|
|
-
|
|
<input type="text" size="3" id="attackDamage_Max" ng-model="obj.attackDamage.max" class="at-input-stat-minmax" />
|
|
</div>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="hasCritical" ng-model="obj.hasCritical" />Has critical chance</label>
|
|
</div>
|
|
<div class="fieldWithLabel" ng-ds-fade="obj.hasCritical">
|
|
<label for="criticalSkill">Critical skill:</label>
|
|
<input type="text" size="5" id="criticalSkill" ng-model="obj.criticalSkill" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel" ng-ds-fade="obj.hasCritical">
|
|
<label for="criticalMultiplier">Critical multiplier:</label>
|
|
<input type="text" size="5" id="criticalMultiplier" ng-model="obj.criticalMultiplier" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="blockChance">Block chance:</label>
|
|
<input type="text" size="5" id="blockChance" ng-model="obj.blockChance" class="field at-input-stat" />%
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="damageResistance">Damage resistance:</label>
|
|
<input type="text" size="5" id="damageResistance" ng-model="obj.damageResistance" class="field at-input-stat" />
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label class="checkbox"><input type="checkbox" id="hasHitEffect" ng-model="obj.hasHitEffect" />Has effect on each hit</label>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset id="hasHitEffectDisplay" ng-ds-fade="obj.hasHitEffect && obj.hasCombatTraits">
|
|
<legend>On every successful attack hit</legend>
|
|
<div class="fieldWithLabel">
|
|
<label for="onHit_boostHP">Boost current HP (range):</label>
|
|
<div class="field">
|
|
<input type="text" size="3" id="onHit_boostHP_Min" ng-model="obj.hitEffect.increaseCurrentHP.min" class="at-input-stat-minmax" />
|
|
-
|
|
<input type="text" size="3" id="onHit_boostHP_Max" ng-model="obj.hitEffect.increaseCurrentHP.max" class="at-input-stat-minmax" />
|
|
</div>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="onHit_boostAP">Boost current AP (range):</label>
|
|
<div class="field">
|
|
<input type="text" size="3" id="onHit_boostAP_Min" ng-model="obj.hitEffect.increaseCurrentAP.min" class="at-input-stat-minmax" />
|
|
-
|
|
<input type="text" size="3" id="onHit_boostAP_Max" ng-model="obj.hitEffect.increaseCurrentAP.max" class="at-input-stat-minmax" />
|
|
</div>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="onHit_conditionsSource">Conditions added to source</label>
|
|
<table class="field" id="onHit_conditionsSource">
|
|
<thead>
|
|
<tr>
|
|
<th>Condition</th>
|
|
<th>Magnitude</th>
|
|
<th>Duration</th>
|
|
<th>Chance</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="condition in obj.hitEffect.conditionsSource">
|
|
<td><input type="text" ng-model="condition.condition" class="at-input-id" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.magnitude" class="at-input-magnitude" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.duration" class="at-input-duration" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.chance" class="at-input-chance" /></td>
|
|
<td><a ng-click="removeCondition(obj.hitEffect.conditionsSource, condition)" class="btn btn-mini" title="Remove row"><i class="icon-trash"></i></a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<button ng-click="addCondition(obj.hitEffect.conditionsSource)" class="btn" title="Add row"><i class="icon-plus-sign"></i> Add</button>
|
|
</div>
|
|
<div class="fieldWithLabel">
|
|
<label for="onHit_conditionsTarget">Conditions added to target</label>
|
|
<table class="field" id="onHit_conditionsTarget">
|
|
<thead>
|
|
<tr>
|
|
<th>Condition</th>
|
|
<th>Magnitude</th>
|
|
<th>Duration</th>
|
|
<th>Chance</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="condition in obj.hitEffect.conditionsTarget">
|
|
<td><input type="text" ng-model="condition.condition" class="at-input-id" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.magnitude" class="at-input-magnitude" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.duration" class="at-input-duration" /></td>
|
|
<td><input type="text" size="3" ng-model="condition.chance" class="at-input-chance" /></td>
|
|
<td><a ng-click="removeCondition(obj.hitEffect.conditionsTarget, condition)" class="btn btn-mini" title="Remove row"><i class="icon-trash"></i></a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<button ng-click="addCondition(obj.hitEffect.conditionsTarget)" class="btn" title="Add row"><i class="icon-plus-sign"></i> Add</button>
|
|
</div>
|
|
</fieldset>
|
|
<div class="endSets"> </div>
|