Explorar el Código

Display no explanation for ArbitraryConsequence instances

vintage
Fen Dweller hace 5 años
padre
commit
2b5119a164
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      src/game/combat/consequences.ts

+ 3
- 3
src/game/combat/consequences.ts Ver fichero

@@ -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
} }
} }




Cargando…
Cancelar
Guardar