|
|
@@ -1,8 +1,8 @@ |
|
|
import { Effective, Damage, DamageType, CompositionAction, StatDamageFormula, Action, Stat, Vigor, VoreStat } from '../combat' |
|
|
import { Effective, Damage, DamageType, CompositionAction, StatDamageFormula, Action, Stat, Vigor, VoreStat } from '../combat' |
|
|
import { TextLike } from '../language' |
|
|
import { TextLike } from '../language' |
|
|
import { Creature } from '../creature' |
|
|
import { Creature } from '../creature' |
|
|
import { TestCategory } from './tests' |
|
|
|
|
|
import { EnemyCondition, PairCondition, TogetherCondition } from './conditions' |
|
|
|
|
|
|
|
|
import { CompositionTest, OpposedStatScorer, TestCategory } from './tests' |
|
|
|
|
|
import { EnemyCondition, PairCondition, StatCondition, TogetherCondition } from './conditions' |
|
|
import { DamageConsequence, LogConsequence } from './consequences' |
|
|
import { DamageConsequence, LogConsequence } from './consequences' |
|
|
import { LogLine } from '../interface' |
|
|
import { LogLine } from '../interface' |
|
|
import * as Words from '../words' |
|
|
import * as Words from '../words' |
|
|
@@ -93,7 +93,8 @@ export class FlauntPerk extends Perk { |
|
|
conditions: [ |
|
|
conditions: [ |
|
|
new PairCondition(), |
|
|
new PairCondition(), |
|
|
new EnemyCondition(), |
|
|
new EnemyCondition(), |
|
|
new TogetherCondition() |
|
|
|
|
|
|
|
|
new TogetherCondition(), |
|
|
|
|
|
new StatCondition(VoreStat.Prey, 1) |
|
|
], |
|
|
], |
|
|
consequences: [ |
|
|
consequences: [ |
|
|
new LogConsequence( |
|
|
new LogConsequence( |
|
|
@@ -106,6 +107,18 @@ export class FlauntPerk extends Perk { |
|
|
] |
|
|
] |
|
|
) |
|
|
) |
|
|
) |
|
|
) |
|
|
|
|
|
], |
|
|
|
|
|
tests: [ |
|
|
|
|
|
new CompositionTest( |
|
|
|
|
|
[ |
|
|
|
|
|
new OpposedStatScorer( |
|
|
|
|
|
{ Charm: 1, Bulk: 0.01 }, |
|
|
|
|
|
{ Willpower: 1 } |
|
|
|
|
|
) |
|
|
|
|
|
], |
|
|
|
|
|
(user, target) => new LogLine(`${user.name.capital.possessive} predatory advances aren't enough to intimidate ${target.name.objective}.`), |
|
|
|
|
|
TestCategory.Vore |
|
|
|
|
|
) |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
)] |
|
|
)] |
|
|
|