subtledoctor Posted January 8, 2018 Posted January 8, 2018 Opcode 12 seems to be one of these ones that splits parameter2 into two functions - in NI it shows as - Mode: Normal (0) - Damage Type: FIRE - 8 Anyone know how to use the Weidu XYZ_EFFECT functions with this? Is it, mode = bytes 1-2, and type = bytes 3-4? Should I convert it to a hex value? What I'm trying to do, btw, is add an effect that does 'stunning' damage (mode 0, type 2048) Quote
Avenger Posted January 8, 2018 Posted January 8, 2018 You can simply multiply type by 65536. But you can always try to do something fancier. Quote
subtledoctor Posted January 8, 2018 Author Posted January 8, 2018 Ah, shift the type value 2 bytes over. I get it. Cool. (Didn't think of multiplying, heh) Quote
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.