I use a debug script for jumping)
procedure start begin
if game_loaded then begin
register_hook(HOOK_KEYPRESS);
end
else begin
// int arg1 - event type: 1 - pressed, 0 - released
// int arg2 - key DX scancode
// int arg3 - key VK code (very...
just the value of the difficulty(skill) modifier, but in fact it is not used because it is impossible to steal from an object that is not a critters.
critical chance
Example mouse click hooks: https://github.com/FakelsHub/InventoryFilter/blob/93958d7d9cb01893775399c1be7d1b3fe6ce11b4/gl_InvenFilterLegacy.ssl#L315
or see sfall mod scripts: https://github.com/FakelsHub/sFall-Extended/tree/devUnofficial/artifacts/mods