quantum-core-x icon indicating copy to clipboard operation
quantum-core-x copied to clipboard

bug: movement speed penalty does not apply

Open uutkukorkmaz opened this issue 1 year ago • 1 comments

What happened?

I equipped an armor and expected it to slow me down, but instead, I gained movement speed. At that point, "I am speed, kachow!"

speed-noarmor

speed-armor

How to reproduce?

No response

Stacktrace

No response

OS Platform

Windows

Additional Information and Notes

It's probably because of the type casting of the proto's apply value to byte at Executables\Game\World\Entities\PlayerEntity.cs:288. I guess casting it to integer would fix this.

uutkukorkmaz avatar Oct 12 '24 07:10 uutkukorkmaz

This should be backed by a test to avoid regression

Maybe I should add a label requires/test or something

MeikelLP avatar Oct 12 '24 11:10 MeikelLP