btcmob_npc_hit
When a BtcMob NPC is hit or hits a player — event entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | btcmob_npc_hit |
| Type | Event |
| Color | Red |
| Icon | fa6-solid:dragon |
Fields
| Field | Type | Description |
|---|---|---|
definition | Ref<btcmobnpcDefinition> | — |
triggerOnNpcHit | Boolean | Trigger when the player hits the NPC |
triggerOnPlayerHit | Boolean | Trigger when the NPC hits the player |
Usage Example
- entry: btcmob_npc_hit
name: "When a BtcMob NPC is hit or hits a player"
definition: ""
triggerOnNpcHit: false
triggerOnPlayerHit: false