• 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

template validation?

Mindcloud

Well-known member
I am trying to create an eval rule in a class special ability that checks if the hero has an animal companion and then weather a specific template has been applied by the user to the animal companion. This is from unapproachable east the blightlord prestige class forces the blightspawn template on any animal companions the character may have. I could use some help on how to go about this.
 
Code:
if (hero.childlives[cAnimComp] <> 0) then
  validif (hero.childfound[cAnimComp].minion.tagis[Template.tm?] <> 0)
  endif

(Of course you'll need to replace the "tm?" in "Template.tm?" with the unique Id of the blightspawn template)
 
Back
Top