Jump to content

<RESOURCE> Token


Skye

Recommended Posts

I came upon these two strings in the TLK file today, but after playing around for a bit, I can't seem to get anything out of this token.

Evades effects from <RESOURCE>
Unaffected by effects from <RESOURCE>


Anyone got any idea what <RESOURCE> resolves to and in what context? Only reference to these strings I could find was in ENGINEST.2DA.

Link to comment

It's probably set by opcode 324 Immunity to Spell and Message (and similar opcodes).

 

See, for example, SPWI304 (Fireball) which uses this opcode with an evasion check and specifies SPWI304 as the resource. I'm guessing <RESOURCE> takes its data from the name string reference in the spell ("Fireball").

 

In other words, <RESOURCE> is set dynamically during combat and the strings using it would be seen in the combat log.

Edited by Endurium
Link to comment

Looks like the second one is hardcoded to opcode 324, yes. I tried it with opcode 206, but it seems to ignore the resource in that case, displaying an empty string where the resource name would be.

 

A shame, I was hoping to make good use of this token in my effects.

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