ソースを参照

Add some capable-conditions to Withers' actions

vintage
Fen Dweller 5年前
コミット
b80b70dd74
1個のファイルの変更9行の追加5行の削除
  1. +9
    -5
      src/game/creatures/withers.ts

+ 9
- 5
src/game/creatures/withers.ts ファイルの表示

@@ -4,7 +4,7 @@ import { ImproperNoun, POVPair, ProperNoun, FemalePronouns, RandomWord, Adjectiv
import { LogLine, LogLines, LogEntry, Newline } from '../interface'
import { VoreType, Stomach, VoreContainer, Vore, NormalContainer, Container } from '../vore'
import { AttackAction, FeedAction, TransferAction, EatenAction } from '../combat/actions'
import { TogetherCondition, ContainerCondition, EnemyCondition, AllyCondition, PairCondition } from '../combat/conditions'
import { TogetherCondition, ContainerCondition, EnemyCondition, AllyCondition, PairCondition, CapableCondition } from '../combat/conditions'
import { InstantKill } from '../combat/effects'
import * as Words from '../words'
import { StatVigorTest } from '../combat/tests'
@@ -31,7 +31,8 @@ class HypnotizeAction extends Action {
`Change their mind!`,
[
new TogetherCondition(),
new EnemyCondition()
new EnemyCondition(),
new CapableCondition()
]
)
}
@@ -215,7 +216,8 @@ class StompAction extends GroupAction {
constructor () {
super('Stomp', 'STOMP!', [
new TogetherCondition(),
new EnemyCondition()
new EnemyCondition(),
new CapableCondition()
])
}
}
@@ -253,7 +255,8 @@ class StompAllyAction extends Action {
constructor () {
super('Stomp Ally', '-1 ally, +1 buff', [
new TogetherCondition(),
new AllyCondition()
new AllyCondition(),
new CapableCondition()
])
}
}
@@ -297,7 +300,8 @@ class DevourAllAction extends GroupAction {
constructor (private container: VoreContainer) {
super('Devour All', 'GULP!', [
new TogetherCondition(),
new EnemyCondition()
new EnemyCondition(),
new CapableCondition()
])
this.test = new StatVigorTest(Stat.Power)
}


読み込み中…
キャンセル
保存