![]() |
Senior Member
Join Date: Sep 2017
Posts: 600
|
I've been working on updating SRD monsters in the Community Pack, and in doing so realized that our implementation of the Beast Master's Animal Companion is flawed.
It properly excludes all Large+ creatures, all non-beasts, and all swarms of beasts using a tag expression: Code:
searchexpr = "((hasbootstrap:tpBeast) & (RaceSize.Tiny12 | RaceSize.Small11 | RaceSize.Medium0) & !SwarmSize.?)" & excrace Code:
excrace = "& !thingid.rApe & !thingid.rBlackBear & !thingid.rGiantGoat & !thingid.rGiantSea & !thingid.GiantWasp & !thingid.rReefShar & !thingid.rWarhorse & !thingid.r5CJaculi & !thingid.r5CALGtHGo & !thingid.r5CSumBst & !thingid.r5CBstLnd & !thingid.r5CBstSea & !thingid.r5CBstSky" Code:
foreach thing in BaseRace where "((hasbootstrap:tpBeast) & (RaceSize.Tiny12 | RaceSize.Small11 | RaceSize.Medium0) & !SwarmSize.?)" if (eachthing.field[rCR].value > 0.25) then excrace &= " & !" & eachthing.tagids[thingid.?,""] endif nexteach Incoming New Adjustment! On top of that, I noticed that there have been multiple forum posts asking how to add a creature that otherwise doesn't meet these requirements (like a dragon wyrmling or a displacer beast) as the companion. I'm going to try and design an adjustment that will let you pick any creature and add it to the list as an option. Wish me luck! Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! Last edited by Fenris447; January 22nd, 2022 at 07:29 PM. |
![]() |
![]() |
Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
Nice work....
|
![]() |
![]() |
![]() |
|
|