[DiscordArchive] alright, i give - why does this work?
[DiscordArchive] alright, i give - why does this work?
Archived author: Nyeriah • Posted: 2023-12-08T23:36:39.721000+00:00
Original source
Maybe it doesn’t have a victim
Archived author: KJack • Posted: 2023-12-08T23:36:46.423000+00:00
Original source
OH SNAP
Archived author: KJack • Posted: 2023-12-08T23:36:47.426000+00:00
Original source
that's it
Archived author: KJack • Posted: 2023-12-08T23:36:52.058000+00:00
Original source
when gouge lands, it switches targets
Archived author: KJack • Posted: 2023-12-08T23:36:54.366000+00:00
Original source
awesome, thanks
Archived author: KJack • Posted: 2023-12-08T23:37:26.568000+00:00
Original source
or rather, it stops attacking and doesn't have a new target yet, hence no victim! let me test, but that makes sense.
Archived author: Nyeriah • Posted: 2023-12-08T23:37:37.154000+00:00
Original source
Indeed
Archived author: KJack • Posted: 2023-12-08T23:41:15.613000+00:00
Original source
yep, that was it. tyvm.
```c++
Unit* gougeTarget = me->GetVictim();
DoCastVictim(SPELL_GOUGE, true);
if (gougeTarget && gougeTarget->HasAura(SPELL_GOUGE))
```