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 137
    • Issues 137
    • 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
    • Mechanics
  • cast

cast · Changes

Page history
updated layout and informations authored Apr 19, 2024 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 22 additions and 21 deletions
+22 -21
  • skills/mechanics/cast.md skills/mechanics/cast.md +22 -21
  • No files found.
skills/mechanics/cast.md
View page @ 27edf0e6
Mechanic: Cast
==============
Cast is an [Aura](/skills/mechanics/aura) mechanic similar to
## Description
Cast is an [Aura] mechanic similar to
[Skill](/skills/mechanics/skill) in that it executes a skill, however
Cast instead "casts" the skill similar to how you'd expect an RPG hero
or monster to do so. Cast will execute the given skill if the cast
......@@ -13,25 +11,24 @@ caster named **#casting**. Removing the aura from the entity will
interrupt the cast. Any aura settings that cause the cast to stop early
will also interrupt casting, such as cancelling on move or teleport.
Attributes
----------
*Cast can also use most [Aura](/skills/mechanics/aura) attributes*
## Attributes
| Attribute | Aliases | Description | Default |
|---------------|---------|----------------------------------------------------------------------|---------|
| onCast | oc | Skill to execute if the cast finishes successfully | |
| onInterrupted | oi | Skill to execute if the cast is interrupted | |
| onNoTarget | ont | Skill to execute if no target is found | |
| skillname | sn | Display name of the spell in the cast bar | |
| showCastBar | cb | Whether to show the cast bar. Requires a compatible hologram plugin. | true |
|-----------|-----------|----------------------------------------------------------------------|---------|
| onCastSkill | oncast, oc | Skill to execute if the cast finishes successfully | |
| onInterruptedSkill | oninterrupted, oninterrupt, oi | Skill to execute if the cast is interrupted | |
| onNoTargetSkill | onnotargets, onnotarget, ont | Skill to execute if no target is found | |
| skillname | spellname, sn | Display name of the spell in the cast bar | |
| showCastBar | castbar, cb | Whether to show the cast bar | true |
| cancelOnMove | com | Whether to cancel the aura if the caster moves | false |
> This mechanic inherits every attribute of the [Aura] mechanic
>> - The `auraName` attribute is **set** at `#casting` and **cannot be changed**
>> - The `charges` attribute is **set** at `1` and **cannot be changed**
>> - The `maxStacks` attribute is **set** at `1` and **cannot be changed**
>> - The `mergeAll` attribute is **set** at `true` and **cannot be changed**
Examples
--------
## Examples
```yml
myCoolMob:
Type: ZOMBIE
......@@ -47,3 +44,7 @@ myCoolMob:
showCastBar=true
} @target ~onTimer:100
```
<!-- LINKS -->
[aura]: /skills/mechanics/aura
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
Examples
Useful Tips