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
  • setspeed

setspeed · Changes

Page history
Update setspeed authored Nov 01, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 0 deletions
+12 -0
  • skills/mechanics/setspeed.md skills/mechanics/setspeed.md +12 -0
  • No files found.
skills/mechanics/setspeed.md
View page @ c2d006be
...@@ -9,9 +9,21 @@ Causes the target to change its speed attribute ...@@ -9,9 +9,21 @@ Causes the target to change its speed attribute
| type | t | Type of speed, can be `FLY` or any other string. If not exactly `FLY`, this will change walk speed | WALK | | type | t | Type of speed, can be `FLY` or any other string. If not exactly `FLY`, this will change walk speed | WALK |
### Speed Attribute ### Speed Attribute
To make this mechanic set a specific [MovementSpeed](/Mobs/Options#movementspeed) its `speed` attribute will need a value of
```math
speed=MovementSpeed*5
```
or, to say it in other words
```math
MovementSpeed=speed/5
```
So, if you want to set the mob's MovementSpeed to 0.2, you will need a speed value of 1; if you want a MovementSpeed of 0.4, you will need a aspped value of 2 and so on
<!--
This value will then be multiplied by the default speed value of the respective speed type: This value will then be multiplied by the default speed value of the respective speed type:
- `0.1` for `WALK` - `0.1` for `WALK`
- `0.2` for `FLY` - `0.2` for `FLY`
-->
## Examples ## Examples
This will set the mob's walking speed to 2 when it spawns This will set the mob's walking speed to 2 when it spawns
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs
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
Other
  • Particles Types
  • Audience
  • Equipment Slots
  • Pins
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Advanced User Guides and Techniques