Mechanic
slashprojectile
Creates a slash that travels as a projectile
Aliases
slashpsp
Configuration Fields (22)
| Name | Type | Default | Description |
|---|---|---|---|
| points p | PlaceholderInt | 10 | Amount of points in the arc |
| slashDuration sd | PlaceholderDuration | 0 | Number of iterations for the slash arc |
| width w | PlaceholderDouble | 1 | The width of the arc |
| height h | PlaceholderDouble | 1 | The height of the arc |
| angle a, arc | PlaceholderDouble | 180 | The size of the arc in degrees |
| xOffset xo, x | PlaceholderDouble | 0 | X-axis offset |
| yOffset yo, y | PlaceholderDouble | 0 | Y-axis offset |
| zOffset zo, z | PlaceholderDouble | 0 | Z-axis offset |
| targetxOffset xo, x | PlaceholderDouble | 0 | Target X-axis offset |
| targetyOffset yo, y | PlaceholderDouble | 0 | Target Y-axis offset |
| targetzOffset zo, z | PlaceholderDouble | 0 | Target Z-axis offset |
| forwardOffset foffset, fo | PlaceholderDouble | 0 | Forward offset |
| pitch | PlaceholderDouble | 0 | The pitch rotation |
| yaw | PlaceholderDouble | 0 | The yaw rotation |
| roll | PlaceholderDouble | 0 | The roll rotation |
| slashRadius sr, srad | PlaceholderDouble | 1 | The hit radius for slash hits |
| specificStep ss | PlaceholderInt | — | The specific step index of the slash to use |
| onPointSkill onpoint, op | PlaceholderString | — | Skill triggered at each point |
| onHitEntitySkill onhitentity, ohe | PlaceholderString | — | Skill triggered when it hits an entity |
| rotation rot | String | 0,0,0 | The rotation of the cube, in the x,y,z format |
| matchCasterDirection matchPlayerDirection, matchDirection, mcd, mpd, md, direction | boolean | false | Match the caster's direction |
| directionTowardsTarget | boolean | false | If the yaw/pitch should be calculated to aim to the target |
Universal Mechanic Options
- Author:
- Seyarada