Card AI (Improvements) Requests
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Card AI (Improvements) Requests
by Agetian » 18 Sep 2014, 13:38
Good job on the fix, Excessum! This looks like a reasonable and valid change, I appreciate your effort to make this logic better!
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Card AI (Improvements) Requests
by RichardHawk » 19 Sep 2014, 16:43
AI did not stop itself from dying to a Prodigal Sorcerer ping with a Master Healer on board. It does use the ability to prevent combat damage.
AI casts Flash of Insight for X=0.
AI sacrifices Crown of Vigor when it's on its only attacking creature.
AI casts Flash of Insight for X=0.
AI sacrifices Crown of Vigor when it's on its only attacking creature.
- RichardHawk
- Posts: 31
- Joined: 24 Mar 2014, 04:12
- Has thanked: 2 times
- Been thanked: 0 time
Re: Card AI (Improvements) Requests
by Agetian » 22 Sep 2014, 08:24
The AI does not try to get rid of useless+harmful cards on its part of the battlefield in any way - for instance, it won't consider using its 2/4 creature to chump-block after it was enchanted with Stab Wound and thus became 0/2 that deals 2 damage to its controller every upkeep.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Card AI (Improvements) Requests
by excessum » 22 Sep 2014, 09:23
There is currently no code to check for useless/harmful creatures and I doubt that there will ever be a way to solve this. The 0/2 that pings for 2 might still be saved to chump at a critical moment rather than at the first opportunity. Alternatively, the AI might have some way to remove the negative enchantment/equipment/etc. and "choose" not to waste the creature. When abilities like lord-effects, Eidolon of Blossoms triggers and Kird Chieftain activations are counted in, it becomes even messier. Even if the game-state rewinding code is implemented, all this requires long-term thinking which AIs are naturally terrible at (ie. decision-tree explosion).Agetian wrote:The AI does not try to get rid of useless+harmful cards on its part of the battlefield in any way - for instance, it won't consider using its 2/4 creature to chump-block after it was enchanted with Stab Wound and thus became 0/2 that deals 2 damage to its controller every upkeep.
- Agetian
Re: Card AI (Improvements) Requests
by Agetian » 22 Sep 2014, 09:30
Yeah, makes sense, it's indeed a pretty difficult decision for an AI to take.excessum wrote:There is currently no code to check for useless/harmful creatures and I doubt that there will ever be a way to solve this. The 0/2 that pings for 2 might still be saved to chump at a critical moment rather than at the first opportunity. Alternatively, the AI might have some way to remove the negative enchantment/equipment/etc. and "choose" not to waste the creature. When abilities like lord-effects, Eidolon of Blossoms triggers and Kird Chieftain activations are counted in, it becomes even messier. Even if the game-state rewinding code is implemented, all this requires long-term thinking which AIs are naturally terrible at (ie. decision-tree explosion).Agetian wrote:The AI does not try to get rid of useless+harmful cards on its part of the battlefield in any way - for instance, it won't consider using its 2/4 creature to chump-block after it was enchanted with Stab Wound and thus became 0/2 that deals 2 damage to its controller every upkeep.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Card AI (Improvements) Requests
by RichardHawk » 25 Sep 2014, 09:01
The AI played the Explore-mode of Journey of Discovery - and then made no land plays.
The AI doesn't have to obey the rules for Talon of Pain, it can nuke you with no charge counters.
AI sacrifices its own creatures to Grab the Reins even though it could attack with them to an empty board.
When used by the AI, Soilshaper's ability fizzles.
AI cast Otherworldly Journey on my turn after declare attackers - on my biggest creature, which was not attacking and had no relevant abilities.
AI played Kodama's Might on its tapped creature before attacking.
AI sacrificed Wild Cantor to cast Wildsize at the now non-existent Wild Cantor.
An AI with two Tidewater Minion will use them to untap each other an arbitrarily large number of times.
AI flipped Timebender with no targets.
Shields of Velis Vel fizzles due to lack of targets when cast by the AI.
AI still uses Sneak Attack effects when it has no intention of attacking.
AI sacrificed a goblin to Marsh Flitter on defense with no intention of blocking.
AI casts Invert the Skies with no board.
AI kicks Kor Sanctifiers when it controls the only targets on the board.
AI does not sacrifice Fume Spitter in response to it being destroyed.
AI casts Psychosis Crawler with an empty hand.
AI activates Flameblast Dragon for X=0.
AI plays Slum Reaper into an empty board.
AI chose pro green for Brave the Elements with me having Plains, Islands and a Seacoast Drake on board.
AI casts Devouring Light on its own blocking creature.
The AI doesn't have to obey the rules for Talon of Pain, it can nuke you with no charge counters.
AI sacrifices its own creatures to Grab the Reins even though it could attack with them to an empty board.
When used by the AI, Soilshaper's ability fizzles.
AI cast Otherworldly Journey on my turn after declare attackers - on my biggest creature, which was not attacking and had no relevant abilities.
AI played Kodama's Might on its tapped creature before attacking.
AI sacrificed Wild Cantor to cast Wildsize at the now non-existent Wild Cantor.
An AI with two Tidewater Minion will use them to untap each other an arbitrarily large number of times.
AI flipped Timebender with no targets.
Shields of Velis Vel fizzles due to lack of targets when cast by the AI.
AI still uses Sneak Attack effects when it has no intention of attacking.
AI sacrificed a goblin to Marsh Flitter on defense with no intention of blocking.
AI casts Invert the Skies with no board.
AI kicks Kor Sanctifiers when it controls the only targets on the board.
AI does not sacrifice Fume Spitter in response to it being destroyed.
AI casts Psychosis Crawler with an empty hand.
AI activates Flameblast Dragon for X=0.
AI plays Slum Reaper into an empty board.
AI chose pro green for Brave the Elements with me having Plains, Islands and a Seacoast Drake on board.
AI casts Devouring Light on its own blocking creature.
- RichardHawk
- Posts: 31
- Joined: 24 Mar 2014, 04:12
- Has thanked: 2 times
- Been thanked: 0 time
Re: Card AI (Improvements) Requests
by gecktrix » 01 Oct 2014, 22:46
AI seems to blow their combat tricks before attackers are announced. Is this a limitation of Forge or is there plans to improve this?
Also, AI does not use Fireball correctly.. doesn't take into count that dmg must be divided equally or it requires 1 colorless mana for extra tar gets.
Also, AI does not use Fireball correctly.. doesn't take into count that dmg must be divided equally or it requires 1 colorless mana for extra tar gets.
Re: Card AI (Improvements) Requests
by excessum » 02 Oct 2014, 01:51
The AI is only supposed to "waste" tricks pre-combat if it gets said creature(s) into combat (ie. Giant Growth a 0/4 that would otherwise stay back). There is no support for the AI to "see" this possibility and then attack with the 0/4 and cast the trick in combat.gecktrix wrote:AI seems to blow their combat tricks before attackers are announced. Is this a limitation of Forge or is there plans to improve this?
Re: Card AI (Improvements) Requests
by kestell » 02 Oct 2014, 12:45
Nykthos, Shrine to Nyx.
I'm not sure, but I think it should be easy to code this one.
Check which color devotion is the highest.
If max_devotion <=4 use only the first ability,
If max_devotion >4 use only second ability.
Currently it just uses the second ability in it's upkeep step and it ruins its game.
I'm not sure, but I think it should be easy to code this one.
Check which color devotion is the highest.
If max_devotion <=4 use only the first ability,
If max_devotion >4 use only second ability.
Currently it just uses the second ability in it's upkeep step and it ruins its game.
Re: Card AI (Improvements) Requests
by friarsol » 02 Oct 2014, 14:05
This card is listed as not playable by the AI. What deck are you playing against that has it?kestell wrote:Currently it just uses the second ability in it's upkeep step and it ruins its game.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card AI (Improvements) Requests
by lujo » 04 Oct 2014, 17:34
The AI has problems with Citanul Flute - it keeps prioritizing it over playing stuff that's in it's hand, and it keeps using all its mana to pay for it's X. So if it casts it, it's game over for it.
---
My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
Re: Card AI (Improvements) Requests
by Marek14 » 04 Oct 2014, 20:20
AI casts Lightning Strike on my Forgotten Ancient with no +1/+1 counters. Of course, it gets one counter for the Lightning Strike, so it survives.
Re: Card AI (Improvements) Requests
by kestell » 05 Oct 2014, 12:48
AI casts Bring Low on a 3/3 when he could kill a 5/5 that had a +1 /+1 counter on.
Re: Card AI (Improvements) Requests
by kestell » 05 Oct 2014, 12:50
mono green devotion in constructed.friarsol wrote:This card is listed as not playable by the AI. What deck are you playing against that has it?kestell wrote:Currently it just uses the second ability in it's upkeep step and it ruins its game.
Re: Card AI (Improvements) Requests
by gecktrix » 06 Oct 2014, 23:17
Just witnessed AI tap out for Rush of Battle precombat on lone non-warrior 2/3 while I was tapped out with a 2/2 as a blocker. AI had a 4 drop as well as a 2 drop in hand. I believe the AI should prioritize playing creatures over unnecessary combat tricks.excessum wrote:The AI is only supposed to "waste" tricks pre-combat if it gets said creature(s) into combat (ie. Giant Growth a 0/4 that would otherwise stay back). There is no support for the AI to "see" this possibility and then attack with the 0/4 and cast the trick in combat.gecktrix wrote:AI seems to blow their combat tricks before attackers are announced. Is this a limitation of Forge or is there plans to improve this?
This was on android version but I believe the AI is the same for both
Who is online
Users browsing this forum: No registered users and 190 guests