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 145
    • Issues 145
    • 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

Targeters · Changes

Page history
changed Special Targeters section name to Meta Targeters and split the... authored Jul 11, 2023 by Lxlp's avatar Lxlp
changed Special Targeters section name to Meta Targeters and split the targeters into Entity and Location ones
Hide whitespace changes
Inline Side-by-side
Showing with 22 additions and 10 deletions
+22 -10
  • Skills/Targeters.md Skills/Targeters.md +22 -10
  • No files found.
Skills/Targeters.md
View page @ fc24edc4
......@@ -102,14 +102,9 @@ These targeters only work if the mob has Threat Tables enabled.
| @RingAroundOrigin{radius=#;points=#;xRotation=#;yRotation=#;zRotation=#;xOffset=#;yOffset=#;zOffset=#} | @RAO | Targets locations in a specified ring around the origin |
## Special Targeters
## Meta Targeters
| Targeter | Shorthand | Description |
|----------|-----------|------------------------------------------------------------------|
| @None | | Provides no target. (Useful for mechanics with no target input.) |
The targeters below are called "meta-targeters". They target relative to an inherited targeter. For
example:
The targeters below are called "meta-targeters" (or "special targeters"). They target relative to an [inherited target](Metaskills#inheritance). For example:
```yaml
# Mob file
Laser:
......@@ -132,12 +127,21 @@ In the example skill above, the "ignite" mechanic will target entities between t
Some meta-targeters also allow the mechanic to be casted "fromOrigin". This will change the starting location of the meta-targeter to be @Origin rather than the caster, which can allow for some complex effects, particularly when used with Projectiles.
| Targeter | Shorthand | Description |
|------------------------------------------------------------------------------------------|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| @[Line][] | | Targets locations between the mob and the inherited target. |
### Meta-Entity Targeters
| Targeter | Shorthand | Description |
|----------|-----------|---------------------------------------------------------------------------------|
| @[LivingInLine][] | @entitiesInLine<br>@livingEntitiesInLine<br>@LEIL<br>@EIL | Targets any entities in a line between the inherited target and the casting mob. |
| @[LivingNearTargetLocation][] | @LNTL<br>@ENTL<br>@ENT | Targets all living entities near the inherited target. |
| @[PlayersNearTargetLocations][] | @playersNearTargetLocation<br>@PNTL | Targets all players near the inherited targets. |
### Meta-Location Targeters
| Targeter | Shorthand | Description |
|----------|-----------|---------------------------------------------------------------------------------|
| @[Line][] | | Targets locations between the mob and the inherited target. |
| @RandomLocationsNearTargets | @RLNTE{a=#;r=#;s=#;minr=#} | Targets random locations around the inherited target, where: a is the amount of locations, r is the radius around the inherited target, minr is the minimum radius, and s is the spacing between each location. |
| @RandomLocationsNearOrigin{a=#;r=#;s=#;minr=#} | @RLNO | Targets random locations near the origin of a skill. |
| @[FloorOfTargets][] | @FOT<br>@floorsOfTarget | Targets the blocks underneath the inherited targets. |
......@@ -149,6 +153,14 @@ Some meta-targeters also allow the mechanic to be casted "fromOrigin". This will
| @[BlockVein][] | @vein<br>@bv | Target all adjancent blocks that match the blocktype, starting from the origin of the skill. |
### None Targeter
| Targeter | Shorthand | Description |
|----------|-----------|------------------------------------------------------------------|
| @None | | Provides no target. (Useful for mechanics with no target input.) |
# Common Attributes
There are some common attributes that can be used in most of the Targeters, depending on the targeter's returned value
......
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