ThePredictdocs v0.0.1 RC

Reference

Profile reference

parts changing soon

Every key of a ThePredict profile, plus the keys ThePredict reads from the MythicMobs mob file, with type, default and range.

A profile file is a .yml or .yaml file in plugins/MythicMobs/AIConfig/Profiles/ that starts with schemaVersion: 2 and holds one or more profiles. Each profile is keyed by its ID (snake_case is recommended). For the concepts behind these keys, start with Profiles, tactics & contexts.

Tip Strict by design

An unknown key is an error that names the file and the path (is not a known field), and a profile with an error is skipped while the others keep loading. Values a profile does not set come from profileDefaults in config.yml, and no profile can widen the global decision.* limits.

Note off and on need no quotes

YAML reads a bare off or on as a boolean; every mode key of a profile reads it back as off or on, so Native: off and Native: "off" mean the same.

Note Keys with no effect yet

A few keys are accepted and validated but not used by this build. They are marked no effect yet below; when a profile gives one of them a value other than its default, the profile still loads and the console logs <file>: <profile>.<path>: has no effect in this build.

A profile that uses most sections
AIConfig/Profiles/guardian_full.ymlYAML
schemaVersion: 2
guardian_full:
  MythicID: ThePredictGuardian
  TypeOfMythicID: MOB
  Type: NORMAL
  Objective: Protect the altar and punish players who attack it from range
  Choices:
    melee: { MythicID: ThePredictGuardianMelee, TypeOfMythicID: SKILL, RequiresTarget: true }
    ranged: { MythicID: ThePredictGuardianRanged }
    defense: { MythicID: ThePredictGuardianDefense, RequiresTarget: false }
    punch: { Kind: VANILLA_MELEE }
  Tactics:
    press_and_strike: { Movement: APPROACH, Choice: melee, Priority: 70 }
    brawl: { Movement: APPROACH, Choice: punch, Priority: 40 }
    keep_distance_and_shoot:
      Movement: KEEP_DISTANCE
      Choice: ranged
      Description: Stay outside melee reach and shoot while the target approaches
      Priority: 60
    retreat_and_defend: { Movement: RETREAT, Choice: defense, Priority: 90 }
    flank_and_strike: { Movement: FLANK, Choice: melee }
    hold: { Movement: HOLD, Description: Wait for the target to come closer, Priority: 10 }
  Contexts:
    wounded:
      Conditions:
      - healthpercent{p=<30%}
      Priority: 95
      Tactics: [retreat_and_defend, keep_distance_and_shoot]
    idle:
      Priority: 10
      Tactics: [hold]
      DirectTactic: hold
  Movement:
    MeleeReach: 2.5
    RangedReach: 16
    Band: { Inner: 5, Outer: 9 }
    Retreat: { Distance: 10, Speed: 1.2 }
    Approach: { Speed: 1.15 }
    Arena: { Radius: 24 }
  Health: { Critical: 0.3, Wounded: 0.6 }
  Threat: { AssistsOthers: 1.5, RangedHarass: 1.0, BlockedHits: 0.25, UnreachableDecayPerSecond: 2.0, MaxPerWindow: 20.0 }
  BaseAI:
  - 1 meleeAttack
  - 2 randomStroll
  Timing: { MinimumConfidence: 0.45, SwitchMargin: 0.15, QuestionDetail: full, FitChecks: false, CastMode: any_ready, ReadyHorizon: 0 }
  Participants:
    PlayerGameModes: [SURVIVAL, ADVENTURE]
    Entities:
      Allow: ['kind:MONSTER', 'faction:altar_raiders']
      Deny: ['category:ANIMAL']
      PerceiveNonTargets: false

Mob file keys

These keys go in the MythicMobs mob file (plugins/MythicMobs/Mobs/*.yml), next to Type and Health, not in the profile. A wrong value is a catalog error that names the mob, and the mob stays unbound.

plugins/MythicMobs/Mobs/MyBoss.ymlYAML
MyBoss:
  Type: ZOMBIE
  Health: 200
  Predictor: true
  PredictorDifficulty: Difícil
  PredictorEntropy: false
Type
boolean
Default
false

In the MythicMobs mob file. Turns ThePredict on for this mob. The mob also needs a valid profile whose MythicID names it. Any value other than true or false is a catalog error (<Mob>.Predictor: must be true or false). With false, or without the key, the mob is a plain MythicMobs mob.

Type
boolean
Default
false

In the mob file. With true (and Predictor: true), this mob may also explore other tactics against players, to collect learning data (see Learning & training). Players do not see it. Remove the key to turn it off; there is no command or global switch. PredictorTraining: true without Predictor: true is a catalog error.

PredictorDifficultychanging soon
Type
text
Values
Fácil, Normal, Difícil, Caos, Vacío (case and accents ignored: facil and Dificil work)
Default
difficulty.defaultPreset (normal)

In the mob file, with Predictor: true. Difficulty preset of this mob: the target length of a whole fight against players. Another value is a catalog error and the mob stays unbound. See Difficulty.

PredictorEntropychanging soon
Type
boolean
Default
false

In the mob file, with Predictor: true. Opt-in lethal mode: the mob always plays at full pressure and its reaction, adaptation and replanning times shrink during the fight down to the preset's floor. It never reads hidden player input. See Difficulty.

Profile root

Type
text
Required
yes

Exact MythicMobs mob ID this profile controls. IDs are case-sensitive; when the case is the only difference, the error suggests the right spelling (unknown mob 'guardian'; IDs are case-sensitive, did you mean 'Guardian'?). Two profiles for the same mob are both excluded.

Type
text
Values
MOB

Kept for compatibility with old profiles. Only MOB.

Type
text
Values
NORMAL

Profile mode. Only NORMAL in this release.

Type
text
Required
yes

What the mob tries to achieve, in short, clear English. It reaches Jev with every question. The catalog warns, without blocking, when the text may not be English.

Type
section

The skills (or the vanilla hit) the tactics can use, keyed by a choice ID of your own ([a-z][a-z0-9_]{0,39}). Choice IDs never reach Jev. See Choices.<id>.* below.

Type
section
Range
1 – 255 tactics
Required
yes

What Jev or the local planner can choose. The tactic ID is the option name Jev reads, so make it describe the action in English. See Tactics.<id>.*.

Type
section
Range
up to 16 contexts

Situations that limit which tactics are eligible, written with MythicMobs conditions or as shortcut contexts. See Contexts.<id>.*.

Type
section

Distances and speeds of the movements. Values it does not set come from profileDefaults.

Type
section

Health thresholds of the CRITICAL and WOUNDED bands.

Type
section

Weights of the enriched threat ThePredict adds to the MythicMobs threat table. See Targets, participants & threat.

Type
list
Default
the mob's AIGoalSelectors, or 0 meleeAttack and 1 randomStroll

Lines in MythicMobs AIGoalSelectors syntax: what the mob does at level 4 (BASE), when ThePredict does not control it. A clear line is dropped. If a line names a goal MythicMobs does not know, the installation is refused and the mob keeps its MythicMobs AI.

YAML
BaseAI:
- 1 meleeAttack
- 2 randomStroll
Type
section

Confidence, switch margin, question detail, casting and the per-tick layer of this profile.

Type
section

Which reaction bands run before the tactic's own skill.

Type
section

Which players and other entities the mobs of this profile may perceive, target and fight. Without it, the global participants section applies. See Targets, participants & threat.

Difficultychanging soon
Type
section

Tuning of the target-time controller for this profile. See Difficulty.

Type
section

Stance sharing and timing for this profile. See Stances, tells & poise.

Telegraphchanging soon
Type
section

Tell enforcement and feints for this profile. See Stances, tells & poise.

Type
section

Poise and stagger. Without this section the mob has no poise and cannot be staggered.

Type
section

Terrain reading for this profile. See Zones & terrain.

Type
section

Group coordination for this profile. See Groups.

Type
section

Enemy pattern reading for this profile. See Patterns.

Decisionno effect yet
Type
section

Per-profile overrides of pruning, option cap, candidate scoring and diversity.

No effect in this build: the section is validated and kept for overlays, but this build decides with the global decision.* keys. Each of its keys logs a warning when the profile loads if it asks for anything other than inherit.

Choices

Choices.<id> — one entry per skill (or vanilla hit) the tactics can use. The ID is yours: [a-z][a-z0-9_]{0,39}, local to the profile, never sent to Jev.

Type
text
Values
MYTHIC_SKILL, VANILLA_MELEE
Default
MYTHIC_SKILL
MYTHIC_SKILL casts a MythicMobs skill. VANILLA_MELEE deals a vanilla hit (never farther than Movement.MeleeReach, at most one hit every 20 ticks, like vanilla) and takes no MythicID.
Type
text
Required
with MYTHIC_SKILL

Exact MythicMobs skill ID (case-sensitive). The skill should declare an Intention line (see Skills & intents). Must be absent for VANILLA_MELEE.

Type
text
Values
SKILL

Kept for compatibility. Only SKILL.

Type
boolean
Default
true

Whether the choice needs a target. A self-heal or a self-buff is usually false.

Type
integer
Default
0
Range
0 or more
Unit
ticks

Extra cooldown per mob, for compatibility only. Prefer the skill's native Cooldown (and Charges), which ThePredict reads and respects.

Type
section
Administrator override, not for authors. A full typed purpose that replaces the skill's Intention line for this choice (the binder warns Choices.<id>.Purpose overrides the Intention of skill '<S>'). It is the only form that takes numbers (Reach, Radius, WindUp). See Skills & intents.
Type
section

Overrides what ThePredict deduces about this skill's tell: Danger, Answer and RecoveryTicks.

Type
text
Values
NONE, KNOCKBACK, STRONG_PUSH, PULL, SELF_FORWARD, SELF_BACKWARD, SELF_OTHER

Overrides how ThePredict reads the skill's push (it reads damage knockback, throw, leap, explosions and pulls). A skill with nested skills, projectiles or auras is assumed to KNOCKBACK; set Displacement: NONE if it does not push.

Type
boolean

Overrides whether ThePredict thinks the skill can reach allies (it reads targeters such as @MobsInRadius, @Parent or @Children). Matters for the SUPPORT group role.

Purpose (administrator override)

Choices.<id>.Purpose replaces the skill's Intention line for that choice. It is internal data for an administrator who must tune one mob; authors should write the Intention line instead (see Skills & intents).

Type
list
Values
DAMAGE, CONTROL, GAP_CLOSE, ESCAPE, DEFENSE, SUSTAIN, BUFF, DEBUFF, SUMMON, ZONE, INTERRUPT, FINISHER, OPENER
Range
1 – 3 roles
Required
yes

What the skill is for. The first role is the primary one.

Type
text
Values
MELEE, PROJECTILE, HITSCAN, AREA_AROUND_SELF, AREA_AT_TARGET, CONE, SELF
Required
yes

How the skill reaches its target.

Type
decimal
Range
greater than 0, at most 64
Unit
blocks

Reach of the skill. Required with MELEE and CONE; not allowed with SELF and AREA_AROUND_SELF. A reach beyond Movement.RangedReach warns that Jev reads it as beyond ranged reach.

Type
decimal
Range
greater than 0, at most 16
Unit
blocks

Area radius. Required with AREA_AROUND_SELF and AREA_AT_TARGET; not allowed otherwise.

Type
integer
Default
0
Range
0 – 100
Unit
ticks

Wind-up before the hit lands.

Type
text
Values
NONE, LOW, MEDIUM, HIGH

Damage tier. Required when Roles has DAMAGE or FINISHER, and then it cannot be NONE.

Type
list
Values
TARGET_LOW_HEALTH, TARGET_SHIELDING, TARGET_FLEEING, SELF_LOW_HEALTH, ENEMIES_GROUPED, TARGET_AT_RANGE, TARGET_IN_MELEE
Range
0 – 4 entries

Situations where the skill works best.

Type
list
Values
LEAVES_CASTER_EXPOSED, ROOTS_CASTER, SELF_DAMAGE, NEEDS_LINE_OF_SIGHT, SLOW_PROJECTILE, BLOCKED_BY_SHIELD, HITS_ALLIES
Range
0 – 4 entries

What can go wrong with it.

Type
boolean
Default
false

The skill goes through shields. Cannot be combined with the BLOCKED_BY_SHIELD risk.

Choice telegraph

Changing soon

Tells will be redefined in an upcoming release.

Type
text
Values
NONE, LIGHT, MEDIUM, HEAVY, SEVERE

Danger class of the hit, instead of the one ThePredict deduces from the skill. MEDIUM and above are enforced against players.

Type
text
Values
BLOCK, DODGE, BACK_OFF, BREAK_SIGHT, INTERRUPT

What the target should do to avoid the hit. It wins over the skill's ANSWER_* primitive and over the answer deduced from the delivery, and decides which PREDICTOR_TELL_* signal is sent.

Type
integer
Range
0 – 100
Unit
ticks

Recovery after the hit, instead of the one read from the skill's trailing delay lines.

Tactics

Tactics.<id> — 1 to 255 tactics. The ID is the option name Jev reads: [a-z][a-z0-9_]{2,39} (3 to 40 characters, starting with a letter). none and the prefixes debug_, tell_ and stance_ are reserved.

Type
text
Values
APPROACH, KEEP_DISTANCE, RETREAT, HOLD, FLANK, NONE
Required
yes

How the mob moves while the tactic runs (see Movement & goals). FLANK requires a Choice. Species with a Brain only accept NONE.

Type
text

ID of the choice this tactic casts. A tactic without a choice only moves.

Type
text

What the tactic does, in English, for Jev. With standard and full detail it is sent whole; with compact only an excerpt is used, when needed to tell two options apart. Put the essential first.

Type
integer
Default
50
Range
0 – 100

Order of the local planner: among the eligible tactics, the highest priority wins. Also decides which options are kept when a question is over the option cap.

Type
text
Values
NEUTRAL, PRESSING, GUARDED, EVASIVE

Base stance while this tactic runs, instead of the one Stances.ByMovement gives its movement.

Contexts

Contexts.<id> — up to 16 contexts. The ID follows the choice ID rules. idle, attacking_phase, tracking_enemy and low_health_phase are shortcut contexts computed by ThePredict and take no Conditions (see Profiles, tactics & contexts).

Type
list
Required
except in shortcut contexts

MythicMobs condition lines, at least one; all must hold. Only entity conditions work here (they are evaluated on the mob itself, outside any skill). Not allowed in the shortcut contexts idle, attacking_phase, tracking_enemy and low_health_phase.

YAML
Conditions:
- healthpercent{p=<30%}
Type
integer
Default
50
Range
0 – 100

When several contexts are active, the highest priority decides. With equal priorities, the one declared first wins and the catalog warns.

Type
list
Required
yes

Tactics eligible while this context is active, at least one, no repeats.

Type
text

Optional. Must be listed in Tactics. In local mode this tactic is picked directly while the context is active.

Movement

Type
section

The keep-distance band: Inner and Outer.

YAML
Band: { Inner: 5, Outer: 9 }
Type
section
Distance and Speed of RETREAT.
Type
section
Speed of APPROACH, KEEP_DISTANCE and the walk back to the arena.
Type
section

An optional arena around the spawn point.

Type
decimal
Range
greater than 0
Unit
blocks

Melee distance: the MELEE band, where APPROACH stops, and the reach of melee skills.

Type
decimal
Range
at least Band.Outer
Unit
blocks

Up to this distance the target is in the RANGED band; farther, BEYOND.

Band

Type
decimal
Range
greater than MeleeReach
Unit
blocks

Inner edge of KEEP_DISTANCE: closer than this, the mob backs away.

Type
decimal
Range
greater than Band.Inner
Unit
blocks

Outer edge of KEEP_DISTANCE: farther than this, the mob closes in.

Retreat

Type
decimal
Range
greater than 0
Unit
blocks

Distance a retreat tries to open.

Type
decimal
Range
0.1 – 3
Unit
speed multiplier

Speed while retreating.

Approach

Type
decimal
Range
0.1 – 3
Unit
speed multiplier

Speed while approaching, keeping distance and returning to the arena.

Arena

Type
decimal
Default
no arena
Range
greater than Band.Outer
Unit
blocks

When set, the mob walks back to its spawn point whenever it gets farther than this radius.

Health

Type
decimal
Range
greater than 0, below Wounded

At or below this ratio of health (health plus absorption over max health) the band is CRITICAL, for the mob and for players.

Type
decimal
Range
below 1

At or below this ratio (and above Critical) the band is WOUNDED; above it, HEALTHY.

Threat

Type
decimal
Default
1.5
Range
0 or more

When a player heals or buffs other participants with a splash or lingering potion: weight × participants reached, added to that player in the table of every active member of the encounter.

Type
decimal
Default
1.0
Range
0 or more

Multiplies the final damage of each projectile from a player who is not the mob's target, in that mob's table.

Type
decimal
Default
0.25
Range
0 or more

Points per hit of the mob that the player blocks with a shield, in that mob's table.

Type
decimal
Default
2.0
Range
0 or more

Points per second the target loses while the mob cannot reach it on foot (after two decisions following a path that does not reach it). Ignored, with a warning, when the mob has ThreatTable.DecayUnreachable: true, so threat is not removed twice.

Type
decimal
Default
20.0
Range
greater than 0

Cap of points added per mob table, player and fact in each 100-tick window.

Timing

The heartbeat, the decision intervals and the contingencies are global (decision.* and profileDefaults.*); a profile cannot change them.

Type
decimal
Range
0 – 0.99

Answers from Jev below this confidence are discarded. Raise it for a boss whose mistakes are expensive: more doubtful answers are dropped and the mob plays locally more often.

Type
decimal
Range
0 – 0.99

To switch tactic, the new one must beat the current one by this probability margin.

Type
text
Values
compact, standard, full

How much each option of this profile tells Jev, and its cost (see Jev connection). Never widens the global token limits.

Type
boolean
Default
decision.fitChecks (false)

Adds a yes/no "does this option fit now?" question per option, which can veto an option or rescue a low-confidence answer. Sent only with QuestionDetail: full (with another level it is ignored and the load warns). An error while decision.fitChecksAllowed is false.

Type
text
Values
any_ready, intent_only
Default
decision.castMode (any_ready)
any_ready: every skill with a valid Intention line fires on the first tick it is ready, besides the tactic's choice. intent_only: only the tactic's choice fires. The profile wins over the global value.
Type
integer
Range
0 – 100
Unit
ticks

Ticks ahead a skill still counts as available for the question. Only the question uses it, never the local planner.

Type
text
Values
casts, reactions, full
Default
decision.tickLayer.mode (reactions)

Per-tick layer of this profile. Asking for more than the global mode warns and uses the global one; an overlay that asks for more is lowered the same way.

Type
text
Values
all, survival, none
Default
all

Which reaction bands are evaluated (see How a fight runs).

Type
integer
Default
0
Range
0 – 20
Unit
ticks

A reaction's trigger must hold this long before the reaction fires. Against players, the difficulty preset's reaction floor also applies.

Type
text
Values
reactive, standard
Default
reactive
reactive keeps the intent short (Timing.IntentHorizon) and extends it while nothing changes; it asks more often and costs more. standard is the saving mode: intents last the usual time.
Type
integer
Default
6
Range
4 – 20
Unit
ticks

Shortest gap between two reactive questions.

Type
integer
Default
smaller of 10 and profileDefaults.maximumIntentDurationTicks (10)
Range
4 – 200, and at most maximumIntentDurationTicks
Unit
ticks

Length of a reactive intent. Ignored, with a warning, under Cadence: standard.

Reactions

Type
list
Values
survival, opportunity, spacing
Default
[survival, opportunity]

Reaction bands tried before the tactic's own skill.

Participants

Type
list
Values
SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR
Default
participants.playerGameModes ([SURVIVAL, ADVENTURE])

Must be a subset of the global list; a mode outside it is an error. []: the mobs of this profile never perceive or attack players.

Type
section

Non-player entities: Allow, Deny, PerceiveNonTargets.

Entities

Type
list
Default
[]
Range
up to 16 selectors
Unit
selectors

Selectors added to participants.entities.allow. Ignored with a warning when participants.entities.profilesMayAllow is false.

Type
list
Default
[]
Range
up to 16 selectors
Unit
selectors

Selectors added to participants.entities.deny; they never take part.

Type
boolean
true (only allowed while the global key is true): the mobs also perceive allowed entities nearby, not only their target.

Difficulty

Changing soon

Difficulty is about to be redefined as levels of intelligence and aggression. This section documents how the current build works.

Difficulty.Modechanging soon
Type
text
Values
auto, bench, player

How this profile's mobs choose their pressure (see difficulty.defaultMode).

Type
integer
Default
the preset's target time
Range
5 – 3600
Unit
seconds

Target length of a whole fight against players, instead of the preset's. A world override with a preset beats it.

Difficulty.Tolerancechanging soonno effect yet
Type
decimal
Range
0.05 – 0.5

Band around the target time inside which the in-fight controller does not react.

No effect in this build: the controller always uses difficulty.toleranceRatio. No warning is logged.

Difficulty.MinRungchanging soon
Type
integer
Default
0
Range
0 – 8

Lowest pressure rung the controller may use.

Difficulty.MaxRungchanging soon
Type
integer
Default
8
Range
0 – 8, at least MinRung

Highest pressure rung the controller may use.

Type
integer or text
Default
auto
Range
0 – 8, or auto

Rung at the start of a fight. auto uses what the mob learned from earlier fights.

Difficulty.InFightchanging soon
Type
boolean
Default
true

Whether the in-fight controller may move the rung during the fight.

Difficulty.Learnchanging soon
Type
boolean
Default
true

Whether the between-fights learning may move the starting rung.

Type
text
Values
off, spawn
Default
off

With spawn (and difficulty.nativeLevelAllowed true), five fights in a row at an extreme may move the MythicMobs level of the next spawn by ±1.

Stances

Without this section the profile inherits stance.* from config.yml. See Stances, tells & poise.

Type
text
Values
hybrid, read, write, off
Default
stance.nativeMode (hybrid)

How the stance is shared with MythicMobs (see stance.nativeMode).

Type
integer
Range
4 – 200
Unit
ticks

Shortest time a base stance holds before it changes.

Type
integer
Range
1 – 7
Unit
cycles

Reactive cycles in a row (2 ticks each) a new base stance must be asked for before it applies. The survival reaction EVADE_CRITICAL skips this wait and MinDwellTicks.

Type
map
Default
empty (no filter)

Base stance → roles that CastMode: any_ready may fire in that stance (DAMAGE, DEFENSE, ...). The tactic's own choice is never filtered. An unknown role is an error.

YAML
Casts:
  GUARDED: [DEFENSE, SUSTAIN]
  PRESSING: [DAMAGE, CONTROL, GAP_CLOSE]
Type
map
Default
APPROACH and FLANK → PRESSING; HOLD → GUARDED; RETREAT → EVASIVE; KEEP_DISTANCE and NONE → NEUTRAL

Base stance of each movement, for tactics without their own Tactics.<id>.Stance.

YAML
ByMovement:
  APPROACH: PRESSING
  HOLD: GUARDED
  RETREAT: EVASIVE
Type
list
Default
[]

Contexts of this profile that enrage the mob while they are active: predictorstance{s=enraged} is true, and the mob receives PREDICTOR_STANCE_ENRAGED on entering and PREDICTOR_STANCE_CALM on leaving. An unknown context is an error.

Type
list
Default
[]

Exact values of the mob's own MythicMobs stance that also enrage it. Only with Native: hybrid or write; with read or off the load warns.

Stances.Describeno effect yet
Type
boolean
Default
false

Meant to add a stance phrase to the option text Jev reads for tactics with Stance:.

No effect in this build: the phrase exists in the code but is not sent. A value other than the default logs a warning when the profile loads: <file>: <profile>.Stances.Describe: has no effect in this build.

Telegraph

Changing soon

Tells and telegraphing will be redefined in an upcoming release.

Without this section the profile inherits telegraph.* from config.yml.

Type
text
Values
enforce, off
Default
telegraph.againstPlayers (enforce)

Enforce tell minimums against players (see telegraph.againstPlayers).

Type
integer
Default
100
Range
50 – 100
Unit
percent

Chance that a tell is real. With 100 there are no feints; lower values let the mob feint.

Type
integer
Default
25
Range
0 – 50
Unit
percent

The same chance while Entropy is on.

Type
text
Values
off, enforce

Enforce tell minimums against non-player targets.

Type
text
Values
lead, immediate
Default
lead

What happens when a skill's wind-up is shorter than its minimum against a player: lead sends the tell first and casts when the minimum is met; immediate casts at once with the author's wind-up (the binder warns, and status counts those hits).

Type
integer
Default
20
Range
0 – 100
Unit
ticks

Recovery after a skill with RISK_LEAVES_CASTER_EXPOSED or RISK_ROOTS_CASTER when neither the choice nor the skill gives one.

Poise

Profile only, with no global keys. Without this section the mob has no poise and cannot be staggered. The defaults below apply to keys left out of a Poise section.

Type
decimal
Default
0.15
Range
0.02 – 1

Share of max health that must be dealt to break poise.

Type
integer
Default
60
Range
0 – 400
Unit
ticks

Without damage for this long, poise starts to recover.

Type
decimal
Default
0.05
Range
0 – 1

Share recovered every second after the delay.

Type
decimal
Default
1.5
Range
1 – 3

Damage taken during a wind-up counts this much more.

Type
decimal
Default
0.05
Range
0 – 0.5

Poise the mob loses when the target blocks one of its HEAVY or SEVERE hits with a shield.

Type
integer
Default
30
Range
5 – 100
Unit
ticks

Length of a stagger: the mob casts nothing, does not react and ThePredict does not move it. A break during a wind-up interrupts it.

Type
integer
Default
100
Range
0 – 1200
Unit
ticks

After a stagger, poise does not fill for this long.

Zone

Type
text
Values
off, observe, guard, full
Default
zone.mode (observe)

Zone mode of this profile. It can only lower zone.mode; a higher value warns and uses the global one.

Type
integer
Range
8 – 64
Unit
blocks

Radius read around the fight. With an arena, the zone uses the arena radius plus 4 (capped by zone.maxRadiusBlocks).

Type
boolean
Default
true

Whether terrain facts are published (to Jev, predictorzone and <caster.predictor.zone>) when the effective mode is full.

Zone.HazardPushchanging soonno effect yet
Type
text
Values
off, exploit
Default
off

With exploit, the mob may push a non-player target into a hazard (lava, void, a deadly drop). It never does so against a player.

No effect in this build: the hazard-push reaction is masked at every pressure rung, so exploit changes nothing. Only Entropy against players, with a zone mode of guard or full, allows pushes into hazards, whatever this key says.

Group

Group.Modechanging soon
Type
text
Values
off, fair, coordinate, full
Default
group.mode (fair)

Group mode of this profile. It can only lower group.mode; a higher value warns and uses the global one.

Type
text

Squad name ([a-z][a-z0-9_]{0,39}). When choosing a leader, a bigger squad wins ties of LeaderPriority.

Type
integer
Default
0
Range
0 – 100

Leader election: the member with the highest priority leads, then the one with the biggest squad, then the healthiest. Without any priority or squad in the encounter there is no leader.

Type
integer
Default
1
Range
1 – 4

How much of a player's attacker cap this mob takes (a big boss can count as 2 or more).

Type
list
Values
pressure, flank, ranged, support, control, guard, reserve
Default
empty: every role the profile can fill

Roles the group may give this mob. reserve is always possible. Each named role must be one the profile can fill, or the load fails. Roles only exist while the group follows a plan (see Groups).

Type
text
Values
succeed, break
Default
succeed
succeed elects a new leader. break breaks the group for group.brokenTicks.
Type
text
Values
free, fair
Default
free
free: the group's fairness limits only record against non-player targets. fair: they apply against entities too.
Type
text
Values
members, plan_only, plan_and_leader, leader_only
Default
plan_and_leader for the leader in full mode; otherwise members

Read from the leader's profile in full mode: which questions the encounter's request carries. plan_and_leader: the group plan question and the leader's own question. plan_only: only the plan question. leader_only: only the leader's question. members: one question per member and no plan question, as in fair and coordinate. Members that are not asked keep playing locally. See Groups.

Group.PlanQuestionno effect yet
Type
text
Values
on_change, every_heartbeat
Default
on_change

Meant to choose when the group plan question is attached: only when the group changes, or on every heartbeat.

No effect in this build: the plan question goes in every request that carries it, whatever this key says. A value other than the default logs a warning when the profile loads: <file>: <profile>.Group.PlanQuestion: has no effect in this build.

Patterns

Type
text
Values
off, observe, bias, full
Default
patterns.mode (observe)

Pattern mode of this profile. It can only lower patterns.mode; a higher value warns is above Patterns.Mode and uses the minimum.

Type
text
Values
free, fair
Default
free
free: against non-player targets the exploitation quota does not apply. fair: it applies against entities too.
Type
boolean
Default
true

In full mode, whether short pattern phrases reach Jev.

Decision

The four keys are parsed and validated (for example MaxOptions must be 0 or 2 to 8) and kept for overlays, but this build keeps using the global decision.* values in fights. A value other than inherit (or 0) logs a warning when the profile loads.

Decision.Pruningno effect yet
Type
text
Values
inherit, off, safe
Default
inherit

Per-profile pruning; inherit keeps decision.pruning.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the default logs a warning when the profile loads: <file>: <profile>.Decision.Pruning: has no effect in this build.

Decision.MaxOptionsno effect yet
Type
integer
Default
0
Range
0 (inherit), or 2 – 8

Per-profile option cap; 0 keeps decision.maxOptionsPerQuestion.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the default logs a warning when the profile loads: <file>: <profile>.Decision.MaxOptions: has no effect in this build.

Type
text
Values
inherit, priority, utility, learned
Default
inherit

Per-profile candidate scoring; inherit keeps decision.candidateScoring.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the default logs a warning when the profile loads: <file>: <profile>.Decision.CandidateScoring: has no effect in this build.

Decision.Diversityno effect yet
Type
text
Values
inherit, off, on
Default
inherit

Per-profile candidate diversity; inherit keeps the global behavior.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the default logs a warning when the profile loads: <file>: <profile>.Decision.Diversity: has no effect in this build.

ThePredict 0.0.1 · release candidate. These pages describe this build, checked against its source code; it has not been verified on a live server yet.

ThePredict is an independent MythicMobs addon. Jev is TypeSafe's decision model; naming it does not imply endorsement. Fonts: Pixelify Sans, Inter and JetBrains Mono, under the SIL Open Font License.