Feast 2.0!
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

45 行
1.7 KiB

  1. import { Creature } from "../creature"
  2. import { Damage, DamageType, ConstantDamageFormula, Vigor, Side } from '../combat'
  3. import { ImproperNoun, FemalePronouns, Verb } from '../language'
  4. import { VoreType, Stomach, Bowels } from '../vore'
  5. import { AttackAction, TransferAction, FeedAction } from '../combat/actions'
  6. export class Dragon extends Creature {
  7. constructor () {
  8. super(new ImproperNoun('dragon', 'dragons'), new ImproperNoun('wolf', 'wolves'), FemalePronouns, { Toughness: 35, Power: 35, Reflexes: 15, Agility: 15, Willpower: 30, Charm: 20 }, new Set([VoreType.Oral, VoreType.Anal]), new Set([VoreType.Oral, VoreType.Anal]), 300)
  9. this.actions.push(
  10. new AttackAction(
  11. new ConstantDamageFormula(
  12. new Damage(
  13. { amount: 20, type: DamageType.Pierce, target: Vigor.Health }
  14. )
  15. ),
  16. new Verb("bite", "bites", "biting", "bit")
  17. )
  18. )
  19. this.side = Side.Monsters
  20. const stomach = new Stomach(this, 0.5, new ConstantDamageFormula(new Damage(
  21. { amount: 40, type: DamageType.Acid, target: Vigor.Health },
  22. { amount: 20, type: DamageType.Crush, target: Vigor.Stamina },
  23. { amount: 20, type: DamageType.Dominance, target: Vigor.Resolve }
  24. )))
  25. this.containers.push(stomach)
  26. const bowels = new Bowels(this, 0.5, new ConstantDamageFormula(new Damage(
  27. { amount: 10, type: DamageType.Crush, target: Vigor.Health },
  28. { amount: 25, type: DamageType.Crush, target: Vigor.Stamina },
  29. { amount: 50, type: DamageType.Dominance, target: Vigor.Resolve }
  30. )))
  31. this.containers.push(bowels)
  32. this.actions.push(new TransferAction(bowels, stomach))
  33. this.actions.push(new TransferAction(stomach, bowels))
  34. this.otherActions.push(new FeedAction(stomach))
  35. }
  36. }