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 149
    • Issues 149
    • 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
  • projectile

projectile · Changes

Page history
added hitConditions authored Feb 21, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 5 deletions
+10 -5
  • skills/mechanics/projectile.md skills/mechanics/projectile.md +10 -5
  • No files found.
skills/mechanics/projectile.md
View page @ 38990d68
...@@ -49,7 +49,7 @@ Attributes ...@@ -49,7 +49,7 @@ Attributes
| VerticalNoise | vn | The randomness of the projectile in the vertical direction | 0 | | VerticalNoise | vn | The randomness of the projectile in the vertical direction | 0 |
| Bounce | | Should the projectile bounce. Bounce radius depends on the projectile's hitbox. **Premium Only** Mechanic | false | | Bounce | | Should the projectile bounce. Bounce radius depends on the projectile's hitbox. **Premium Only** Mechanic | false |
| BounceVelocityMod | | Every time the projectile bounces, its velocity will be multiplied by this value. **Premium Only** Mechanic | 0.9 | BounceVelocityMod | | Every time the projectile bounces, its velocity will be multiplied by this value. **Premium Only** Mechanic | 0.9
| hitConditions | | A list of conditions that a target must meet in order for the projectile to be able to hit it | |
Special Notes Special Notes
...@@ -113,14 +113,14 @@ Examples ...@@ -113,14 +113,14 @@ Examples
This example shoots a fast-moving ball of ice that damages and slows the This example shoots a fast-moving ball of ice that damages and slows the
first entity it hits: first entity it hits:
**Mob File** **Mob File**
```yaml
Mob: Mob:
Type: SKELETON Type: SKELETON
Skills: Skills:
- skill{s=IceBolt} @target ~onTimer:100 - skill{s=IceBolt} @target ~onTimer:100
```
**Skills File** **Skills File**
```yaml
IceBolt: IceBolt:
Skills: Skills:
- projectile{onTick=IceBolt-Tick;onHit=IceBolt-Hit;v=8;i=1;hR=1;vR=1;hnp=true} - projectile{onTick=IceBolt-Tick;onHit=IceBolt-Hit;v=8;i=1;hR=1;vR=1;hnp=true}
...@@ -130,4 +130,9 @@ first entity it hits: ...@@ -130,4 +130,9 @@ first entity it hits:
IceBolt-Hit: IceBolt-Hit:
Skills: Skills:
- damage{a=10} - damage{a=10}
- potion{type=SLOW;duration=100;lvl=2} - potion{type=SLOW;duration=100;lvl=2}
\ No newline at end of file ```
hitConditions usage example:
```yaml
- projectile{hitConditions=[ - isMonster true - isFrozen false ]}
```
\ No newline at end of file
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
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples