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
updated layout and informations authored Sep 08, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 8 deletions
+8 -8
  • skills/mechanics/hit.md skills/mechanics/hit.md +8 -8
  • No files found.
skills/mechanics/hit.md
View page @ 9e035434
## Description ## Description
*Added in 5.4.0
Simulates a physical hit from the mob. Takes melee stats into account (regular skill damage won't unless configured to specifically) Simulates a physical hit from the mob. Takes melee stats into account (regular skill damage won't unless configured to specifically)
This mechanic shares the same options as [BaseDamage](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/basedamage) mechanic This mechanic shares the same options as the [BaseDamage](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/basedamage) mechanic
Attributes
----------
## Attributes
| 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 |
...@@ -15,9 +13,7 @@ Attributes ...@@ -15,9 +13,7 @@ Attributes
Examples ## Examples
--------
This example will make the mob deal 150% of its configured melee damage to its This example will make the mob deal 150% of its configured melee damage to its
target when its being attacked. Ignoring armors. In this case it would deal 15 damage total since the mob's melee damage is 10. target when its being attacked. Ignoring armors. In this case it would deal 15 damage total since the mob's melee damage is 10.
```yaml ```yaml
...@@ -27,5 +23,9 @@ HitMob: ...@@ -27,5 +23,9 @@ 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
[1] 1 = 100%, 0.5 = 50% and so-on ## Aliases
\ No newline at end of file - [x] physicalDamage
- [x] meleeHit
\ 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
  • 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
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples
Useful Tips