BSData / adeptus-titanicus

Adeptus Titanicus
http://battlescribedata.appspot.com/#/repo/adeptus-titanicus
15 stars 19 forks source link

Legio selection affects multiple Maniples #209

Closed jorisvangestel closed 2 years ago

jorisvangestel commented 2 years ago

Describe the bug When you select a Legio for a single Maniple, it is considered active for each Maniple that has Legio Traits for that Legio, see attached screenshot (e.g. for Krytos it will be Axiom, Fortis, Myrmidon, Precept and Regia, for Gryphonicus it will be all). I have created 2 Maniples each with a different Legio but it shows the Legio traits for both maniples.

To Reproduce Steps to reproduce the behavior:

  1. Create a battegroup with 2 maniples that have traits for the same Legio
  2. Select a Legio for both
  3. Observe the error

Expected behavior Legio selection should only affect the Maniple for which it is selected.

Screenshots image

Device and data (please complete the following information):

Additional context I think this is being caused by the visible trigger for the Legio traits being set to 'Primary Category' instead of 'Parent': image

jorisvangestel commented 2 years ago

This only affects Legio Krytos/Legio Grphynicus because the other Legios aren't implemented yet, as I'm going through the maniples to implement the titan replacement this will also be fixed.