Skill Mechanics

Skill Mechanics (or base skills) are simple skills that are built into MythicMobs. You can call these basic skills by themselves in your mob's Skill List, or you can create your own skill by combining these mechanics.

Some Mechanics are able to target Entities, Locations, or both! Some don't target anything. You control what your skill targets using a Targeter.

Targeted Mechanics

These skills usually target entities (players or other mobs), but some are able to target locations as well.

Mechanic Description
Add Tag Adds a scoreboard tag
Arrow Volley Fires a volley of arrows
Base Damage Deals a percentage-value of the mobs damage-capability
Command Executes a command for each target
Consume Deals damage and restores health per target hit
Give Currency Give money to a player. Requires Vault and a currency plugin
Take Currency Take money from a player. Requires Vault and a currency plugin
Damage Damages the target
Decapitate Drops a player head item based on target
Doppleganger Copies the appearance of the target player
Explosion Causes an explosion
Feed Feeds the target player
Force Pull Teleports the target to the mob
Glow Makes the target glow
Heal Heals the target
Heal Percent Heals the target for a percentage of its max-health
Ignite Sets the target on fire
JSON Message Sends a JSON-format message to the target player(s)
Leap Causes the mob to leap towards the target
Lightning Strikes lightning at the target
Message Sends a message to the target player(s)
Modify Target Score Modifies the score of the targeter
Mount Target Mounts the target
Percent Damage Deals damage equal to a percent of the player's max health
Potion Applies a potion effect to the target
Prison Imprisons the target inside a block
Pull Pulls the target towards the mob
Rally Causes other nearby mobs to attack the target
Random Message Sends a random message to the target player
Remove Removes the target mob
Remove Tag Removes a scoreboard tag
Run AI Goal Selector Change PathfinderAIGoals
Run AI Target Selector Change PathfinderTargetGoals
Send Action Message Sends an Actionbar Message to the target player
Set block type Change block type at target location
Set Gliding Makes the target glide if they have elytra
Set Owner Makes the target the owner of the casting mob
Send Title Message Sends a Title/Subtitle Message to the target player
Set Target Score Sets the score of the target
Set Stance Sets the stance of the target mob
Shoot Fireball Shoots a fireball at the target
Shoot Potion Throws a potion at the target
Shoot Skull Shoots a wither skull at the target
Signal Sends a signal to a mob
Spring Creates a temporary spring of liquid at the target
Summon Summons other mobs at the target
Teleport Teleports to the target
TeleportTo Teleports the target to a specified location
Threat Modifies the mob's threat towards the target
Throw Throws the target entity
Velocity Modifies the velocity of the target entity(s)

Non-Targeted Mechanics

These mechanics do not target anything or do not require/use a targeter. They are often run on the mob that is using the mechanic.

Mechanic Description
Disguise Changes the mob's disguise
Dismount Makes the mob dismount whatever it's riding
Eject Passenger Ejects anything riding the mob
Equip Equips an item
Global Cooldown Sets the mob's Global Cooldown
Jump Causes the mob to jump
Modify Global Score Modifies the global score
Modify Mob Score Modifies the score of the casting mob
Modify Score Modifies the score of a dummy player
Mount Summons another mob and mounts it
Remount Remounts the mob the caster originally spawned riding, if it is still alive
Set Global Score Sets the global score
Set Mob Score Sets the score of the casting mob
Set Level Changes the mob's level
Set Score Sets the score of a dummy player
Suicide Causes the mob to die
Undisguise Remove the mob's disguise
Weather Changes the weather

Special Mechanics

These skills have special advanced functions, and most are used to call other skills. If you specify a target, all other skills called by these will “inherit” the targets (if applicable).

Mechanic Description
Buff Add a buff to the targeted entity (working on the documentation)
Delay Delays execution of the current skill list
Missile Fires a homing missile
Projectile Fires a custom projectile towards the target
Shoot Shoots a projectile-item at the target
Skill Executes another skill
SudoSkill Makes the target execute a skill
Random Skill Executes a random skill from a list
Totem Creates a static totem at a location that pulses other skills

Location-Only Mechanics

These mechanics target a location either directly using the @Location targeter or indirectly using their own methods. Check each Mechanic for more details.

Mechanic Description
Activate Spawner Activates a MythicMobs spawner
Push Button Pushes a button @Location
Toggle Lever Toggles a lever @Location

Universal Attributes

The following attributes are applicable to all mechanics.

Attribute Shorthand Description Default
cooldown cd In seconds 0
delay Delays the execution of the mechanic 0
repeat How many times the mechanic should be repeated 0
repeatInterval How many ticks must elapse between repetitions 0

Upcoming Mechanics

These mechanics are currently being worked on and will be in future releases of the plugin. Some mechanics listed here are already included, but not yet ready for use.

Mechanic Description
BarTimer
Cast Causes the mob to “cast” a spell with various options.
Chain Create skills that bounces to additional targets.
Orbital Creates an orbiting projectile around a target
Set Health Changes the mob's health
Set Max Health Changes the mob's max health
Set Name Changes the mob's name
Stun Stuns the target
Swap Swaps locations with the target
Time Changes the time
skills/mechanics/start.txt · Last modified: 2017/12/26 20:09 by rickyling
GNU Free Documentation License 1.3
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0