Jump to content

Requirements for Feats


LordTiDo

Recommended Posts

I'm trying to figure out how to add something like racial requirements to Feats...

The only requirement I can find that Larian uses, is for Ability Scores and Proficiencies, and even something like Ritual Caster which in D&D 5e requires 13 in either Intelligence or Wisdom is implemented like that.

It might be a creative choice, and I don't really care... but it means that I don't have an example on how to create a "either/or" requirement.

 

There's other things like spells that use a different "call" for requirements ("RequirementConditions"), but I can't seem to get it to work for Feats.

 

 

 

Would also like to add requirement for "some spellcasting" on the Feats that D&D normally require that for... but that seems even more complicated, as it seems I'd have to "measure" if the character has spell slots and/or cantrips... and there's many ways of getting those without being an actual caster.

 

 

Hope someone can help

 

 

 

Edit:
So, now I've figured out that the functions that make these checks are at \Data\Scripts\thoth\helpers

But... I can't seem to get it to react to it if I create a new function to check for racial tags...

There's already another function that uses the Tagged() function to check for playable races, so I tried using that... with no luck.

 

Weirdly enough... there's a "can use spells" function made for the purpose of Feats... and it's set to always return True... but... from running random tests, I noticed that it actually works... It's not available if the character can't use spells. So I'm super confused as to how these work...

Not to mention... there's also text/descriptions prepared both for the actual used reguirements and the "can use spells" one, but I can't find a link to a localization file anywhere...

Edited by LordTiDo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...