Skip to content

Redirect Lightning

Power Type.

Redirects lightning to the power holder if a specified chance happens.

Type ID: apugli:redirect_lightning

Fields

Field Type Default Description
chance Float The chance at which lightning will be redirected to an entity. (Ranges from 0.0-1.0).

Example

{
    "type": "apugli:redirect_lightning",
    "chance": 0.5
}
This example creates a 50% chance that lightning will be redirected to the position of the power holder upon the lightning spawning in the world.