跳到主要内容

On Btcmob Damage

When a BTCMob takes damage.

The BTCMob Damage Event is triggered when a BTCMob takes damage. ## How could this be used? Trigger a boss-phase transition when the damager is a player, e.g. to start an enrage cinematic below a health threshold. If the damager is a player, this triggers for that player. Otherwise (environmental damage, other mobs), it triggers for every online player within [radius] blocks.

字段

字段类型默认值描述
mobNameString—Only trigger when a specific mob takes damage. Empty = any BTCMob.正则表达式
radiusDouble64.0Only trigger for players within this many blocks of the mob when the damager isn't a player.
TypeWriter 通用字段(triggers)
字段类型默认值描述
triggersList<Ref<TriggerableEntry>>empty—