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 151
    • Issues 151
    • 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
    • Targeters
  • Origin

Origin · Changes

Page history
Create Skills/Targeters/Origin authored Jul 10, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 23 additions and 0 deletions
+23 -0
  • Skills/Targeters/Origin.md Skills/Targeters/Origin.md +23 -0
  • No files found.
Skills/Targeters/Origin.md 0 → 100644
View page @ 50125ee0
## Description
Targets the location of the "origin" or "source" of a meta-skill. While that is usually the casting mob, there are special cases where this is not true (such as with the Projectile Skill, where the "origin" is the location of the projectile)
## Attributes
>*This targeter has no attributes*
## Examples
The origin targeter is extremely versatile. Take the following metaskill, for instance:
```yaml
ExampleSkill:
Skills:
- effect:particles @origin
```
If it is executed by a mob normally, if will display the particles at its location, since the origin of the skill is itself. In this aspect, `origin` does not behave differently from a `self` targeter.
But if the metaskill is executed inside a meta mechanic or after manually changing a skill's origin via the [Origin Universal Attribute](/Skills/Mechanics#universal-attributes), the origin of the skill will change most of the times, and the particles will be displayed in a different spot.
The exact position of the `origin` changes based on the context, and more information regarding this behavior can be found in wiki pages for the various mechanics that *do* make use of this.
## Aliases
- [x] source
\ 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
Useful Skills