• 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

More Coding Questions

TCArknight

Well-known member
Ok, I've come up with a couple of questions based on classes in one of the books I'm doing. However, this would be a situation that could arise anytime, so thought would ask. :)

1) Is there a way to tell if a weapon is part of a group like Axes or Swords? I know could code for each weapon, but I want to be able to do something like for all Swords, gain a bonus. If someone codes their own sword, then it should have the bonus. :)

2) Along the same lines, is it possible to search through the list of all special abilities on a character to see if they have one named 'Evasion' for example? There are so many classes that give evasion, it makes it a royal pain to try to enumerate them.

3) The Fate domain grants the character the Uncanny Dodge ability, and if the Cleric has other class that provides the ability, then the Cleric levels are added to the other level's for determining whether gain the Improved Uncanny Dodge. (Does this have to do with Bootstrapping the xUncanny special?)

4) Add the spells for new domain - I.e. add the new domain to existing spells (without doing a new (copy) on the spell?)

Thanks!
TC
 
Last edited:
1) Is there a way to tell if a weapon is part of a group like Axes or Swords? I know could code for each weapon, but I want to be able to do something like for all Swords, gain a bonus. If someone codes their own sword, then it should have the bonus. :)

No, I'm afraid there isn't anything like this.

2) Along the same lines, is it possible to search through the list of all special abilities on a character to see if they have one named 'Evasion' for example? There are so many classes that give evasion, it makes it a royal pain to try to enumerate them.

Sorry, there isn't anything in common for evasion.

3) The Fate domain grants the character the Uncanny Dodge ability, and if the Cleric has other class that provides the ability, then the Cleric levels are added to the other level's for determining whether gain the Improved Uncanny Dodge. (Does this have to do with Bootstrapping the xUncanny special?)

Yes, all Uncanny Dodge picks bootstrap xUncanny, which is what's actually displayed to the user, so that HL can figure out whether your combination of classes qualifies you for Improved Uncanny Dodge.

4) Add the spells for new domain - I.e. add the new domain to existing spells (without doing a new (copy) on the spell?)

Each class or domain for which a spell is available is a new spell.
 
I'm posting from my phone for now so will keep it brief.

a) would it be possible to make new copies of existing items and assign something like an IsSword tag to the item? then could check the eaches for the tag and bonus it?

b) could do something similar to xUncanny (xEvasion) and have it tag the hero with HasEvade tag?
 
You can do both of these things with User tags, but you'll have to make a copy to replace every sword. If you look at the cavalier class I sent you as part of my files it has a list of all the things I consider swords.
 
Back
Top