• 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

Item Spells on a non-item?

ShadowChemosh

Well-known member
So have a question for something I am trying to implement. I have a unique magic weapon. If you have two of these weapons then you get to use Blade Barrier as the spell 1/day.

I tried putting in a unique Ability with the Blade Barrier spell attached and set for Helper.Item (Think thats the tag that makes a Spell show as a Item Spell instead of a normal spell). But it won't display.

So maybe with all the new UE items that got added their is a new easy way to do this? Maybe an example from UE or something that I could take apart and use to learn from?

So basically if you have Two of the same Daggers I want to have the Blade Barrier spell display on the Spell Tab under Item Spells as 1/day. I am simply setting a tag on the Hero for each weapon so I can easily count the number of daggers the character has. Its just getting this Item Spell to appear once that is throwing me.

Thanks
 
I'd put the item spell on there all the time, and then write a script to find and hide it if you aren't equipping both of them.

(oh, and you'll probably want two nearly identical items - one has the item spell and the script, the other doesn't, but they're otherwise the same)

The tag you're looking for is Helper.ItemSpell, BTW, but if you use that, you'll trigger all the "is our root pick equipped?" mechanics that are built in for item spells, and those will complain if their root pick isn't equippable.
 
Thanks Mathias. I was actually after some trial and error to get this to work on a "Ability" thing actually. The spell won't appear until I deleted a few tags that where causing it to be disabled. But after that it works great.

So when I have two weapons equipped it shows up correctly on the Spells tab under the "Item Spells". :)
 
Back
Top