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
Update percentdamage authored Dec 23, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 6 deletions
+10 -6
  • skills/mechanics/percentdamage.md skills/mechanics/percentdamage.md +10 -6
  • No files found.
skills/mechanics/percentdamage.md
View page @ cb9f77f2
## Description
Deals damage equal to a percent of the player's max health, where 1 is
100%. Has the same options as the [Damage](skills/mechanics/damage) mechanic.
100%. Inherits every attribute of the [Damage](skills/mechanics/damage) mechanic.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| 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 |
| 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 |
| currentHealth | current, c, ch |Whether it calculates the percent from your original or current health| false |
> This mechanic inherits every attribute of the [damage](skills/mechanics/damage) mechanic
>> The `amount` attribute is ignored
## Examples
......@@ -18,4 +17,9 @@ Hurts the target for half (50%) of its max health.
```yaml
Skills:
- damagepercent{percent=0.5}
```
\ No newline at end of file
```
## Aliases
- [x] damagepercent
- [x] percentdamage
\ 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
  • 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