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 132
    • Issues 132
    • 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

Last edited by Lxlp 1 week ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

hit

Description

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 the BaseDamage mechanic

Attributes

Attribute Aliases Description Default
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

Examples

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.

HitMob:
  Type: Zombie
  Damage: 10
  Skills:
    - hit{m=1.5;ia=true} @target ~onDamaged

[1] 1 = 100%, 0.5 = 50% and so-on

Aliases

  • physicalDamage
  • meleeHit
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