Damage Over Time - apace100/origins-fabric GitHub Wiki
Power Type. While this power is active, will deal damage to the player in regular intervals.
Type ID: origins:damage_over_time
Fields:
interval
, int: Duration of ticks to wait between the damage is applied.
onset_delay
, int, default = interval
: How many ticks the power has to be active in order to apply the first damage.
damage
, float: How much damage will be dealt each interval.
damage_easy
, float, default = damage
: How much damage will be dealt each interval on Easy difficulty.
damage_source
, Damage Source, optional: If set, this is the damage source that will be used to deal the damage.
protection_enchantment
, string, optional: If set, the total amount of levels of this enchantment will be counted on the player's armor to increase the onset_delay
.
protection_effectiveness
, float, default = 1.0: If protection_enchantment
is set, this multiplier scales how effective it will be (1.0 = time the onset_delay
is increased is the same as with Hydrophobia and Water Protection).