[DiscordArchive] Does anyone know where the UnitMods enum comes from and would it be save to add a new entry in the l
[DiscordArchive] Does anyone know where the UnitMods enum comes from and would it be save to add a new entry in the l
Archived author: MaxtorCoder • Posted: 2022-10-03T17:01:30.916000+00:00
Original source
I did
Archived author: Tea • Posted: 2022-10-03T17:01:38.889000+00:00
Original source
otherwise you would have hit the static_assert
Archived author: Tea • Posted: 2022-10-03T17:01:39.979000+00:00
Original source
`static_assert(UNIT_MOD_POWER_END - UNIT_MOD_POWER_START == MAX_POWERS, "UnitMods powers section does not match Powers enum!");
`
Archived author: MaxtorCoder • Posted: 2022-10-03T17:01:50.659000+00:00
Original source
Funny thing, we don't have that
Archived author: MaxtorCoder • Posted: 2022-10-03T17:01:57.202000+00:00
Original source
Nope
Archived author: MaxtorCoder • Posted: 2022-10-03T17:01:58.167000+00:00
Original source
<:lul:451485508380655616>
Archived author: MaxtorCoder • Posted: 2022-10-03T17:02:11.919000+00:00
Original source
Might be good to add
Archived author: Tea • Posted: 2022-10-03T17:02:21.807000+00:00
Original source
<https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Entities/Unit/Unit.h#L213>
Archived author: MaxtorCoder • Posted: 2022-10-03T17:02:36.926000+00:00
Original source
Thank you very much!