Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 57
    • Issues 57
    • 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
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • ProjectileHit

ProjectileHit · Changes

Page history
Create Skills/Mechanics/ProjectileHit authored Apr 24, 2025 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 41 additions and 0 deletions
+41 -0
  • Skills/Mechanics/ProjectileHit.md Skills/Mechanics/ProjectileHit.md +41 -0
  • No files found.
Skills/Mechanics/ProjectileHit.md 0 → 100644
View page @ c12af08f
## Description
Simulates an hit from a mob's projectile. Useful for creating bows with custom projectiles that deal damage consistent with minecraft's bow mechanics. Damage done will scale appropriately with the projectile's velocity and the Power enchant on the bow that fired it.
Similar in scope to the [Hit Mechanic](/../../../MythicMobs/-/wikis/Skills/Mechanics/Hit)
Can notably be used with
- the [ArrowDamage](/Items#arrowdamage) attribute
- [~onShoot](/Skills/Triggers/onShoot) trigger for bows
- [projectile](/../../../MythicMobs/-/wikis/Skills/Mechanics/Projectile) mechanics
Inherits every attribute of the [Damage](/skills/mechanics/damage) mechanic.
The damage cause used by this mechanic is `PROJECTILE`
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| triggerskills | ts | Whether the damage mechanic should also be able to trigger `onBowHit` related triggers | true |
| multiplier | m | The percentage of damage to deal | 1 |
| forcedDamage | fd, forced | If this attribute is set, the one specified will be the amount of flat damage that will be inflicted, without consideration for attribute modifiers and similar other modifiers | 0 |
| poweraffectsdamage | pad | Whether the mechanic's [power](/../../../MythicMobs/-/wikis/Mobs/Power) should affect damage | false |
| critAtMaxPower | doCrits, crit | Whether a projectile shot at the maximum bow power should be able to become a critical one | true |
## Examples
```yaml
SuperProjectile:
Skills:
- projectile{...;onHit=SuperProjectile-Hit} @target
SuperProjectile-Hit:
Skills:
- projectilehit{m=1.2}
```
## Aliases
- [x] projectileDamage
- [x] arrowhit
\ No newline at end of file
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides

Usage
  • Installation
  • Items
    • Item Options
    • Item Skills
    • Item Durability
  • Augments
  • Item Sets
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Loot Generation

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
  • Augments

Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions

Placeholders
  • Placeholders