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.
| Parameter | Type | Default | Description |
|---|---|---|---|
damage / base | double | skill power | Base damage. |
damage_type | string | — | Damage type id, such as physical or spell. |
allow_critical | boolean | true | Whether critical hits are allowed. |
allow_target_dodge | boolean | false | Whether target dodge is allowed. |
calculate_target_defense | boolean | true | Whether target defense is calculated. |
trigger_mythic_on_damaged | boolean | false | Whether MythicMobs on-damaged behavior is triggered. |
Example:
yaml
FireBlast:
Skills:
- emaki_damage{damage=50;damage_type=spell;allow_critical=true} @targetCondition: emaki_attribute
Aliases: emakiattribute_attribute, attribute_value, attribute_resource.
| Parameter | Description |
|---|---|
attribute | Attribute id when checking an attribute value. |
resource | Resource id when checking a resource value. |
field | Resource field: current, max, default, bonus, or percent. |
operator | Comparison operator. |
value | Comparison value. |
value_2 | Second 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} trueMob 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: 500Attributes are synchronized when Mythic mobs spawn, and active Mythic mobs are resynced after MythicMobs reloads.