|
|
|
@@ -14,11 +14,11 @@ |
|
|
|
<div class="left-actions"> |
|
|
|
<div class="vert-display"> |
|
|
|
<i class="action-label fas fa-users" v-if="left.validGroupActions(combatants).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="action in left.validGroupActions(combatants)" :key="'right' + action.name" :action="action" :user="left" :target="right" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="(action, index) in left.validGroupActions(combatants)" :key="'left-' + action.name + '-' + index" :action="action" :user="left" :target="right" :combatants="combatants" /> |
|
|
|
<i class="action-label fas fa-user-friends" v-if="left.validActions(right).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="action in left.validActions(right)" :key="'left' + action.name" :action="action" :user="left" :target="right" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="(action, index) in left.validActions(right)" :key="'left-' + action.name + '-' + index" :action="action" :user="left" :target="right" :combatants="combatants" /> |
|
|
|
<i class="action-label fas fa-user" v-if="left.validActions(left).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="action in left.validActions(left)" :key="'left' + action.name" :action="action" :user="left" :target="left" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedLeft" v-for="(action, index) in left.validActions(left)" :key="'left-' + action.name + '-' + index" :action="action" :user="left" :target="left" :combatants="combatants" /> |
|
|
|
</div> |
|
|
|
<div>{{actionDescription}}</div> |
|
|
|
</div> |
|
|
|
@@ -28,11 +28,11 @@ |
|
|
|
<div class="right-actions"> |
|
|
|
<div class="vert-display"> |
|
|
|
<i class="action-label fas fa-users" v-if="right.validGroupActions(combatants).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="action in right.validGroupActions(combatants)" :key="'right' + action.name" :action="action" :user="right" :target="left" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="(action, index) in right.validGroupActions(combatants)" :key="'right-' + action.name + '-' + index" :action="action" :user="right" :target="left" :combatants="combatants" /> |
|
|
|
<i class="action-label fas fa-user-friends" v-if="right.validActions(left).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="action in right.validActions(left)" :key="'right' + action.name" :action="action" :user="right" :target="left" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="(action, index) in right.validActions(left)" :key="'right-' + action.name + '-' + index" :action="action" :user="right" :target="left" :combatants="combatants" /> |
|
|
|
<i class="action-label fas fa-user" v-if="right.validActions(right).length > 0"></i> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="action in right.validActions(right)" :key="'right' + action.name" :action="action" :user="right" :target="right" :combatants="combatants" /> |
|
|
|
<ActionButton @described="described" @executed="executedRight" v-for="(action, index) in right.validActions(right)" :key="'right-' + action.name + '-' + index" :action="action" :user="right" :target="right" :combatants="combatants" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id="action-desc"> |
|
|
|
|