Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Identify duplicate effects and consolidate them (#1347)
* Fix army structure in verify script The change from Army to AggregateArmy seems to be required The change from keys with a lookup to using values directly was just a nice to have * Only console log each warning once * Add description duplication check to verify script * Group by more info, use effect id to ignore Now matches on phase and name as well as description Introduces an optional `id` to effect, that is then used for ignoring (excluding from the input) effects that are seen multiple times but can all be traced back to the same effect id * Remove effect name from info We added it to to matchBy, so it can already be seen in the output * Add wanderers hornblower effect * Fix mistakes in Sisters of the Thorn wizard rule * Add wanderers standard bearer effect * Add magister magic effect, and id to magic touched effect * Sylvaneth and Tomb Kings * Avoid adding from the same units again eg Stormcast units will often appear a couple of times, so we should avoid indicating that they have duplicate effects with themselves * Switch entries array to objects * Add identifiers to existing split-out effects * Pull out Stormcast effects * Calculate all ids in case we want to verify these We should want to check that each id is only defined once in the code but that will need either file recursion and reading in, or shelling out to grep * Soulblight * Seraphon, Skaven, Slaves to Darkness * Replace `id` with `shared` Simpler * OBR effects * Ogors and wood elves * Ogors and legacy Order stuff * More effects * More Nurgle and Slaanesh effects * More Slaanesh * OBR / Soulblight / LoN effects * Blood and anger * So many effects * Is it... over...? --- Yes, it is! Fixes #1338
- Loading branch information