Conditions
The conditions on this page check network variables on the server where the skill runs, see Reading and Writing.
These conditions require MythicMobs Premium!
| Condition | Checks if |
|---|---|
| networkVariableEquals | A variable equals a value |
| networkVariableInRange | A number variable is between min and max |
| networkVariableIsSet | A variable is set |
Using the Conditions
Use them like any MythicMobs condition: in Conditions, TargetConditions and TriggerConditions, or inline with ?, ?@ and ?~. A ! after the prefix negates the condition (?!, ?@!, ?~!).
| Section | Inline | The condition tests |
|---|---|---|
Conditions |
? |
The caster |
TargetConditions |
?@ |
Each target |
TriggerConditions |
?~ |
The trigger. Without a trigger the condition is false, even when negated |
scope=caster and scope=target both read the variables of the tested entity, and scope=profile and scope=targetprofile both read its active MythicRPG profile. That entity must be a player. scope=global works for any entity, and it is the only scope that can match in a location check.
var, and value of networkVariableEquals, can contain placeholders and are filled in on every check. <skill.var.NAME> placeholders only work in Conditions and inline ? conditions. type, duration and save are accepted but not used: the conditions work with the type of the stored variable.
When a Condition Is False
A condition is false when:
- the variable is not set, has expired or has not reached this server yet
- the scope needs a player and the tested entity is not one, or has no active MythicRPG profile for the profile scopes
- the line is invalid:
varis missing (orvaluefor networkVariableEquals), orscopeortypeis unknown. The console logs a warning when the skill loads
A negated condition passes in these cases.