Backported the code of DeathAnim1/2 hook from 4.x

Updated hookscripts.txt to reflect the change.
This commit is contained in:
NovaRain
2020-04-01 10:57:54 +08:00
parent 136404a723
commit bc2e8e4362
3 changed files with 70 additions and 84 deletions
+1
View File
@@ -132,6 +132,7 @@ int arg1 - The pid of the weapon performing the attack. (May be -1 if the at
critter arg2 - The attacker
critter arg3 - The target
int arg4 - The amount of damage
int arg5 - Unused, always -1 (since sfall 3.8.24)
int ret1 - The pid of an object to override the attacking weapon with