|
|
@@ -40,7 +40,7 @@ |
|
|
<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" /> |
|
|
<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> |
|
|
</div> |
|
|
<div v-if="actionDescVisible && encounter.winner === null" class="action-description"> |
|
|
|
|
|
|
|
|
<div v-show="actionDescVisible && encounter.winner === null" class="action-description"> |
|
|
</div> |
|
|
</div> |
|
|
<button @click="$emit('leave-combat')" v-if="encounter.winner !== null" class="exit-combat"> |
|
|
<button @click="$emit('leave-combat')" v-if="encounter.winner !== null" class="exit-combat"> |
|
|
Exit Combat |
|
|
Exit Combat |
|
|
@@ -59,7 +59,6 @@ import { LogEntry, LogLine, nilLog } from '@/game/interface' |
|
|
import Statblock from './Statblock.vue' |
|
|
import Statblock from './Statblock.vue' |
|
|
import ActionButton from './ActionButton.vue' |
|
|
import ActionButton from './ActionButton.vue' |
|
|
import { Side, Encounter } from '@/game/combat' |
|
|
import { Side, Encounter } from '@/game/combat' |
|
|
import { NoAI } from '../game/ai' |
|
|
|
|
|
import { World } from '@/game/world' |
|
|
import { World } from '@/game/world' |
|
|
|
|
|
|
|
|
@Component( |
|
|
@Component( |
|
|
|