NovaRain
16dacee0e0
Fixed UpdateHPStat() for not properly capping HP
...
* when a critter has modified base value of max HP in its proto.
2023-08-09 10:29:22 +08:00
phobos2077
553c7cc195
Renamed string_pos back to string_find to make meaning more obvious
2023-08-07 20:01:21 +02:00
NovaRain
61f3a2ac13
Fixed the backward compatibility of get_npc_level
...
(broken in commit 438bc6f )
2023-08-04 09:13:55 +08:00
NovaRain
aca6c92d86
Reordered the engine perk entries in perks.ini
...
(sorted by their perk IDs)
2023-07-31 20:52:43 +08:00
phobos2077
5d7015bbb5
Headers update
...
- Synced a small number of defines from RPU headers
- Removed duplicate defines from define_lite
2023-07-30 22:24:44 +02:00
phobos2077
f0ec82923d
EnginePerks: fixes
...
- Remove duplicate Salesman tweak
- Decoupled hacks for multi-perk-level support for Salesman and Demolition Expert from the bonus value change
- Renamed settings for consistency ("<PerkName>Bonus" when it has only one effect)
2023-07-30 22:00:04 +02:00
phobos2077
cd5c803386
EnginePerks: rewritten and expanded
...
- Got rid of unused and repeated code
- Added all perk skill bonuses
2023-07-30 19:58:34 +02:00
NovaRain
c95d872f77
Added build instructions to readme
2023-07-26 15:08:41 +08:00
phobos2077
5c3c1ca4db
Header fixes
...
- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
2023-07-24 00:56:01 +02:00
NovaRain
cb1a3dd764
Reverted the ASM change for StealCheckHook in commit 53c294c
2023-07-23 07:42:16 +08:00
phobos2077
4c441d5852
Fix incorrect int->float conversion in op_sub ( closes #488 )
2023-07-22 21:22:27 +02:00
NovaRain
53c294cf98
Edited ASM code and documents for HOOK_STEAL
2023-07-22 20:46:26 +08:00
phobos2077
5394352bf0
HOOK_STEAL: add ret0 value 2 to fail "silently"
2023-07-22 13:43:23 +02:00
phobos2077
f267224428
HOOK_STEAL: return value improvements
...
- Allow to use vanilla handler but only override experience in case of success
- Treat both return values less than -1 the same as -1
2023-07-22 10:43:18 +02:00
phobos2077
b189fe9252
HOOK_STEAL: ret1 to override experience for successful stealing
2023-07-22 04:21:05 +02:00
phobos2077
b2c9b1cc23
HOOK_STEAL: add arg4 - quantity of items stolen
2023-07-22 03:29:31 +02:00
NovaRain
0e8b6efe49
Re-added the check for valid objs to get/set_object_data
...
* disabled in combat for the combat data.
2023-07-19 20:56:12 +08:00
NovaRain
6d66bfffb0
Edited function and sslc docs
2023-07-17 20:53:50 +08:00
NovaRain
6eeb674641
Minor code edits to BugFixes.cpp
...
Minor edits to some comments.
2023-07-14 09:46:02 +08:00
NovaRain
b94993d756
Minor edits to error msg for some script functions
...
Edits to function notes.
2023-07-11 11:19:29 +08:00
phobos2077
a2ea1910f5
Minor header and readme edits
2023-07-10 23:56:58 +02:00
NovaRain
ddb3cf9b6e
Added upper/lower limits to the hit chance value
...
Edited hookscript docs.
2023-07-09 15:22:56 +08:00
NovaRain
321f8e1ab2
Changed string_pos to return -1 on arg error
...
Added a check to PartyControl::OrderAttackPatch().
Updated function documents.
2023-07-05 22:14:04 +08:00
phobos2077
66559812bd
Updated headers
...
- Add a bunch of array-related procs to unlock basic functional programming
- Fix error with FUNC_SELECTOR_7
2023-07-05 02:31:47 +02:00
phobos2077
f968dea5e7
string_pos: use negative pos value how it works in substr
2023-07-05 01:47:47 +02:00