[DiscordArchive] has anyone worked with FilterTarget hook in spells which prefers given targets that do not have a ce
[DiscordArchive] has anyone worked with FilterTarget hook in spells which prefers given targets that do not have a ce
Archived author: Telegrill • Posted: 2024-02-23T21:25:19.021000+00:00
Original source
has anyone worked with FilterTarget hook in spells which prefers given targets that do not have a certain aura on them BUT if after filtering them the size of the targets is lower than the actual MaxTarget of the spell, it fills it with the ones that have the buff randomly?
Archived author: Telegrill • Posted: 2024-02-23T21:27:18.146000+00:00
Original source
cause having to create a std::make_tuple sucks
Archived author: Northstrider • Posted: 2024-02-23T21:39:42.964000+00:00
Original source
yeah. just create a copy of the targets and filter that one. if the size of the copied targets is lower than what you want, just resize the original targets, otherwise assign the copy
Archived author: Tea • Posted: 2024-02-23T21:42:30.371000+00:00
Original source
what he wants is a copy of Trinity::SelectRandomInjuredTargets but with generic classification