-
Notifications
You must be signed in to change notification settings - Fork 148
Modifiers
Nathan Wolf edited this page May 25, 2020
·
1 revision
Modifiers are like custom status effects that can be added to players or mobs.
Modifiers can contain anything that Mage Classes can contain.
But modifiers can be added and removed much like potion effects. They can also have a duration, after which they will automatically expire.
This can be used to give a player temporary attribute boosts, passives, or other properties.
Modifiers can be added to /plugins/Magic/modifiers.yml
or to any file in the /plugins/Magic/modifiers/
folder.
Modifiers look a lot like classes:
damageboost:
entity_attributes:
generic_attack_damage:
value: 20
operation: MULTIPLY_SCALAR_1
Modifiers are applied in a spell via the Modifier action. Use the add_modifiers
parameter to list modifiers to apply. Modifiers can also be removed via remove_modifiers
.
See the survival modifiers for more examples.
- Home
- FAQ
- Support
- Progression
- Spell Points
- Crafting
- Basic Setup
- Customization
- Resource Pack
- Examples
- Messages and Languages
- Vanity Items
- NPCs
- Magic Blocks
- Magic Mobs
- Putting Images on Maps
- Using MySQL or SQLite
- Placeholders
- Skript
- Regions