Skip to main content

Fix a MythicMobs skill that never fires on attack

Applies to: MythicMobs; match the linked maintainer documentation to your installed platform and release.
Documentation checked .

An attack skill can load without running when you expect it. Separate the mob definition, attack trigger and skill reference before changing damage or adding extra timers.

Check the installed content

MythicMobs separates mob definitions, skills, targeters and triggers. Keep the internal IDs stable while testing a behaviour change; changing a display name does not require replacing the mob ID. Use documentation for your installed MythicMobs release.

Work through the change

  1. Make a copy of the affected mob and its referenced skill under new test IDs. Remove unrelated skills from that copy so the result belongs to one trigger.
  2. Check the attack trigger against the installed-release reference: onAttack is the mob attacking, while onDamaged is the mob receiving damage. Confirm the named skill exists with matching spelling and case.
  3. Give the test skill an observable harmless action supported by your release, such as a message. Keep damage, summons and command rewards out of this first test.
  4. Spawn one test mob in an enclosed area and let it attack an ordinary test player. Separately have the player hit the mob as the damaged-event control, recording who attacks and sees the diagnostic action.

Verify the result

The diagnostic action should run for the intended attack event, once per expected occurrence. Add the original skill actions back one at a time and repeat the same encounter after each addition.

If the result differs

If the action never appears, read the first load error and inspect any conditions on the skill line. If it appears on the wrong participant, investigate the targeter rather than duplicating the trigger.

Keep a recovery path

Remove the test mob and restore the original definition if the encounter becomes noisy. Keep the modified skill out of production until the harmless test works; restarting a server does not repair a misspelled skill reference.

References and related help

Check the maintainer reference: MythicMobs documentation, MythicMobs documentation.

Before changing live data, read how to keep a completed recovery copy. For startup errors, use the log collection guide.