Feast 2.0!
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

39 строки
1.5 KiB

  1. import { NoPassDecider, AI } from '@/game/ai'
  2. import { CompositionAction, UniformRandomDamageFormula, Damage, DamageType, FractionDamageFormula, Side, Stat, StatDamageFormula, Vigor } from '@/game/combat'
  3. import { AttackAction } from '@/game/combat/actions'
  4. import { PairCondition, TogetherCondition } from '@/game/combat/conditions'
  5. import { ConsumeConsequence, DamageConsequence, DrainConsequence, StatusConsequence } from '@/game/combat/consequences'
  6. import { LogGroupConsequence } from '@/game/combat/groupConsequences'
  7. import { PreyTargeter, SideTargeter, SoloTargeter } from '@/game/combat/targeters'
  8. import { CompositionTest, OpposedStatScorer, TestCategory } from '@/game/combat/tests'
  9. import { Creature } from '@/game/creature'
  10. import { LogLine, nilLog } from '@/game/interface'
  11. import { ImproperNoun, MalePronouns, ProperNoun, Verb } from '@/game/language'
  12. import { anyVore, Stomach } from '@/game/vore'
  13. export default class Samuel extends Creature {
  14. constructor () {
  15. super(
  16. new ProperNoun("Samuel"),
  17. new ImproperNoun("wolf"),
  18. MalePronouns,
  19. {
  20. Power: 20,
  21. Toughness: 10,
  22. Agility: 30,
  23. Reflexes: 10,
  24. Charm: 30,
  25. Willpower: 15
  26. },
  27. anyVore,
  28. new Set(),
  29. 10
  30. )
  31. this.side = Side.Monsters
  32. this.ai = (new AI([new NoPassDecider()], this))
  33. this.actions.push(new AttackAction(new UniformRandomDamageFormula(new Damage({ type: DamageType.Slash, amount: 10, target: Vigor.Health }), 0.5), new Verb("claw", "claws", "claws", "clawed")))
  34. }
  35. }