Jump to content

Can I prevent Wands/Scrolls from targetting invisible creatures?


Recommended Posts

Hi,

My question is exactly, as in the topic title. It would be perfect, if I could make a modification so that using a wand/scroll would trigger "normal" casting, that breaks, when targetting an invisible creature, without opcode 193 applied. Is something like that possible? Or are there any other ways to prevent such behavior?

Thanks!

Link to comment

One of the flags in item ability headers is "Cannot target invisible". EE required; that flag does nothing in pre-EE games.

This is generally only relevant for abilities that target an object; abilities that target a point like fireballs shouldn't need it.

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...