[DiscordArchive] so its possible the gain is higher than 0 even when not leveling up?
[DiscordArchive] so its possible the gain is higher than 0 even when not leveling up?
Archived author: Anchy • Posted: 2023-09-15T23:18:01.469000+00:00
Original source
so its possible the gain is higher than 0 even when not leveling up?
Archived author: TJBee • Posted: 2023-09-15T23:18:25.480000+00:00
Original source
That is what I'm thinking. When I try to log the value though nothing is sent to the console
Archived author: Anchy • Posted: 2023-09-15T23:20:46.944000+00:00
Original source
is your code compiling successfully
Archived author: TJBee • Posted: 2023-09-15T23:21:13.175000+00:00
Original source
er I have a few "unused" warnings but that was it
Archived author: Anchy • Posted: 2023-09-15T23:25:35.395000+00:00
Original source
trace the hook to see where its implemented and see what arguments are passed
Archived author: TJBee • Posted: 2023-09-15T23:25:59.715000+00:00
Original source
okay!
Archived author: Anchy • Posted: 2023-09-15T23:27:43.071000+00:00
Original source
looking at the trace myself, it looks like that hook is called before any gain actually happens
Archived author: Anchy • Posted: 2023-09-15T23:27:50.656000+00:00
Original source
https://github.com/azerothcore/azerothco...s.cpp#L730
[Embed: azerothcore-wotlk/src/server/game/Entities/Player/PlayerUpdates.cpp...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...pdates.cpp