Browse Source

Display no explanation for ArbitraryConsequence instances

master
Fen Dweller 5 years ago
parent
commit
2b5119a164
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/game/combat/consequences.ts

+ 3
- 3
src/game/combat/consequences.ts View File

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


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


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


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




Loading…
Cancel
Save