• 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

Scroll sLevel

Frodie

Well-known member
I am try to see if there is a way to get the spell level (tagvalue[sLevel.?]) from a custom scroll. And I am not sure where to even start looking for it. Any ideas?
 
I'm not sure of what your problem is. If you make a custom scroll, you set the spell level for each spell on it or accept the default.
 
I used this for iterating over wands.
Code:
      foreach pick in hero where "thingid.sCustomWnd"
        eachpick.gizmo.findchild[BaseSpell].setfocus
 
Cool, I think that will work. Thank you!

The issue is kind of crazy, but basically it's an item that can hold custom scrolls, but with a max number based on the spell's level. I looked through the fields and tags and I didn't see anything based on the spells level. There is a caster level, but not the spell itself.

Again, Thank you! The above might be what I need.
 
Just an FYI, this is what i used and it worked -

foreach pick in hero where "thingid.sCustomApp"
perform eachpick.gizmo.findchild[BaseSpell].setfocus
hero.childfound[sCustomApp].field[trkMax].value += focus.tagvalue[sLevel.?]
nexteach
 
Back
Top