pete_smith1229 Posted October 15, 2022 Share Posted October 15, 2022 I'm trying to create a spell which activates when certain effects occur. I've created icons which appear for portraits and the Record section for these effects (e.g. a damage over time effect, similar to poison but does other forms of damage like electric). I'm not sure if spell states are tied to icons or not. Is it possible to create a state so that it can be used in the "Apply effects list (326)" parameter? Quote Link to comment
subtledoctor Posted October 15, 2022 Share Posted October 15, 2022 (edited) Yes. I made a function for this, and use it like so. Edited October 15, 2022 by subtledoctor Quote Link to comment
pete_smith1229 Posted October 15, 2022 Author Share Posted October 15, 2022 @subtledoctor Thanks, I downloaded your misc_functions.tpa along with others considering I'm using quite a few of your macros! Quote Link to comment
pete_smith1229 Posted October 15, 2022 Author Share Posted October 15, 2022 Works great! Initially after setting "Set spell state (328)", I couldn't find the new spell state I made. Took me a while to realise that I had to change the Mode parameter from "IWD mode" to "IWD2" mode (for whatever reason). Then I could find the new spell state and it works. Thanks again! Quote Link to comment
subtledoctor Posted October 15, 2022 Share Posted October 15, 2022 Yeah with opcode 328 you have to set the ‘Special’ field to 1 (IWD2 mode) 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.