Added the damage type offset of weapon proto to define_extra.h.

Fixed a typo in hookscripts.txt.
Added a new example mod gl_autodoors (by Mr.Stalin) to modderspack. #19
This commit is contained in:
NovaRain
2017-11-28 00:30:29 +08:00
parent 0eab48932a
commit c6864e01f6
5 changed files with 88 additions and 1 deletions
@@ -89,6 +89,7 @@
#define PROTO_WP_ANIM (36)
#define PROTO_WP_DMG_MIN (40)
#define PROTO_WP_DMG_MAX (44)
#define PROTO_WP_DMG_TYPE (48)
#define PROTO_WP_RANGE_1 (52)
#define PROTO_WP_RANGE_2 (56)
#define PROTO_WP_PROJ_PID (60)
+1 -1
View File
@@ -309,7 +309,7 @@ Runs when retriving the damage rating of the players used weapon. (Which may be
int arg1 - The default min damage
int arg2 - The default max damage
Item arg3 - The weapin used. (0 if unarmed)
Item arg3 - The weapon used. (0 if unarmed)
Critter arg4 - The critter doing the attacking
int arg5 - The type of attack
int arg6 - non zero if this is an attack using a melee weapon