WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

ALTER_ITEM_HEADER is incomplete #135

Closed 4Luke4 closed 5 years ago

4Luke4 commented 5 years ago

On EE games, it should be possible to set/unset BIT2 (EE: Damage strength bonus) and BIT3 (EE: THAC0 strength bonus). They're located at offset 0x026. In other words:

LPF ALTER_ITEM_HEADER
INT_VAR
  flag_ee_strength_damage = 1   // or 0
  flag_ee_strength_thac0 = 1      // or 0
END
FredrikLindgren commented 5 years ago

Done.

4Luke4 commented 5 years ago

@FredrikLindgren

Could you reopen this issue? I forgot about target count (located at offset 0x000d) - It should be possible to alter this value too....