[DiscordArchive] should characters.character_talent include the spec_mask in it's clustered primary key?
[DiscordArchive] should characters.character_talent include the spec_mask in it's clustered primary key?
Archived author: ttopper • Posted: 2024-03-22T20:34:26.036000+00:00
Original source
should characters.character_talent include the spec_mask in it's clustered primary key?
Archived author: ttopper • Posted: 2024-03-22T20:34:50.701000+00:00
Original source
seems like if i have the same talent in spec 1 and spec 2 there should be two duplicate rows with the spec mask being different?
Archived author: ttopper • Posted: 2024-03-22T20:34:55.116000+00:00
Original source
or am i misunderstanding how it works
Archived author: Revision • Posted: 2024-03-22T20:38:19.422000+00:00
Original source
What? character_talent holds character guid, spell id and spec (it's supposed to be 0 or 1 but I'm not sure if it's actually 1 and 2)
Archived author: Rymercyble • Posted: 2024-03-22T20:39:22.533000+00:00
Original source
its mask
Archived author: Rymercyble • Posted: 2024-03-22T20:39:51.597000+00:00
Original source
`bool IsInSpec(uint8 spec) { return (specMask & (1 << spec)); }`
Archived author: Rymercyble • Posted: 2024-03-22T20:42:11.417000+00:00
Original source
i cant confirm it i dont have that table but if its in both specs it should be 3
Archived author: ttopper • Posted: 2024-03-22T20:50:32.784000+00:00
Original source
gotcha, now it makes sense
![[Image: image.png?ex=690c617d&is=690b0ffd&hm=49e...e0462cd07&]](https://cdn.discordapp.com/attachments/369084351129845760/1220837197117394974/image.png?ex=690c617d&is=690b0ffd&hm=49ed6ad0fa8ab86ef90193a9ddd60a9f1da8b46d98aa2e75245da32e0462cd07&)
Archived author: ttopper • Posted: 2024-03-22T20:51:09.797000+00:00
Original source
i tried forking the wiki so i could make that change here
https://www.azerothcore.org/wiki/character_talent
but i'm hitting an error
![[Image: image.png?ex=690c617d&is=690b0ffd&hm=49e...e0462cd07&]](https://cdn.discordapp.com/attachments/369084351129845760/1220837197117394974/image.png?ex=690c617d&is=690b0ffd&hm=49ed6ad0fa8ab86ef90193a9ddd60a9f1da8b46d98aa2e75245da32e0462cd07&)
[Embed: character_talent]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/character_talent
Archived author: Rymercyble • Posted: 2024-03-22T21:02:45.369000+00:00
Original source
actually maybe im wrong idk just try it and see what it does