Is observed by
origins-powerful-powers:is_observed_bybi-entity condition
True when the target is looking toward the actor: the actor is within max_distance blocks of the target, and inside the target's field of view.
| Field | Type | Default | Description |
|---|---|---|---|
fov_degrees | Float | 60.0 | Width of the target's view cone, in degrees. The actor counts as seen when it's within half of this angle of where the target is looking. |
max_distance | Float | 32.0 | The farthest the actor can be, in blocks. |
- Only direction and distance are checked, so an actor behind a wall counts as observed. For line of sight, add Origins'
origins:can_seein anorigins:and. - The angle is between the target's look direction (including pitch) and the line from the target to the actor.
Example: a backstab.
{
"type": "origins:modify_damage_dealt",
"bientity_condition": {
"type": "origins-powerful-powers:is_observed_by",
"fov_degrees": 120,
"inverted": true
},
"modifier": {
"operation": "multiply_total_multiplicative",
"value": 0.5
}
}In modify_damage_dealt, the actor is you and the target is the entity you hit. With "inverted": true, hits on anything looking away from you (outside a 120° cone) deal 50% more damage.