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 146
    • Issues 146
    • 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
    • Mobs
  • DamageModifiers

DamageModifiers · Changes

Page history
updated definition authored Feb 22, 2024 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 3 deletions
+5 -3
  • Mobs/DamageModifiers.md Mobs/DamageModifiers.md +5 -3
  • No files found.
Mobs/DamageModifiers.md
View page @ 941f0f96
......@@ -2,8 +2,10 @@
Damage Modifiers are an attribute you can add to your MythicMobs to increase or decrease the damage they receive from various sources.
Some of these won't work on certain mobs under normal circumstances (e.g. SUICIDE, as no mob naturally suicides).
When an entity takes damage, the value of that damage will be multiplied by the relevant damage modifier, if set. For instance, if an entity takes damage by a `ENTITY_ATTACK` type of damage and of amount `10`, if that damage modifier is set to `2` the caster would be dealt a damage of `20`.
**If the Damage Modifier is a negative amount, the associated damage event will be cancelled and the caster would be healed** by the amount of the original damage multiplied by the absolute value of the damage modifier. For instance, if an entity takes damage by a `PROJECTILE` type of damage and of amount `10`, if that damage modifier is set to `-2` the event that caused it would be cancelled and the caster would be healed by an amount of `20`
Some of these won't work on certain mobs under normal circumstances (e.g. SUICIDE, as no mob naturally suicides).
Damage Modifiers are completely optional, you only need to add the ones you want to use.
See the [spigot javadocs](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html) for a complete list of available damage types.
......
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
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips