-
Notifications
You must be signed in to change notification settings - Fork 0
Damage Potion Effects
Using the Damage Potion effects, you can deal any of physical/magical/void/true damage or heal. The amount is customizable.
In the effect commands, the duration amount should be set to 1, and the amplifier amount affects the damage/heal amount.
The potion name is represented by bosscreatortool:[TYPE_NAME]_[UNIT].
In which the [TYPE_NAME] represents the damage type and [UNIT] does the damage amount for every ampliier number.
The [TYPE_NAME] references:
| TYPE_NAME | Damage Types and notes |
|---|---|
| physical | Physical damage |
| magic | Magical damage |
| void | Void damage, not affected by armor |
| true | True damage, ignores vanilla invincible time |
| pierce | Health direct reduction, ignores any effects on damage receive |
| heal | Heals the target. Does NOT damage undeads. |
The [UNIT] references:
| UNIT | Damage amount per amplifier (plus 1) |
|---|---|
| 1 | 1 |
| 2 | 10 |
| 3 | 100 |
| 4 | 1000 |
Usage examples:
/effect @e[r=5] bosscreatortool:magic_2 1 4
Deals 50 magical damage to every entities within 5 blocks. See the UNIT number is 2 and potion amplifier is 4, the damage dealt will be 10 (the damage unit for the UNIT number of 2) multiplied by 5 (amplifier + 1).
/effect @a[tag=targetted] bosscreatortool:pierce_3 1 2
Deals 200 (100 * (2 + 1)) true damage to players with the tag targetted. While the true type ignores only vanilla invincible time, the pierce types ignores every events happened from damage. Some mods like SlashBlade contains functionality of nullifying any damage received, and you can ignore such effect by using the pierce damage type.