• 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

Assigning immunities at certain levels

bodrin

Well-known member
This script doesn't work, it displays invalid syntax errors i've tried Helper.xImm*** and ShowSpec.xImm*** to no avail.

Code:
~If we're 9th level then we are immune to Nausea

if (#totallevelcount[] >= 9) then

perform hero.assign[xImmNausea]
else

~If we're 3rd level then we are immune to Sickness

if (#totallevelcount[] >=3) then

perform hero.assign[xImmSicken]
endif
 endif

Any help,:confused: Please?
 
xImmNausea is a Thing or really an "Ability" or "Racial Ability" correct? Yet you are attempting to assign a Tag to the hero.

An ability thing like xImmNausea will have to be Bootstrapped and then set with a Condition to when the bootstrap should actually happen. In this case level or hit dice.

So on the bootstrap use this at like First/500
Code:
count:Hero.HitDice >= 9

I have learned that depending on the "Thing" the timing needs to be any where from First/99 to First/1,000. So you may have to play around with that.

Also once you start dealing with "Conditional Bootstraps" don't try and do a "Test Now!". That can don strange things. You will need to do a Ctrl-R each time you make a change. That is what I have found...
 
It's for the Pestilence bloodline from council of thieves. I'm trying to get the immunities to appear at the correct levels 9th and 3rd without bootstrapping anything.
 
To get it to work you will have to use Conditional Bootstrapping. Its the only way to get it to work. Otherwise HL has now way to get the Thing onto the hero.

So the thing has to be bootstrapped onto the hero first and then told when to be displayed? But the #TotalLevel macro won't work within the conditional, I'd already tried the condition field before posting!

Therefore another script type is needed to check for the correct application, which peforms a similar test to the easier Macro method.

Hmmmm. I think another feature request is needed. The ability to utilise the macros within the condition fields of bootstraps.
 
You should be able to do it as a count in the conditions. This is what I had to do with a lot of the ones I did. Don't have HL in front of me and don't remember it off the top of my head.

Watch for a message about bootstrapping a bootstrap. I start getting that a lot when I am doing that even when not bootstrapping a bootstrap.
 
Bodrin, you can't use macros in the condition, use the code ShadowChemosh suggested for your bootstrap condition:

First 500
count:Hero.HitDice >= 9
 
Aaron - this is an ability on a sorcerer bloodline, so switch that to Sorcerer levels, rather than Hit Dice.

Code:
count:Classes.Sorcerer
 
Bodrin, you can't use macros in the condition, use the code ShadowChemosh suggested for your bootstrap condition:

First 500
count:Hero.HitDice >= 9

I realised that, I was clarifying that I'd already attempted the condition route but had used the macro prior to my original post.

I was asking for the ability to utilise macros within the condition field at some point in the future. Possibly?:cool:


Aaron - this is an ability on a sorcerer bloodline, so switch that to Sorcerer levels, rather than Hit Dice.

Code:
count:Classes.Sorcerer

And I have every intention of using this method at the soonest possible convenience.:D:)

Thanks.:o
 
Back
Top