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 142
    • Issues 142
    • 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
  • ModifyDamage

ModifyDamage · Changes

Page history
Create skills/mechanics/ModifyDamage authored Dec 25, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 22 additions and 0 deletions
+22 -0
  • skills/mechanics/ModifyDamage.md skills/mechanics/ModifyDamage.md +22 -0
  • No files found.
skills/mechanics/ModifyDamage.md 0 → 100644
View page @ 9f33567f
## Description
Modifies the damage event that triggered the skill.
This mechanic must be synched, meaning that either the mechanic or the initial skill calling it must be run with the `sync=true` attribute
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| amount | a | The amount of the operation | 1 |
| damagetype| type, dt, t | The type of the damage to evaluate | ALL |
| action | mod, m | The [modifier](Stats#modifiers) to use | ADDITIVE|
## Examples
```yaml
Skills:
- modifyDamage{a=2;modifier=MULTIPLY;sync=true} @self ~onAttack 0.2
```
## Aliases
- [x] modDamage
\ 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