|
|
|
@@ -1,9 +1,9 @@ |
|
|
|
import { FavorEscapedPrey, VoreAI } from '@/game/ai' |
|
|
|
import { CompositionAction, DamageType, Side, Stat, StatDamageFormula, Vigor } from '@/game/combat' |
|
|
|
import { CompositionAction, ConstantDamageFormula, Damage, DamageType, FractionDamageFormula, Side, Stat, StatDamageFormula, Vigor } from '@/game/combat' |
|
|
|
import { PairCondition, TogetherCondition } from '@/game/combat/conditions' |
|
|
|
import { ConsumeConsequence } from '@/game/combat/consequences' |
|
|
|
import { ConsumeConsequence, DamageConsequence, DrainConsequence, StatusConsequence } from '@/game/combat/consequences' |
|
|
|
import { LogGroupConsequence } from '@/game/combat/groupConsequences' |
|
|
|
import { SideTargeter } from '@/game/combat/targeters' |
|
|
|
import { PreyTargeter, SideTargeter, SoloTargeter } from '@/game/combat/targeters' |
|
|
|
import { Creature } from '@/game/creature' |
|
|
|
import { LogLine } from '@/game/interface' |
|
|
|
import { ImproperNoun, MalePronouns, ProperNoun } from '@/game/language' |
|
|
|
@@ -54,6 +54,25 @@ export default class Inazuma extends Creature { |
|
|
|
} |
|
|
|
)) |
|
|
|
|
|
|
|
this.actions.push(new CompositionAction( |
|
|
|
"Level Drain", |
|
|
|
"Steal stats from prey", |
|
|
|
{ |
|
|
|
conditions: [new PairCondition()], |
|
|
|
targeters: [new PreyTargeter(stomach)], |
|
|
|
consequences: [new DrainConsequence( |
|
|
|
new FractionDamageFormula([ |
|
|
|
{ fraction: 0.25, target: Stat.Power, type: DamageType.Pure }, |
|
|
|
{ fraction: 0.25, target: Stat.Toughness, type: DamageType.Pure }, |
|
|
|
{ fraction: 0.25, target: Stat.Agility, type: DamageType.Pure }, |
|
|
|
{ fraction: 0.25, target: Stat.Reflexes, type: DamageType.Pure }, |
|
|
|
{ fraction: 0.25, target: Stat.Charm, type: DamageType.Pure }, |
|
|
|
{ fraction: 0.25, target: Stat.Willpower, type: DamageType.Pure } |
|
|
|
]) |
|
|
|
)] |
|
|
|
} |
|
|
|
)) |
|
|
|
|
|
|
|
this.addVoreContainer(stomach) |
|
|
|
|
|
|
|
this.ai = null |
|
|
|
|