It is currently 18 Sep 2018, 17:39
   
Text Size

[confir]AI doesn't get Skeletal Grimace grants regeneration.

Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !

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

[confir]AI doesn't get Skeletal Grimace grants regeneration.

Postby Aswan jaguar » 09 Sep 2016, 18:32

Describe the Bug:
AI doesn't get Skeletal Grimace grants regeneration to enchanted creature when deciding to attack or block.

Which card did behave improperly ?
Skeletal Grimace

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 gets Skeletal Grimace grants regeneration to enchanted creature when deciding to attack or block.

Are any other cards possibly affected by this bug ?
-
Attachments
ai doesn't get skeletal grimace grants regen.rar
(2.25 KiB) Downloaded 18 times
Last edited by BAgate on 09 Sep 2016, 21:26, edited 1 time in total.
Reason: confirmed by Korath
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 5739
Joined: 13 May 2010, 12:17
Has thanked: 516 times
Been thanked: 274 times

Re: AI doesn't get Skeletal Grimace grants regeneration.

Postby Korath » 09 Sep 2016, 19:36

Mostly the same answer as this, except for two points:
  • Obviously, you check affect_me(instance->damage_target_player, instance->damage_target_card) instead of affect_me(player, card).
  • The combat AI's handling of KEYWORD_REGENERATION is pretty broken, since it always assumes the activation cost to regenerate is exactly one mana of the regenerating card's color - put this on a Serra Angel, for example, and it assumes it can regenerate iff the angel's controller has {W} open. (And always exactly {W}, even if the real mana cost wasn't 1 mana, or if there were other activation costs - the AI still thinks Blessing of Leeches and Molting Snakeskin and Soul Channeling all read " {W}: Regenerate enchanted creature" for white creatures up until the point where it actually tries to activate them.) I don't remember how it deals with multicolor creatures offhand.

    If you're adding KEYWORD_REGENERATION only during EVENT_CHECK_ABILITIES, and not EVENT_ABILITIES, this can partially be worked around by checking the activation cost at that point, but the AI will still ignore it if it doesn't have {W} or whatever color available.

edit: fix mana symbol markup
Last edited by Korath on 09 Sep 2016, 20:00, edited 1 time in total.
User avatar
Korath
DEVELOPER
 
Posts: 3332
Joined: 02 Jun 2013, 05:57
Has thanked: 479 times
Been thanked: 911 times

Re: AI doesn't get Skeletal Grimace grants regeneration.

Postby Aswan jaguar » 09 Sep 2016, 19:46

Korath wrote:[*]The combat AI's handling of KEYWORD_REGENERATION is pretty broken, since it always assumes the activation cost to regenerate is exactly one mana of the regenerating card's color
That is what I always thought according to my tests,thanks for this confirmation.
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 5739
Joined: 13 May 2010, 12:17
Has thanked: 516 times
Been thanked: 274 times

Re: [confir]AI doesn't get Skeletal Grimace grants regenerat

Postby Aswan jaguar » 06 Sep 2018, 17:25

The vast majority of bellow cards have the same problem. The uncoded cards are not all listed.
List | Open
Anavolver
Asceticism
Baron Sengir
Black Poplar Shaman ? Not coded
Blessing of Leeches - Not coded
Boon of Erebos
Broken Fall
Butcher's Glee
Carapace
Clockwork Gnomes
Clot Sliver
Consecrated by Blood ? Not coded
Crypt Sliver
Dark Dabbling
Dark Privilege ? Not coded
Daru Mender ? Not coded
Dawn Charm
Debt of Loyalty
Defiling Tears
Degavolver
Delif's Cube
Draconian Cylix ? Not coded
Duskworker ? Not coded
Elephant Graveyard
Ezuri, Renegade Leader
Fanatical Devotion
Fiddlehead Kami
Fortitude
Full Moon's Rise
Gaze of the Gorgon
Gobhobbler Rats
Goblin Chirurgeon
Golgari Charm
Gore Vassal
Heal the Scars
Herbal Poultice
Horizon Seed
Horror of Horrors
Isao, Enlightened Bushi
Jolrael's Favor
Keldon Mantle
Krosan Warchief
Life Matrix
Lim-Dûl the Necromancer
Loxodon Hierarch
Loxodon Mender
Mad Auntie
Medicine Bag
Mending Touch
Metallurgeon
Molting Skin
Molting Snakeskin
Necrobite
Niall Silvain
Nurturing Licid
Poultice Sliver
Pteron Ghost
Ragnar
Refresh
Regenerate
Regeneration
Reknit
Resuscitate
Ring of Xathrid
Run Wild
Rushwood Herbalist
Savage Thallid
Sedge Sliver
Seedling Charm
Serpent Skin
Skeletal Grimace
Skeletal Vampire
Soul Channeling
Spawning Pool Animated
Sporeback Troll
Stamina
Strands of Undeath
Swarmyard
Tel-Jilad Lifebreather
The Brute
Thrull Retainer
Tribal Golem
Trollhide
Trolls of Tel-Jilad
Unnatural Endurance
Vagrant Plowbeasts
Vigilant Martyr
Village Elder
Vital Splicer
Vitality Charm
Wail of the Nim
Welding Jar
Wrap in Vigor
Yavimaya Hollow
Zombie Master
Suture Spirit
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 5739
Joined: 13 May 2010, 12:17
Has thanked: 516 times
Been thanked: 274 times


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 1 guest

Login Form