Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

The ability to filter based on minion master
Ljac
#1 Posted : Friday, February 16, 2018 9:01:49 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 52

Thanks: 7 times
Was thanked: 74 time(s) in 15 post(s)
Hello,

recently I've been trying to make Twilight Acolyte work well without a lot of success. The main problem I'm having is that I need it to prioritize targeting enemy minions, however there is no filter option that would allow me to do it. For now I'm able to give it negative bonuses when there is no targetable enemy minion, however the bot somehow still manages to target allied minions (even when there are enemy minions with high attack to be targeted. The example is this:



See how the bot decided to play it on its own Twilight Drake instead of the enemy Gentle Megasaur? I mean, yeah, it is a Twilight Acolyte bug, but it could be circumvented if you could filter minions by friendlyness (my suggestion is to add a filter called "friendly" which would check if the minion is currently controlled by you).
Nataniel88
#2 Posted : Saturday, February 17, 2018 5:58:29 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 87

Thanks: 5 times
Was thanked: 27 time(s) in 13 post(s)
I always thouth that for opponent's minions you use "opp_target", while for yours "my_target". So just give Twilight Accolyte -1000 value in "my_target" section and it should work. Or I am wrong?
tebessa
#3 Posted : Saturday, February 17, 2018 11:27:04 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 49

Thanks: 9 times
Was thanked: 19 time(s) in 16 post(s)
nice to add this filter
like this
my_target(count(), health > 5, mymin = true) > 0
or
my_target(count(), health > 5, opmin = true) > 0

JoyAdmin
#4 Posted : Saturday, February 17, 2018 11:48:27 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,845

Thanks: 805 times
Was thanked: 4538 time(s) in 1636 post(s)
Next update you'll get this 'friendly' keyword =)
2 users thanked JoyAdmin for this useful post.
scottbreak on 2/18/2018(UTC), tebessa on 2/18/2018(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.067 seconds.