Mechanics
MythicProxy adds these mechanics to MythicMobs. Use them in a skill like any other mechanic. They require MythicMobs Premium.
| Mechanic | What it does |
|---|---|
| networkVariableSet | Sets a network variable |
| networkVariableAdd | Adds an amount to a number variable |
| networkVariableUnset | Removes a network variable from every server |
| networkSignal | Sends a signal to a player, a server or the whole network |
Targets
A mechanic runs once for each target of its targeter. If there is no target, for example when @PlayersInRadius finds nobody, it runs once with the caster as target. So a global networkVariableAdd with @PlayersInRadius{r=20} adds once per player in range, or once if nobody is in range. Use @self to run it exactly once.
After a trigger such as ~onInteract or ~onDeath, a line without a targeter targets the entity that triggered it.
With a targeter, such as @trigger or @PlayersInRadius, these mechanics skip players in creative or spectator mode. Add targetcreative=true to the mechanic to include them. A line without a targeter is not filtered this way.
Attributes
These mechanics take the universal attributes of MythicMobs mechanics, such as delay, repeat, cooldown and chance.
A line with a missing or wrong attribute is invalid: the console logs a warning when the skill loads, and the mechanic does nothing.