Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[assignGear] clear all unit traits by default #394

Open
NikkoJT opened this issue Apr 9, 2023 · 1 comment
Open

[assignGear] clear all unit traits by default #394

NikkoJT opened this issue Apr 9, 2023 · 1 comment

Comments

@NikkoJT
Copy link
Collaborator

NikkoJT commented Apr 9, 2023

Some unit types come with preconfigured traits. Sometimes these traits are not wanted. For example, GM special forces units have basically every trait regardless of their role.

assignGear should clear all traits to start with, so the unit ends up only having the traits granted by its assignGear class.

@SamLex
Copy link
Member

SamLex commented Nov 29, 2024

Testing on dev (06ff60f) - PASS

  • In non-dedicated MP with a mission created directly from the template.
    • Slotted an Engineer unit, class "r" - no traits, as expected
    • Slotted an Engineer unit, class "eng" - only Engineer/ExplosiveSpecialist traits, as expected
    • Slotted an Engineer unit, class "m" - only Medic trait, as expected
    • Slotted a Combat Life Saver unit, class "r" - no traits, as expected
    • Slotted a Combat Life Saver unit, class "eng" - only Engineer/ExplosiveSpecialist traits, as expected
    • Slotted a Combat Life Saver unit, class "m" - only Medic trait, as expected
    • Slotted an Ammo Bearer unit, class "r" - no traits, as expected
    • Slotted an Ammo Bearer unit, class "eng" - only Engineer/ExplosiveSpecialist traits, as expected
    • Slotted an Ammo Bearer unit, class "m" - only Medic trait, as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants