Projectiles (ie Arrows) fired from an archery attacks will do damage upon

actually hitting the target, instead of instantly when fired. Consistent
with live.

Optional SQL added to disable this.

Throwing will be implemented in a future update.
This commit is contained in:
KayenEQ
2014-11-27 22:12:13 -05:00
parent 4e3842b9d8
commit 191aa575f8
8 changed files with 323 additions and 126 deletions
+14
View File
@@ -459,6 +459,20 @@ struct Shielders_Struct {
uint16 shielder_bonus;
};
typedef struct
{
uint16 increment;
uint16 hit_increment;
uint16 target_id;
int32 wpn_dmg;
float origin_x;
float origin_y;
float origin_z;
uint32 ranged_id;
uint32 ammo_id;
uint8 skill;
} tProjatk;
//eventually turn this into a typedef and
//make DoAnim take it instead of int, to enforce its use.
enum { //type arguments to DoAnim