• 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

Helper.SpcDisable

TCArknight

Well-known member
I have a racial ability that bootstraps a Spell. I'm also setting the value of the abValue field to 1 in a script on the ability if the Helper.SpcDisable tag is present so that I can do "fieldval:abValue = 0" as a condition on the bootstrap and only have it bootstrap if the Helper.SpcDisable tag is not present.

However, it appears that the tag isn't available until after Pre-level/1000, but the condition on the bootstrap has a limit of First/2500.

Is there a way to do this through conditionals or do I have to set the bootstraps separately as racial abilities to disable if the main ability is disabled?
 
Let me see if I get this. So you have a Racial Special that can be disabled by something else. The Racial Special bootstraps a Spell-Like ability that should be disabled if the Racial Special is? Correct?

If so the Blood of Angels package has something very similar as the Aassimars spell-like abilities which come from Racial Specials can be replaced/disabled. So I would look to see how LW did it and use the same technique.

Without looking myself I don't have any ideas off the top of my head. :(
 
I believe you should be able to bootstrap the spell like ability with a condition that an AbReplace tag matching that ability's unique ID is not on the hero.

For example, if you ability is raBaker, and it bootstraps the Summon Cake spell (spSummCake), then you would bootstrap spSummCake with the following condition, at First 2500.

count:AbReplace.raBaker = 0
 
Back
Top