• 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

Count Number of Spell-Like Abilities

Spell-like abilities aren't really distinguished from other abilities in HL, yet. You'll have to use a foreach loop to find all the special abilities that have the SpecType.SpellLike tag:

Code:
var bonus as number
foreach pick in hero where "component.BaseSpec & SpecType.SpellLike"
bonus +=1
nexteach
 
at this point, do something with bonus
The problem with that is that since the SpecType.SpellLike tag doesn't do anything in HL yet, it's been forgotten on some of the abilities. I'd go with the way the various monster feats handle spell-like abilities - skip the pre-req until spell-like abilities are fully implemented.
 
Back
Top