Skip to content

Attempting to modify a Speed with multiply and a formula in the value doesn't seem to work right. #6780

Description

@Zanderaf

system.attributes.movement.walk / multiply / 1 - (0.5 * @statuses.deafened) Would reasonably turn a Walk speed of 20 into 10, but it instead turns it into 19.5. It seems like its doing subtraction instead of multiplication.
Wrapping the value in () -> (1 - (0.5 * @statuses.deafened)) seems to make it work fine, but feels like a bug?

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions