MMExtension icon indicating copy to clipboard operation
MMExtension copied to clipboard

Halved armor chance patch variable is misdeclared

Open Tomsod opened this issue 1 year ago • 0 comments

It's declared as bool, but it's really int: https://github.com/GrayFace/MMExtension/blob/82f916f491ca83297ee43b021de5f6f483013857/Scripts/Structs/00%20structs.lua#L2018 So reading and changing it through MMExt doesn't work properly. Although it's possible to work around this with the Ptr() method of PatchOptions.

Tomsod avatar Apr 20 '24 17:04 Tomsod