[DiscordArchive] do u know which is which in cases like `OnUnitEnterCombat(Unit *unit, Unit *victim)` ? if player att
[DiscordArchive] do u know which is which in cases like `OnUnitEnterCombat(Unit *unit, Unit *victim)` ? if player att
Archived author: Anchy • Posted: 2022-12-21T21:11:26.818000+00:00
Original source
so you can just pass the HostileReference into your hook
Archived author: Rymercyble • Posted: 2022-12-21T21:12:57.157000+00:00
Original source
victim is player in both cases
Archived author: Rymercyble • Posted: 2022-12-21T21:13:38.078000+00:00
Original source
that is kind of misleading
Archived author: Alvino • Posted: 2022-12-21T21:57:38.802000+00:00
Original source
Archmage Leryda outside of Karazhan Quest Issues:
Originally opened here: https://github.com/azerothcore/azerothco...ssues/5641
User "w5860363" mentioned a db fix, but does not provide any context.
If you traverse to here: https://github.com/TrinityCore/TrinityCore/issues/16389
User "ghost" provides context on the above fix, and why it happens.
This issue was also opened again three weeks ago, here: https://github.com/azerothcore/azerothco...sues/14005, and can be closed once implemented.
----------------------
TrinityCore also had another issue opened and can be referenced here which goes over the same issue: https://github.com/TrinityCore/TrinityCore/issues/16214
----------------------
Archived author: Rymercyble • Posted: 2022-12-21T22:07:24.710000+00:00
Original source
pretty much same kind of issue as i had before when i was trying it in different place..... `hostileRef->GetVictim()->IsPlayer()` crashes server