Jump to content
Sign in to follow this  
K4thos

opcode #248 (undocumented parameter2)

Recommended Posts

Setting opcode #248 (Melee hit effect) parameter2 to 4 results in restricting this effect to fists only. 0 means all weapons (including fists). Not sure if there are other possible values.

 

edit: EE engine.

Edited by K4thos

Share this post


Link to post

If I had to guess the value (BIT2/4) comes from the Special Field of Opcode 12:

BIT2/4 = Fist Damage Only (except not restricted to damage in this case)

 

 

The same does not work with opcode 249, even with a "ranged" fist.

Share this post


Link to post
On 10/13/2018 at 11:03 AM, Avenger said:

It is working only with the 'fist only' bit.

That's a pity..... What about making param2 a sort of item category filter? E.g., if I set param2 = 20, then opcode #248 is restricted to Large Swords only......

That would be great......

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...