|
|
|
@@ -4,7 +4,7 @@ import { Entity, Creature } from '../entity' |
|
|
|
import { Damage, DamageFormula, Stat, Vigor, Action } from '../combat' |
|
|
|
import { LogLine, LogLines, LogEntry, CompositeLog } from '../interface' |
|
|
|
import { VoreContainer, Container } from '../vore' |
|
|
|
import { CapableCondition, UserDrainedVigorCondition, TogetherCondition, EnemyCondition, SoloCondition, PairCondition, ContainsCondition, ContainedCondition } from './conditions' |
|
|
|
import { CapableCondition, UserDrainedVigorCondition, TogetherCondition, EnemyCondition, SoloCondition, PairCondition, ContainsCondition, ContainedByCondition } from './conditions' |
|
|
|
|
|
|
|
export class AttackAction extends Action { |
|
|
|
protected test: StatTest |
|
|
|
@@ -138,7 +138,7 @@ export class StruggleAction extends Action { |
|
|
|
super( |
|
|
|
new DynText('Struggle (', new LiveText(container, x => x.name.all), ')'), |
|
|
|
'Try to escape from your foe', |
|
|
|
[new CapableCondition(), new PairCondition(), new ContainedCondition(container)] |
|
|
|
[new CapableCondition(), new PairCondition(), new ContainedByCondition(container)] |
|
|
|
) |
|
|
|
this.test = new StatVigorTest(Stat.Power) |
|
|
|
} |
|
|
|
|