Jump to content

Spears


Recommended Posts

Most of the spears in my install have range 1? Shouldn't it be range 2? Do we already fix this?

 

I spent a few moments over the last couple weeks to investigate attack styles and ranges, but I'll spare us all from the knowledge. It's a big mess (too big, esp. with creature attacks).

Link to comment

SperMel is the most important (she has one of the animations that will bump CREs out of the way if she tries to get closer than 2).

 

I didn't actually check the spear animations in-game; I think it should be 2, but I haven't verified.

Link to comment

Easy fix; spermel works with a range of 2.

 

// spear ranges
COPY_EXISTING ~sper02.itm~   ~override~ // spear +1
             ~sper03.itm~   ~override~ // spear +3 backbiter
             ~sper05.itm~   ~override~ // spear +2
             ~sper06.itm~   ~override~ // spear +3
             ~sper07.itm~   ~override~ // spear of the unicorn +2
             ~sper08.itm~   ~override~ // spear +3 impaler
             ~sper09.itm~   ~override~ // spear +1 halcyon
             ~sper10.itm~   ~override~ // spear of withering +4
             ~sper11.itm~   ~override~ // ixil's nail +4
             ~sper12.itm~   ~override~ // ixil's spike +6
             ~spermel.itm~  ~override~ // melissan's spear
             ~tasloiil.itm~ ~override~ // spear
             ~waspear.itm~  ~override~ // spear of kuldahar +3
 READ_LONG  0x64 "abil_off" ELSE 0
 READ_SHORT 0x68 "abil_num" ELSE 0
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
   READ_BYTE  ("%abil_off%" +        ("%index%" * 0x38)) "type"
   PATCH_IF ("%type%" = 1) BEGIN // melee
     WRITE_SHORT ("%abil_off%" + 0x0e + ("%index%" * 0x38)) 2 // range
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...