mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed AI not checking min HP properly for using stims.
Edited the code of InventoryApCost in Inventory.cpp. Minor edits to some other code.
This commit is contained in:
@@ -604,7 +604,7 @@ optional arguments:
|
||||
> void sfall_func5("set_selectable_perk_npc", object npc, string namePerk, int active, int image, string desc)
|
||||
> int sfall_func2("has_fake_perk_npc", object npc, string namePerk)
|
||||
> int sfall_func2("has_fake_trait_npc", object npc, string nameTrait)
|
||||
- functions are similar to has_fake_*/set_fake_*/set_selectable_perk opcodes, but work on the specified party member NPC (including dude_obj)
|
||||
- these functions are similar to has_fake_*/set_fake_*/set_selectable_perk functions, but apply to the specified party member NPC (including dude_obj)
|
||||
|
||||
------------------------
|
||||
------ MORE INFO -------
|
||||
|
||||
Reference in New Issue
Block a user