It is currently 16 Oct 2019, 09:13
   
Text Size

[fix/close]Restless Apparition no get pump p/t ability att/b

Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, CCGHQ Admins

[fix/close]Restless Apparition no get pump p/t ability att/b

Postby Aswan jaguar » 23 May 2017, 12:53

Describe the Bug:
AI doesn't consider Restless Apparition pump p/t ability when deciding to attack or block.

Which card did behave improperly?
Restless Apparition - AI part

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink 2016/08/27: Eldritch Moon v2, duel

What exactly should be the correct behavior/interaction?
AI when deciding to attack or block knows that the ability gives +3/+3 for every {WB} {WB} {WB} it pays.

Are any other cards possibly affected by this bug?
-
Attachments
ai no get restless apparitus 3-3.rar
(2.62 KiB) Downloaded 37 times
Last edited by Aswan jaguar on 04 Mar 2019, 13:51, edited 3 times in total.
Reason: bug fixed/closed
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 6579
Joined: 13 May 2010, 12:17
Has thanked: 541 times
Been thanked: 281 times

Re: Restless Apparition doesn't consider pump p/t ability

Postby stassy » 30 May 2017, 18:46

same behavior with Seal of Strength : AI use it as defensive ability when feeling overwhelmed by another pumping ability and will use it on overkill.

Image
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Restless Apparition doesn't consider pump p/t ability

Postby Korath » 30 May 2017, 19:13

That's consistent with the reported bug.

The AI picks what creatures it uses to attack or block procedurally: it builds large tables of each potential attacker's and blocker's power and toughness, its current abilities, and - crucially - what abilities and power/toughness boosts those and other cards say they can apply. Those potential abilities and power/toughness modifications have to be programmed explicitly, using the Inflatable Power/Inflatable Toughness flags coupled with the EVENT_POW_BOOST/EVENT_TOU_BOOST events (for power/toughness changes a creature gives to itself); EVENT_CHECK_PUMP (for power/toughness changes an instant in the AI's hand or a permanent on the bf can give to any creature); or EVENT_CHECK_ABILITIES (for power, toughness, or ability changes a permanent on the bf can give to specific creatures, e.g. Pia Nalaar could only use this, not the simpler EVENT_CHECK_PUMP, since it can only pump artifact creatures).

The AI decides whether to activate a given ability by saving the game state, picking some random legal action, seeing what happens, restoring the game state, and repeating, so - once a given combat state has actually arisen - it can find activations like Seal of Strength's and Restless Apparition's without any more effort on our part than to make them activateable for the human. But these combat situations won't actually arise unless the AI would have been desperate enough to attack or block even if the cards weren't pumpable.
User avatar
Korath
DEVELOPER
 
Posts: 3412
Joined: 02 Jun 2013, 05:57
Has thanked: 482 times
Been thanked: 950 times

Re: [confirm]Restless Apparition no get pump p/t ability att

Postby Aswan jaguar » 04 Mar 2019, 13:50

Has already been fixed in dev. I merged effect cards in commit 542fccb.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 6579
Joined: 13 May 2010, 12:17
Has thanked: 541 times
Been thanked: 281 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 17 guests


Who is online

In total there are 17 users online :: 0 registered, 0 hidden and 17 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 17 guests

Login Form