K4thos Posted October 4, 2018 Share Posted October 4, 2018 (edited) 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 October 4, 2018 by K4thos Quote Link to comment
kjeron Posted October 4, 2018 Share Posted October 4, 2018 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. Quote Link to comment
Avenger Posted October 13, 2018 Share Posted October 13, 2018 It is working only with the 'fist only' bit. Quote Link to comment
Luke Posted March 16, 2019 Share Posted March 16, 2019 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...... Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.