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

hit · Changes

Page history
Update hit authored Dec 24, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 6 deletions
+7 -6
  • skills/mechanics/hit.md skills/mechanics/hit.md +7 -6
  • No files found.
skills/mechanics/hit.md
View page @ 8c251cde
...@@ -7,10 +7,12 @@ This mechanic shares the same options as the [BaseDamage](https://git.mythiccraf ...@@ -7,10 +7,12 @@ This mechanic shares the same options as the [BaseDamage](https://git.mythiccraf
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|------------------|---------|-------------------------------------|---------| |------------------|---------|-------------------------------------|---------|
| multiplier | m | The percentage of damage to deal | 1 | | multiplier | m | The percentage of damage to deal | 1 |
| ignoreArmor | ia | Whether or not to ignore armor | false |
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
| preventimmunity | pi | Whether or not to ignore immunities | false |
> This mechanic inherits every attribute of the [Damage](skills/mechanics/damage) mechanic
>> - The `amout` attribute is ignored
>> - The `triggerSkills` attribute is **defaulted** at `true`
>> - The `damagecause` attribute is **set** at `ENTITY_ATTACK`
>> - The `tags` attribute will always have a `melee` tag.
## Examples ## Examples
...@@ -23,7 +25,6 @@ HitMob: ...@@ -23,7 +25,6 @@ HitMob:
Skills: Skills:
- hit{m=1.5;ia=true} @target ~onDamaged - hit{m=1.5;ia=true} @target ~onDamaged
``` ```
[1] 1 = 100%, 0.5 = 50% and so-on
## Aliases ## Aliases
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
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
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips