ソースを参照

Fix Cafat's crush action; add them to the boss lineup

master
Fen Dweller 5年前
コミット
443c970726
2個のファイルの変更6行の追加2行の削除
  1. +2
    -2
      src/game/creatures/cafat.ts
  2. +4
    -0
      src/game/maps/town.ts

+ 2
- 2
src/game/creatures/cafat.ts ファイルの表示

@@ -6,7 +6,7 @@ import { LogLine, LogLines, LogEntry, FAElem, ImgElem } from '../interface'
import { AttackAction, TransferAction, FeedAction } from '../combat/actions'
import { InstantKillEffect } from '../combat/effects'
import * as Words from '../words'
import { ContainedByCondition } from '../combat/conditions'
import { ContainedByCondition, ContainsCondition } from '../combat/conditions'

class BellyCrushAction extends AttackAction {
constructor (_damage: Damage) {
@@ -51,7 +51,7 @@ class CrushAction extends Action {
"Crush",
"Crush 'em!",
[
new ContainedByCondition(container)
new ContainsCondition(container)
]
)
this.desc = "Crush somebody in your gut"


+ 4
- 0
src/game/maps/town.ts ファイルの表示

@@ -138,6 +138,10 @@ export const Town = (): Place => {
new Encounter(
{ name: "Large Wah", intro: (world: World) => nilLog },
makeParty().concat([new Creatures.Shingo()])
),
new Encounter(
{ name: "Cafat", intro: (world: World) => nilLog },
makeParty().concat([new Creatures.Cafat()])
)
]



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