Sorry to inform you, Unfa - Michael sadly passed away in December 2024. You may find the answers you want by looking through the source code of SomEx, which he thankfully opened up shortly before his passing:
https://github.com/Sword-of-Moonlight/ex
You will most likely find it within "code/SomEx", however I give you warning that the project source code is incredibly difficult to follow.