Damage Multiplier
The arc:damage_multiplier reward type multiplies the amount of damage dealt or received.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
multiplier | double | ✅Required | -No default value | The multiplier for the damage. |
Example
The following example will cause the player to deal double damage to other players.
data/my_datapack/arc/pvp_strength.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_hurt_player",
"rewards": [
{
"type": "arc:damage_multiplier",
"multiplier": 2.0
}
]
}
## Compatible Action Types
<CompatibleActionTypes />