Jump to content

Greater Wolfwere Regeneration Fix


Recommended Posts

The problem here was that the ring that gives the Greater Wolfwere his regeneration had its duration set to Permanent instead of While Equipped.

 

This changes the ring so that the Greater Wolfwere regenerates correctly.

 

COPY_EXISTING ~RINGWOLF.ITM~ ~override/RINGWOLF.ITM~
   WRITE_BYTE  0x7E    0x02

Link to comment

Included in alpha 3.

 

// wolfwere ring would stack regeneration repeatedly
COPY_EXISTING ~ringwolf.itm~   ~override~
 READ_LONG  0x6a "fx_off"
 READ_SHORT 0x70 "fx_num"
 WHILE ("%fx_num%" > 0) BEGIN // searches through global effects
   SET "fx_num" = ("%fx_num%" - 1)
   READ_SHORT ("%fx_off%" + ("%fx_num%" * 0x30)) "type"
   PATCH_IF ("%type%" = 89) BEGIN // looks for set item color effect
     WRITE_BYTE ("%fx_off%" + 0x0c + ("%fx_num%" * 0x30)) 2 // instant/while equipped
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment
Did a search for other regeneration items after discovering Irenicus' ring in hell has the same stackable regeneration. It's the only oher one; included with the same patch code as above.

 

I caught that one too. Just edit the COPY_EXISTING so that both items get copied and patched.

Link to comment

Archived

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

×
×
  • Create New...