[DiscordArchive] ```c++
[DiscordArchive] ```c++
Archived author: Trojan • Posted: 2023-09-05T23:15:36.806000+00:00
Original source
```c++
int8 maxLevelCharacters = CharacterDatabase.Execute("SELECT guid FROM characters WHERE level = '80' AND account = '%u'", player->GetSession()->GetAccountId());
```
Can i use this statement to get all lvl 80s of a account?
Archived author: Revision • Posted: 2022-07-17T15:30:44.615000+00:00
Original source
The first one, false, removes the enchantment
Archived author: Revision • Posted: 2022-07-17T15:30:55.796000+00:00
Original source
As far as I know, at least.
Archived author: Anchy • Posted: 2022-07-17T15:31:31.607000+00:00
Original source
oh okay, so it might not even need to be there if I can just check if the enchantment already exists
Archived author: Anchy • Posted: 2022-07-17T15:31:40.208000+00:00
Original source
I'd prefer not to overwrite enchantment I guess
Archived author: Revision • Posted: 2022-07-17T15:32:38.623000+00:00
Original source
Yeah, exactly.
Archived author: Anchy • Posted: 2022-07-17T15:33:22.206000+00:00
Original source
thanks
Archived author: Revision • Posted: 2022-07-17T15:34:23.141000+00:00
Original source
Could easily have an if within that function to check if an enchantement is active, then return
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:11.100000+00:00
Original source
even with preloading the grids it crashes
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:26.455000+00:00
Original source
so what does it do after loading the grips