| ignoreArmor | ia, i | Whether or not to ignore armor, but will still use enchantment modifiers when calculating total damage | false |
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
| preventimmunity | pi | Whether or not to prevent the [damage immunity ticks] on the target by setting them to 0 after the damage is inflicted | false |
| damagecause | dc, cause | Sets the damage cause for this damage mechanic.<br/> (This option is only available for 1.17+) | entity_attack<!--type:DamageCause--> |
| ignoreenchantments |ignoreenchants, ie | Whether or not to ignore enchantments when calculating total damage.<br>(This option is only available for 1.19+) | false |
| noanger | na | Whether or not to generate anger when damaging the entity | false |
| ignoreinvulnerability | ignoreinvulnerable, ii | Whether or not to ignore the [damage immunity ticks] on the target by setting them to 0 before the damage is inflicted | false |
| ignoreshield | is | Whether or not to ignore the shield blocking on the target | false |
| damageshelmet| dh | Whether or not the helmet should be damaged | false |
| ignoreeffects| ieff | Whether or not effects should be ignored | false |
| ignoreresistance | ir | Whether or not resistance should be ignored | false |
| poweraffectsdamage | pad | Should the skill's power affect the damage inflicted | true |
| tags | tag | Allows you to specify any number of arbitrary tags for the damage mechanic using `tags=THIS,THAT`. All tags inserted will be UPPERCASED, so always use uppercased names when checking against them | |
| rawtags | rtag | Works the same as tags and what is put here will also qualify as a tag, but it will not be UPPERCASED like tags | |
| damagetype| element, e| *Becomes one of the Tags* | |
| triggerSkills | ts | Whether the damage mechanic should also be able to trigger `onAttack` related triggers | false |
This attribute is only available in newer MM 5.0 builds.
All available damage causes can be found on [spigot javadocs](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html)
Note: Only `entity_attack`, `entity_sweep_attack`, `thorns`, `sonic_boom`, `entity_explosion`, and `projectile` will return an entity damager,
meaning that `<trigger.name>` will not return "Unknown".
### Element Attribute
As seen above, the damage mechanic offers the ability to set an "element" for the damage, like so:
```yaml
-damage{amount=10;element=FIRE} @target ~onUse
-damage{amount=10;element=ICE} @target ~onUse
```
This element can be named anything, and can be used in a mob's DamageModifiers to alter resistance to the damage type as needed:
```yaml
DamageModTest:
Type:COW
DamageModifiers:
-LIGHTNING 0.1
-FIRE 2.0
-AIR 1.0
-ICE 0.5
Skills:
-message{m="Damaged by <skill.var.damage-type> for <skill.var.damage-amount>"} @PIR{r=50} ~onDamaged
```
These options can also be used in the "onDamaged" aura, using the `damageMods="FIRE 0.5"` attribute.
### Tags Attribute
```yaml
-damage{amount=5;tags=WITCHCURSE,FIRE}
```
This allows you to set any tag you want on this type of damage to be used with the [DamageTag](/skills/conditions/damagetag) condition.
Tags are arbitrary, and can thus have any name, as long as that does not contain invalid characters.
You can set an indefinite number of tags for each damage mechanic.