mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Reverted some changes in previous commit.
* Now weapons with knockback modifiers applied still stack with others in the inventory. Rewrote the code of set/remove_*_knockback functions in C++.
This commit is contained in:
@@ -122,9 +122,9 @@
|
||||
0x8193 - int active_hand()
|
||||
0x8194 - void toggle_active_hand()
|
||||
|
||||
0x8195 - void set_weapon_knockback(object weapon, int type, float value)
|
||||
0x8196 - void set_target_knockback(object critter, int type, float value)
|
||||
0x8197 - void set_attacker_knockback(object critter, int type, float value)
|
||||
0x8195 - void set_weapon_knockback(object weapon, int type, int/float value)
|
||||
0x8196 - void set_target_knockback(object critter, int type, int/float value)
|
||||
0x8197 - void set_attacker_knockback(object critter, int type, int/float value)
|
||||
0x8198 - void remove_weapon_knockback(object weapon)
|
||||
0x8199 - void remove_target_knockback(object critter)
|
||||
0x819a - void remove_attacker_knockback(object critter)
|
||||
@@ -132,13 +132,13 @@
|
||||
0x819d - void set_sfall_global(string/int varname, int/float value)
|
||||
0x819e - int get_sfall_global_int(string/int varname)
|
||||
0x819f - float get_sfall_global_float(string/int varname)
|
||||
0x822d - int create_array(int elementcount, int flags)
|
||||
0x822d - int create_array(int element_count, int flags)
|
||||
0x822e - void set_array(int array, any element, any value)
|
||||
0x822f - any get_array(int array, any element)
|
||||
0x8230 - void free_array(int array)
|
||||
0x8231 - int len_array(int array)
|
||||
0x8232 - void resize_array(int array, int newelementcount)
|
||||
0x8233 - int temp_array(int elementcount, int flags)
|
||||
0x8232 - void resize_array(int array, int new_element_count)
|
||||
0x8233 - int temp_array(int element_count, int flags)
|
||||
0x8234 - void fix_array(int array)
|
||||
0x8239 - int scan_array(int array, int/float var)
|
||||
0x8256 - int array_key(int array, int index)
|
||||
|
||||
Reference in New Issue
Block a user