Skip to content

Modify FOV

Power Type

Modifies the field of view of the entity that has the power.

Type ID: eggolib:modify_fov

Fields

Field Type Default Description
modifier Attribute Modifier optional If specified, this modifier will be applied to the field of view of the entity that has the power.
modifiers Array of Attribute Modifiers optional If specified, these modifiers will be applied to the field of view of the entity that has the power.
affected_by_fov_effect_scale Boolean true Determines whether the field of view is affected by the "FOV Effects" accessibility option.

Examples

{
    "type": "eggolib:modify_fov",
    "modifier": {
        "operation": "multiply_total_multiplicative",
        "value": -0.25
    }
}

This example will reduce the field of view of the entity by 25%.

{
    "type": "eggolib:modify_fov",
    "modifier": {
        "operation": "multiply_total_multiplicative",
        "value": 0.75
    },
    "affected_by_fov_effects_scale": false
}

This example will increase the field of view of the entity by 75%, which also won't be affected by the "FOV Effects" accessibility option.