Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Conditions
  • variableequals

variableequals · Changes

Page history
updated layout and informations authored Jun 14, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 13 additions and 15 deletions
+13 -15
  • Skills/conditions/variableequals.md Skills/conditions/variableequals.md +13 -15
  • No files found.
Skills/conditions/variableequals.md
View page @ 01c88b14
**Description:** A condition that checks the value of a [variable](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Skills/Variables).
## Description
A condition that checks the value of a [variable](/Skills/Variables).
---
**Attributes:**
## Attributes
| Attribute | Aliases | Description |
| --------- | ------------- | ------------------------- |
| variable| name, n, var, key, k | The name of the variable. Can optionally be prefixed with scope|
| value| val, v | The value that the variable must equal to return true. Must be applicable for type or the mechanic will fail. Should be surrounded in double-quotes if using spaces. Value can also include placeholders, even from PlaceholderAPI. |
| scope| s| The [scope ](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Skills/Variables#variable-scopes)of the variable, e.g. where the variable will be located|
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| variable | name, n, var, key, k | The name of the variable. Can optionally be prefixed with scope| |
| value| val, v | The value that the variable must equal to return true. Must be applicable for type or the mechanic will fail. Should be surrounded in double-quotes if using spaces. Value can also include placeholders, even from PlaceholderAPI. | |
| scope| s| The [scope](/Skills/Variables#variable-scopes)of the variable, e.g. where the variable is located | |
---
**Examples:**
## Examples
In this example, the target players would only hear growling from any number of nearby bears once every 10 minutes.
......@@ -39,9 +38,8 @@ PoisonStormDamage:
- damage{amount=1;ignorearmor=true}
```
---
**Extra Information:**
- [x] Aliases: variableeq, varequals, vareq
- [x] Type: Skill
\ No newline at end of file
## Aliases
- [x] variableeq
- [x] varequals
- [x] vareq
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples