// 
//    EDGE ATTACKS.DDF -redefine or add new attacks.
//    For documentation, see http://edge.sourceforge.net/
//    DDF Version 4.6
//

<ATTACKS>

#VERSION 1.29

// ---- Player Attacks ----

[STAFF]
ATTACKTYPE=CLOSECOMBAT;
DAMAGE.VAL=2;
DAMAGE.MAX=20;
ATTACK_HEIGHT=32;
ATTACKRANGE=96;
ACCURACY_ANGLE=0;
ACCURACY_SLOPE=0;
BERSERK_MULTIPLY=5;
ATTACK_SPECIAL=FACE_TARGET,FORCE_AIM,SILENT_TO_MONSTERS;
// ENGAGED_SOUND=PUNCH;

[GAUNTLETS]
ATTACKTYPE=CLOSECOMBAT;
DAMAGE.VAL=4;
DAMAGE.MAX=8;
ATTACK_HEIGHT=32;
ATTACKRANGE=96;
ACCURACY_ANGLE=0;
ACCURACY_SLOPE=0;
BERSERK_MULTIPLY=5;
ATTACK_SPECIAL=FACE_TARGET,FORCE_AIM;
// ENGAGED_SOUND=PUNCH;

[ELVEN_WAND]
ATTACKTYPE=PROJECTILE;
HEIGHT=8;
RADIUS=11;
SPEED=30;
DAMAGE.VAL=10;
DAMAGE.MAX=20;
BERSERK_MULTIPLY=5;
ATTACKRANGE=1024;
ATTACK_SPECIAL=KILL_FAILED_SPAWN;
PROJECTILE_SPECIAL=NOBLOCKMAP,DROPOFF,NOGRAVITY,MISSILE,NOSHADOW;
ATTACK_HEIGHT=32;
// LAUNCH_SOUND=RLAUNC;

STATES(IDLE)=FX01:A:3:BRIGHT:NOTHING,
             FX01:B:3:BRIGHT:NOTHING;

STATES(DEATH)=FX01:C:2:BRIGHT:NOTHING,
              FX01:D:2:BRIGHT:NOTHING,
              FX01:E:2:BRIGHT:NOTHING,
              FX01:F:2:BRIGHT:NOTHING,
              FX01:G:2:BRIGHT:NOTHING,
              FX01:H:2:BRIGHT:NOTHING,
              #REMOVE;

[ARROW_LEFT]
ATTACKTYPE=PROJECTILE;
HEIGHT=8;
RADIUS=11;
SPEED=28;
ANGLE_OFFSET=-7;
DAMAGE.VAL=20;
DAMAGE.MAX=40;
BERSERK_MULTIPLY=5;
ATTACKRANGE=1024;
ATTACK_SPECIAL=KILL_FAILED_SPAWN;
PROJECTILE_SPECIAL=NOBLOCKMAP,DROPOFF,NOGRAVITY,MISSILE,NOSHADOW;
ATTACK_HEIGHT=32;
// LAUNCH_SOUND=RLAUNC;

STATES(IDLE)=FX03:A:10:BRIGHT:NOTHING;

STATES(DEATH)=FX03:B:2:BRIGHT:NOTHING,
              FX03:C:2:BRIGHT:NOTHING,
              FX03:D:2:BRIGHT:NOTHING,
              FX03:E:2:BRIGHT:NOTHING,
              #REMOVE;

[ARROW_MID]
ATTACKTYPE=PROJECTILE;
HEIGHT=8;
RADIUS=11;
SPEED=27;
ANGLE_OFFSET=0;
DAMAGE.VAL=20;
DAMAGE.MAX=40;
BERSERK_MULTIPLY=5;
ATTACKRANGE=1024;
ATTACK_SPECIAL=KILL_FAILED_SPAWN;
PROJECTILE_SPECIAL=NOBLOCKMAP,DROPOFF,NOGRAVITY,MISSILE,NOSHADOW;
ATTACK_HEIGHT=32;
// LAUNCH_SOUND=RLAUNC;

STATES(IDLE)=FX03:A:10:BRIGHT:NOTHING;

STATES(DEATH)=FX03:B:2:BRIGHT:NOTHING,
              FX03:C:2:BRIGHT:NOTHING,
              FX03:D:2:BRIGHT:NOTHING,
              FX03:E:2:BRIGHT:NOTHING,
              #REMOVE;

[ARROW_RIGHT]
ATTACKTYPE=PROJECTILE;
HEIGHT=8;
RADIUS=11;
SPEED=28;
ANGLE_OFFSET=7;
DAMAGE.VAL=20;
DAMAGE.MAX=40;
BERSERK_MULTIPLY=5;
ATTACKRANGE=1024;
ATTACK_SPECIAL=KILL_FAILED_SPAWN;
PROJECTILE_SPECIAL=NOBLOCKMAP,DROPOFF,NOGRAVITY,MISSILE,NOSHADOW;
ATTACK_HEIGHT=32;
// LAUNCH_SOUND=RLAUNC;

STATES(IDLE)=FX03:A:10:BRIGHT:NOTHING;

STATES(DEATH)=FX03:B:2:BRIGHT:NOTHING,
              FX03:C:2:BRIGHT:NOTHING,
              FX03:D:2:BRIGHT:NOTHING,
              FX03:E:2:BRIGHT:NOTHING,
              #REMOVE;


// ---- Monster Attacks ----

[GARG_CLAW]
ATTACKTYPE=CLOSECOMBAT;
DAMAGE.VAL=4;
DAMAGE.MAX=20;
ATTACKRANGE=64;
ATTACK_SPECIAL=NEED_SIGHT,FACE_TARGET;

[MUMMY_PUNCH]
ATTACKTYPE=CLOSECOMBAT;
DAMAGE.VAL=4;
DAMAGE.MAX=20;
ATTACKRANGE=64;
ATTACK_SPECIAL=NEED_SIGHT,FACE_TARGET;

[DOG_BITE]
ATTACKTYPE=CLOSECOMBAT;
DAMAGE.VAL=4;
DAMAGE.MAX=40;
ATTACKRANGE=64;
ATTACK_SPECIAL=NEED_SIGHT,FACE_TARGET;


