[DiscordArchive] <@200677690838220800> is it possible to extend your SelectRandomInjuredTargets with an optional for
[DiscordArchive] <@200677690838220800> is it possible to extend your SelectRandomInjuredTargets with an optional for
Archived author: Telegrill • Posted: 2024-03-09T19:00:43.189000+00:00
Original source
<@200677690838220800> is it possible to extend your SelectRandomInjuredTargets with an optional for aura?
Archived author: Telegrill • Posted: 2024-03-09T19:03:17.946000+00:00
Original source
or maybe create a struct directly like FindTargetOptions and pass it instead
Archived author: Telegrill • Posted: 2024-03-09T19:04:10.552000+00:00
Original source
so that we can also include .WithLowestDuration or smh
Archived author: Tea • Posted: 2024-03-09T19:04:17.282000+00:00
Original source
no
Archived author: Tea • Posted: 2024-03-09T19:04:39.931000+00:00
Original source
that function is extremely specialized and not easy to extend
Archived author: Telegrill • Posted: 2024-03-09T19:05:05.693000+00:00
Original source
yeah but many spells work like that but also include aura checking and aura duration as a part of it
Archived author: Telegrill • Posted: 2024-03-09T19:05:14.134000+00:00
Original source
for example, Adaptative Swarm
Archived author: Telegrill • Posted: 2024-03-09T19:05:48.577000+00:00
Original source
which besides choosing injured targets, it also has aura and duration of it into account
Archived author: Telegrill • Posted: 2024-03-09T19:07:10.460000+00:00
Original source
Power Word: Radiance also works like that duh
Archived author: Tea • Posted: 2024-03-09T19:07:12.354000+00:00
Original source
so what? it doesnt change the fact that the prioritization algorithm in SelectRandomInjuredTargets isnt designed with non-boolean priorities in mind at all