瀏覽代碼

Add some capable-conditions to Withers' actions

master
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)
}


Loading…
取消
儲存