• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Immunity from Item Eval Script

davis_mc

Member
I have a question. I have a magic item (a wonderous item) that is an orb and based on a certain color of the orb it will adjust some stats and other special abilities.

The eval script I am using in the "final" from the timing standpoint.

Everything working fine with one exception and that is what I am asking about.

What i am trying to add is add like an immunity to fire that shows in the special. But I am just not getting it.

In the eval script I have tried like.
perform hero.assign[Immunity.Fire】

I get an error either the grouped.

I tried to create an adjustment calling it pImmFire and having a bootstrap on it for xImmFire.

Then doing in that magic item eval script
perform hero.assign[Adjustment.pImmFire]

Nothing.

I know if I go to the Adjust tab and do the other adjustments and I can do the pImmFire. That actually works but it's not associated with the magic item.

I need to happen from within an eval script of that magic item.

Am I just missing something simple or just missing something or not understanding completely?
 
This sounds kind of like what Ioun Stones do, maybe take a look at those?
Hmmm... the Ioun Stone's the closest for immunity is the the Gamboge nodule. It has immunity to poison. However, it seems textual only on the magic item. It does not show in the "Special". Three are some interesting things in all those stones so those might help in the future but it doesn't solve the issue I have now.

I did look at the "Crown of Infernal Majesty" - that seems like it would, however, it is in the bootstrap. I need the condition in the bootstrap to be not only if its equipped but also if on the item the field[usrIndex].value = 1. I get the error of invalid tag template specified: ''field[usrIndex].value'. How can I do about adding that field[usrIndex].value = 1 in the condition on the bootstrap? Or is there a way I can add the xImmFire to the Eval script of the item so that it will show in the "Specials" tab like the bootstrap situation?
 
Back
Top