mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added optimization for the save/load game screens
Edited the description of args for HOOK_TOHIT.
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
Critter arg2 - The target of the attack
|
||||
int arg3 - The targeted bodypart
|
||||
int arg4 - Source tile (may differ from attacker's tile, when AI is considering potential fire position)
|
||||
int arg5 - Attack Type (one of ATKTYPE_*)
|
||||
int arg6 - Ranged flag. 1 means the hit chance is calculated by taking into account the bonuses/penalties of the distance to the target
|
||||
int arg5 - Attack Type (see ATKTYPE_* constants)
|
||||
int arg6 - Ranged flag. 1 if the hit chance calculation takes into account the distance to the target. This does not mean the attack is a ranged attack
|
||||
int arg7 - The raw hit chance before applying the cap
|
||||
|
||||
int ret0 - the new hit chance
|
||||
|
||||
Reference in New Issue
Block a user