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

percentdamage · Changes

Page history
updated layout and informations authored Oct 23, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 14 additions and 18 deletions
+14 -18
  • skills/mechanics/percentdamage.md skills/mechanics/percentdamage.md +14 -18
  • No files found.
skills/mechanics/percentdamage.md
View page @ 489b0a9a
======================== ## Description
Deals damage equal to a percent of the player's max health, where 1 is Deals damage equal to a percent of the player's max health, where 1 is
100%. Has the same options as the Damage mechanic. 100%. Has the same options as the [Damage](skills/mechanics/damage) mechanic.
Attributes
----------
## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|------------------|---------|------------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| percent | p | The percentage to damage the target | 0.1 | | percent | p | The percentage to damage the target | 0.1 |
| current | c,ch | Whether it calculates the percent from your original or current health | false | | current | c,ch |Whether it calculates the percent from your original or current health| false |
| ignoreArmor | ia | Whether or not to ignore armor | false | | ignoreArmor | ia | Whether or not to ignore armor | false |
| preventknockback | pkb, pk | Whether or not to prevent knockback | false | | preventknockback | pkb, pk | Whether or not to prevent knockback | false |
| preventimmunity | pi | Whether or not to ignore immunities | false | | preventimmunity | pi | Whether or not to ignore immunities | false |
## Examples
Examples Hurts the target for half (50%) of its max health.
--------
```yaml ```yaml
Skills: Skills:
- damagepercent{percent=0.5} - damagepercent{percent=0.5}
``` ```
\ No newline at end of file
Hurts the target for half (50%) of its max health.
\ 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
    • 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
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips