apply Burning Behaviour
final Unit applyBurningBehaviour(GameEntity entity, Long attackPeriodMillis, Integer attack, Long durationMillis)
Content copied to clipboard
Applies expiring BurningBehaviour to entity.
Parameters
entity
The entity to apply the behaviour to.
attack Period Millis
BurningBehaviour parameter.
attack
BurningBehaviour parameter.
duration Millis
The duration for which BurningBehaviour should last. If null, the new behaviour is permanent.