Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moth water slowness protection #19

Open
JustEhra opened this issue Apr 30, 2023 · 1 comment
Open

Moth water slowness protection #19

JustEhra opened this issue Apr 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JustEhra
Copy link

Minecraft Version

1.19.2

Mod Version

grounded_origins-fabric-1.19.2-1.2.3

Mod loader

Fabric

Describe your issue

Moth are currently slowed by water even with a origins:water_protection 4 or more enchant.
Here is the current power :
, "swimspeed_slowdown": { "type": "origins:attribute", "modifier": { "attribute": "additionalentityattributes:water_speed", "value": -0.5, "operation": "multiply_total" } }, "condition": { "inverted": true, "type": "origins:enchantment", "enchantment": "origins:water_protection", "calculation": "sum", "comparison": ">=", "compare_to": 4 } }
The condition doesn't apply and you can use "conditioned_attribute"
Here is a potential fix:
, "swimspeed_slowdown": { "type": "origins:conditioned_attribute", "modifier": { "attribute": "additionalentityattributes:water_speed", "value": -0.5, "operation": "multiply_total" }, "condition": { "inverted": true, "type": "origins:enchantment", "enchantment": "origins:water_protection", "calculation": "sum", "comparison": ">=", "compare_to": 4 } }

Crash report/logs

No response

@JustEhra JustEhra added the bug Something isn't working label Apr 30, 2023
@mosharky
Copy link
Collaborator

mosharky commented May 7, 2023

I'll look into it when Apugli is fixed; hopefully soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants