HOOK_STEAL: ret1 to override experience for successful stealing

This commit is contained in:
phobos2077
2023-07-22 04:21:05 +02:00
parent b2c9b1cc23
commit b189fe9252
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -378,6 +378,7 @@
int arg4 - quantity of items being stolen
int ret0 - overrides hard-coded handler (1 - force success, 0 - force fail, -1 - use engine handler)
int ret1 - overrides experience points gained for stealing this item
```
- name: WithinPerception