Infixo / Civ6-Better-Report-Screen

Civ6 Better Report Screen mod
5 stars 0 forks source link

Units: abilities tooltip displays info without checking the unit class #7

Closed Infixo closed 1 year ago

Infixo commented 1 year ago

Many abilities are assigned to all player units via 'effect grant ability' and collection 'all player units'. The game decides which is actually active based on TypeTags table. It makes sense to filter the wrong classes out - this will make the tooltips much more readable. The change is best to be made in RegisterModifierForUnit function.