swordshine wrote:excessum wrote:I just got a working development environment set up and successfully built and run the source code. I would like to work on the Forge AI so I guess I should start small by getting the AI to work with cards like
Bile Blight that are staples in Standard now. Strangely enough, the AI works fine with certain cards marked unplayable like
Devour Flesh and
Polukranos, World Eater.
Are there any suggestions on how I should go about doing this?
It would be appreciated for a newcomer if you post a patch.
I have a question regarding the use of the "SVar:RemAIDeck:True" flag. I assume that this is added by the coder to flag the card as AI unplayable. There appears to be some inconsistency regarding its use:
Domri Rade 2nd ability vs
Pit FightDiabolic Edict vs
Devour FleshSo does the flag mean that the AI cannot play the card at all or really badly (ie.
Bile Blight and
Nykthos, Shrine to Nyx ), or that the AI just plays them poorly? I suspect that
Devour Flesh is due to the latter in that the AI will not sacrifice its own creatures to save itself but then again, the same can be said for cards like
Last Breath and
Swords to Plowshares.
Echoing Decay and
Bile Blight are essentially the same as
Last Gasp so I suspect adding "IsCurse$ True" to the former will make the AI use them instead of ignoring the card?
EDIT:
I verified that adding the "IsCurse$ True" will allow the AI to use
Bile Blight as expected. Whether this is considered to be "proper" behaviour will go back to my earlier question since
Detention Sphere also suffers from the same issue of removing the caster's own creature/permanent.