From 2b12ef3e023afa7dc0f88d7b3997b7386aea2bc0 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 20 Jul 2020 10:19:42 -0400 Subject: [PATCH] Fix an error on Cafat --- src/game/creatures/cafat.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/creatures/cafat.ts b/src/game/creatures/cafat.ts index 8d98270..02b2644 100644 --- a/src/game/creatures/cafat.ts +++ b/src/game/creatures/cafat.ts @@ -25,7 +25,8 @@ class BellyCrushAction extends AttackAction { constructor (_damage: Damage) { super({ calc (user) { return _damage.scale(user.bulk / 25) }, - describe (user) { return new LogLine('Deal ', _damage.scale(user.bulk / 25).renderShort(), ` with your ${user.bulk} `, new FAElem('fas fa-weight-hanging')) } + describe (user) { return new LogLine('Deal ', _damage.scale(user.bulk / 25).renderShort(), ` with your ${user.bulk} `, new FAElem('fas fa-weight-hanging')) }, + explain (user) { return new LogLine('Deal ', _damage.scale(user.bulk / 25).renderShort(), ` with your ${user.bulk} `, new FAElem('fas fa-weight-hanging')) } }) this.name = 'Belly Crush' this.desc = 'Use your weight!' @@ -63,7 +64,7 @@ class CrushAction extends EatenAction { lines: POVPair = new POVPair([ [[POV.First, POV.Third], (user, target) => new LogLine(`You crush ${target.name} `)], [[POV.Third, POV.First], (user) => new CompositeLog(new LogLine(`${user.name.capital} crushes you; ${user.pronouns.subjective} ${user.pronouns.isPlural ? 'belch' : 'belches'} as ${user.pronouns.possessive} gut lets out a fatal CRUNCH `), new ImgElem('./media/cafat/images/crunch.webp'))], - [[POV.Third, POV.Third], (user, target) => new LogLine(`${user.name.capital} crushes ${target.name}; ${user.pronouns.subjective} ${user.pronouns.isPlural ? 'belch' : 'belches'} as ${user.pronouns.possessive} gut lets out a fatal CRUNCH `)] + [[POV.Third, POV.Third], (user, target) => new LogLine(`${user.name.capital} crushes ${target.name}; ${user.pronouns.subjective} ${user.pronouns.isPlural ? 'belch' : 'belches'} as ${user.pronouns.possessive} gut lets out a fatal CRUNCH `, new ImgElem('./media/cafat/images/belly-crush.webp'))] ]) constructor (container: VoreContainer) {