opr-official / army-forge-issues

0 stars 0 forks source link

TTS endpoint not returning rules text for custom special rules #9

Open thomascgray opened 1 year ago

thomascgray commented 1 year ago

this army is made with a custom "army roster" https://army-forge.onepagerules.com/share?id=I_PB05NtLD_j&name=Congregation_-%20%22Corona%22

It includes a unit which has the "Avenger" custom special rule

but when I retrieve that army via the TTS endpoint here https://army-forge.onepagerules.com/api/tts?id=I_PB05NtLD_j

the rule text for "Avenger" is no where in the output, unlike something like "Shield Wall" in that example, that you can see does have rule text.

Would it be possible to get that rules text in the output? Thank you!

thomascgray commented 1 year ago

I can see that "Avenger" is now in the unit specialRules, but the definition is no where to be found - could the definition be included somewhere? Presumably in the top-level specialRules - Is that possible?