Jump to content

Opcode 232 Alternatives?


Recommended Posts

Hello everyone,

I'm using opcode 232 to apply an onHit effect to a character when they are invisible- this works fine, however opcode 232 only checks for states every round, which sometimes feels very slow.
Is there an alternative that can apply the onHit effect instantly (or at least faster) whenever invisibility is achieved, or perhaps check for the invisibility state when striking?

Link to comment

Thanks, I didn't get to try exhaustively yet but my plan is to use opcode 272 to use a .eff file every second. The .eff casts a spell, which in turn casts a spell as well as opcode 318 to protect against said spell if not invisible. Is that more-or-less the right direction? It feels a bit convoluted so perhaps there's a better way?

EDIT: However I've been looking into opcode 272 and found that it has a storied history of issues; Hopefully there's a safer, but similarly fast check

Edited by Ameranth
Link to comment

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.

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.

×
×
  • Create New...