Attack¶
文档版本:1.21.50.25
Defines an entity's melee attack and any additional effects on it.
架构¶
damage
:range_number_type- Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it.
0..0
:number- The first value of the range.
1..1
:number- The second value of the range.
range_min
:number- The minimum value of the range.
range_max
:number- The maximum value of the range.
effect_name
:effect- Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.
effect_duration
:number- Duration in seconds of the status ailment applied to the damaged entity.