Преглед на файлове

Display no explanation for ArbitraryConsequence instances

vintage
Fen Dweller преди 5 години
родител
ревизия
2b5119a164
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      src/game/combat/consequences.ts

+ 3
- 3
src/game/combat/consequences.ts Целия файл

@@ -1,6 +1,6 @@
import { Consequence, DamageFormula, Condition, StatusEffect } from '../combat'
import { Creature } from '../creature'
import { LogEntry, LogLines, LogLine } from '../interface'
import { LogEntry, LogLines, LogLine, nilLog } from '../interface'
import { Verb, PairLine } from '../language'

/**
@@ -12,11 +12,11 @@ export class ArbitraryConsequence extends Consequence {
}

describeSolo (user: Creature): LogEntry {
return new LogLine(`It does...something`)
return nilLog
}

describePair (user: Creature): LogEntry {
return new LogLine(`It does...something`)
return nilLog
}
}



Loading…
Отказ
Запис