• 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 tag on Animal Companion from Class Ability?

TCArknight

Well-known member
I've got a Class Ability that adds a custom Animal Companion. Based on the companion chosen, the character adds a specific spell X to their spell known list.

I've got the custom companion race adding a Custom.AniSpi<race> tag to the Companion.

What kind of condition on the bootstrap do I need to use to see if the Companion chosen has a specific race's tag?

I tried specifically for a Badger-like companion (count:hero.minion.tagcount[Custom.AnSpiBadger] >=1) but I get an error that invalid tag template specified.

I guess I'm not understanding how to transition from master to minion for the most part...

Any help?
 
Can you think of any favored class options that modify the minion (like adding to the minion's HP or skill points)?

How do they make the transition you're looking for?
 
Mathias, will the minion transition work inside a bootstrap condition?

I'd approach it from the perspective of the animal companions you made. Put an early eval script on the animal companion race that transitions to their master and applies their Custom tag to that hero. Then have the bootstrap condition on this class ability at a later priority than that, looking for the Custom tag on the current hero (the master).
 
Ok, I tried this: hero.childfound[cAnimComp].minion.tagis[Custom.AnSpBadger]

If that is in an eval script, it successfully returns 1 if the companion race has the tag. However, if I use it in the condition, I get an 'Invalid tag template' error message. I tried it with count:hero.childfound[cAnimComp].minion.tagis[Custom.AnSpBadger]<>0 as well with the same issue.

Thoughts?
 
Conditions use an entirely different code than scripts.

Conditions can't travel to any location but themselves and the hero.

Use Aaron's suggestion.
 
Hmmm... my conditional seems to be off.

Code:
count:tagcount[Custom.AnSpBadger] = 1
This returns 'invalid tag template'.

Code:
count:hero.tagis[Custom.AnSpBadger] = 1
This returns ''Tag 'hero.tagis' not defined".

what am I missing?

Thanks!
Thomas
 
Back
Top