Skip to content

MythicMobs Integration

EmakiAttribute integrates with MythicMobs for attribute damage mechanics, attribute conditions, and mob attribute configuration.

MythicMobs is a soft dependency. If it is not installed, related features are skipped.

Skill mechanic: emaki_damage

Aliases: emakiattribute_damage, attribute_damage.

ParameterTypeDefaultDescription
damage / basedoubleskill powerBase damage.
damage_typestringDamage type id, such as physical or spell.
allow_criticalbooleantrueWhether critical hits are allowed.
allow_target_dodgebooleanfalseWhether target dodge is allowed.
calculate_target_defensebooleantrueWhether target defense is calculated.
trigger_mythic_on_damagedbooleanfalseWhether MythicMobs on-damaged behavior is triggered.

Example:

yaml
FireBlast:
  Skills:
    - emaki_damage{damage=50;damage_type=spell;allow_critical=true} @target

Condition: emaki_attribute

Aliases: emakiattribute_attribute, attribute_value, attribute_resource.

ParameterDescription
attributeAttribute id when checking an attribute value.
resourceResource id when checking a resource value.
fieldResource field: current, max, default, bonus, or percent.
operatorComparison operator.
valueComparison value.
value_2Second value for between.

Operators include >, >=, <, <=, !=, and between; aliases include gt, gte, lt, lte, and ne.

yaml
Conditions:
  - emaki_attribute{resource=health;field=percent;operator=<;value=30} true

Mob attributes

MythicMobs mobs can define an EmakiAttribute section:

yaml
FireDragon:
  Type: ENDER_DRAGON
  Health: 500
  EmakiAttribute:
    - physical_attack: 100
    - physical_defense: 50
    - spell_attack: 80
    - health: 500

Attributes are synchronized when Mythic mobs spawn, and active Mythic mobs are resynced after MythicMobs reloads.