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 143
    • Issues 143
    • 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
  • polygon

polygon · Changes

Page history
updated type metadata authored Mar 02, 2025 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 5 additions and 5 deletions
+5 -5
  • skills/mechanics/polygon.md skills/mechanics/polygon.md +5 -5
  • No files found.
skills/mechanics/polygon.md
View page @ d7e15a8d
...@@ -4,10 +4,10 @@ The Polygon meta-mechanic can execute other skills in a polygon-shaped pattern. ...@@ -4,10 +4,10 @@ The Polygon meta-mechanic can execute other skills in a polygon-shaped pattern.
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| onPointSkill | onPoint, oP | Meta-Skill executed at every vertex | | | onPointSkill | onPoint, oP | Meta-Skill executed at every vertex |<!--type:Metaskill-->|
| onStarSkill | onStar, oS | Meta-Skill executed at the "start of the "star" of the polygon, aka the figure formed inside of the polygon by tweaking the "skip" parameter | | | onStarSkill | onStar, oS | Meta-Skill executed at the "start of the "star" of the polygon, aka the figure formed inside of the polygon by tweaking the "skip" parameter |<!--type:Metaskill-->|
| onEdgeSkill | onEdge, oE | Meta-Skill executed on the segments that connects the vertices| | | onEdgeSkill | onEdge, oE | Meta-Skill executed on the segments that connects the vertices|<!--type:Metaskill-->|
| onHitEntitySkill | onHitEntity, ohe, oh | Meta-Skill executed when the polygon hits an entity. Only triggered once per entity inside the polygon area for every execution of the polygon mechanic | | | onHitEntitySkill | onHitEntity, ohe, oh | Meta-Skill executed when the polygon hits an entity. Only triggered once per entity inside the polygon area for every execution of the polygon mechanic |<!--type:Metaskill-->|
| Points | p | The amount of vertices of the polygon | 32 | | Points | p | The amount of vertices of the polygon | 32 |
| Duration | d | The amount of ticks the polygon should take to fully form. A value of 0 creates a polygon instantly | 0 | | Duration | d | The amount of ticks the polygon should take to fully form. A value of 0 creates a polygon instantly | 0 |
| DistanceBetween| distance, density, db | The distance between points in the polygon | 0.1 | | DistanceBetween| distance, density, db | The distance between points in the polygon | 0.1 |
...@@ -24,7 +24,7 @@ The Polygon meta-mechanic can execute other skills in a polygon-shaped pattern. ...@@ -24,7 +24,7 @@ The Polygon meta-mechanic can execute other skills in a polygon-shaped pattern.
| Rotation | rot | The rotation of the polygon, in the x,y,z format. Same as using pitch/yaw/roll | 0,0,0 | | Rotation | rot | The rotation of the polygon, in the x,y,z format. Same as using pitch/yaw/roll | 0,0,0 |
| MatchCasterDirection | matchPlayerDirection, matchDirection, mcd, mpd, md, direction | Matches the direction of the polygon to the caster's facing direction | true | | MatchCasterDirection | matchPlayerDirection, matchDirection, mcd, mpd, md, direction | Matches the direction of the polygon to the caster's facing direction | true |
| FromOrigin | | If the polygon should start in the origin of the metaskill | false | | FromOrigin | | If the polygon should start in the origin of the metaskill | false |
| HitConditions | conditions, cond, c, oC, hC | List of [Inline Conditions](/Skills/Inline-Conditions) that an entity must met to be hit by the polygon mechanic | | | HitConditions | conditions, cond, c, oC, hC | List of [Inline Conditions](/Skills/Inline-Conditions) that an entity must met to be hit by the polygon mechanic |<!--type:Conditions-->|
## Examples ## Examples
```yaml ```yaml
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information

Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs

MythicScribe MythicScribe - VSCode Extension

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
    • Mechanics by Tag
  • 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

Other
  • Particles Types
  • Audience
  • Equipment Slots
  • Pins
Technical
  • Math
  • Item Matcher
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Advanced User Guides and Techniques