Kaynağa Gözat

Fix an error on Cafat

master
Fen Dweller 5 yıl önce
ebeveyn
işleme
2b12ef3e02
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      src/game/creatures/cafat.ts

+ 3
- 2
src/game/creatures/cafat.ts Dosyayı Görüntüle

@@ -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<Entity, Entity> = 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) {


Yükleniyor…
İptal
Kaydet