Skip to content

Components (Effects)

Immunity() dataclass

An effect that grants immunity to damages.

Phasing() dataclass

An effect that allows passing through obstacles such as walls or other blocking entities.

Speed(multiplier) dataclass

Movement multiplier.

Attributes:

Name Type Description
multiplier int

Positive integer multiplier.

TimeLimit(amount) dataclass

An effect that lasts for a limited number of time steps.

Attributes:

Name Type Description
amount int

Number of time steps the effect remains active.

UsageLimit(amount) dataclass

An effect that can be used a limited number of times.

Attributes:

Name Type Description
amount int

Number of uses remaining.