zoukankan      html  css  js  c++  java
  • ailoop2里面的1个待考察的,在ailoop3里面的操作。(先使用海巨人,不使用英雄技能召唤图腾的问题)

    承接上一篇博客HearthBuddy Ai 调试实战2 在使用海巨人的时候,少召唤了一个图腾(费用是对的)

    研究ailoop2里面4个待考察的,在ailoop3里面的后续操作。ailoop3一共有36个操作。

    待考察1

    itemPlayfield12 chuck deep2==2 boardvalue==22   待考察,召唤图腾和恐狼前锋攻击圣骑士
    action1
    attacker: 17 enemy: 66
    action2
    useability

    在ailoop3中搜索上面的操作,看看衍生出来的后续操作是什么?

    在36个操作中,只找到一个符合的

    itemPlayfield14 chuck deep2==3 boardvalue==50   因为提前使用海巨人直接淘汰
    action1
    attacker: 17 enemy: 66   恐狼前锋攻击圣骑士
    action2
    useability       使用英雄技能
    action3
    play id 13 pos 1    使用海巨人

    在前两步的操作中,使用英雄技能无法通过验证

    这意味着,之前尝试在第一步和第二步操作查找英雄技能是错误的。英雄技能只能在第三回合,第四回合,或者第五回合使用。

     尝试在第三步使用英雄技能

    在ailoop3-36action.txt中搜索,找到6个操作。只有2个是待考察的

    itemPlayfield13 chuck deep2==3 boardvalue==52   情况1,淘汰
    action1
    play id 13 pos 1   提前使用海巨人,淘汰
    action2
    attacker: 17 enemy: 99
    action3
    useability

    itemPlayfield19 chuck deep2==3 boardvalue==27    情况2,待考察,应该是和前两步使用英雄技能的某一个情况重复了,只有这个被保留下来
    action1
    attacker: 17 enemy: 66   恐狼前锋攻击圣骑士
    action2
    play id 8 pos 1    青玉之爪
    action3
    useability       英雄技能

    itemPlayfield22 chuck deep2==3 boardvalue==26  情况3,待考察
    action1
    play id 8 pos 1   青玉之爪
    action2
    attack with hero, enemy: 66   萨满攻击圣骑士
    action3
    useability                   英雄技能

    itemPlayfield26 chuck deep2==3 boardvalue==23   情况4,淘汰
    action1
    play id 8 pos 1
    action2
    attack with hero, enemy: 57    萨满击杀鱼人木乃伊(不知道复生效果)
    action3
    useability

    itemPlayfield29 chuck deep2==3 boardvalue==22   情况5,淘汰
    action1
    attacker: 17 enemy: 57    恐狼前锋击杀鱼人木乃伊(不知道复生效果)
    action2
    play id 8 pos 1
    action3
    useability

    itemPlayfield33 chuck deep2==3 boardvalue==19  情况6,淘汰
    action1
    play id 8 pos 1
    action2
    attacker: 17 enemy: 99   恐狼前锋击杀微型木乃伊
    action3
    useability

    ailoop4中验证ailoop3待考察1

    在ailoop4-27action.txt搜上面的情况2

    action1
    attacker: 17 enemy: 66
    action2
    play id 8 pos 1
    action3
    useability

    得到后续操作有2个

    itemPlayfield15 chuck deep2==4 boardvalue==41  情况1,淘汰
    action1
    attacker: 17 enemy: 66
    action2
    play id 8 pos 1
    action3
    useability
    action4
    attack with hero, enemy: 99     萨满击杀随从

    itemPlayfield19 chuck deep2==4 boardvalue==34   情况2,待考察
    action1
    attacker: 17 enemy: 66
    action2
    play id 8 pos 1
    action3
    useability
    action4
    attack with hero, enemy: 66   萨满攻击圣骑士

    ailoop5中验证ailoop4的待考察itemPlayfield19

    因为ailoop5就结束了,没有后续操作。所以需要先打印ailoop4中的面板

    itemPlayfield19 chuck deep2==4 boardvalue==34

    action1
    attacker: 17 enemy: 66   恐狼前锋攻击圣骑士
    action2
    play id 8 pos 1   青玉之爪,召唤1/1的青玉魔像
    action3
    useability           英雄技能,召唤1个图腾
    action4
    attack with hero, enemy: 66     萨满攻击圣骑士

    +++++++ printBoard start +++++++++
    board/hash/turn: 34 / 2650263523406 / 0 ++++++++++++++++++++++
    pen 0
    mana 3/6
    cardsplayed: 1 handsize: 1 enemyhand: 3
    ownhero:
    ownherohp: 29 + 0
    ownheroattac: 2
    ownheroweapon: 2 1 jadeclaws CFM_717 0 0
    ownherostatus: frozenFalse
    enemyherohp: 6 + 0
    attacker: 17 enemy: 66
    play id 8 pos 1
    useability
    attack with hero, enemy: 66
    OWN MINIONS################ 2
    deckpos, name,ang, hp: 1, direwolfalpha, 2, 2 17  恐狼前锋
    deckpos, name,ang, hp: 2, jadegolem, 2, 1 1000   青玉魔像
    ENEMY MINIONS############ 4
    deckpos, name,ang, hp: 1, micromummy, 1, 2 63
    deckpos, name,ang, hp: 2, micromummy, 3, 2 99
    deckpos, name,ang, hp: 3, micromummy, 3, 2 46
    deckpos, name,ang, hp: 4, murmy, 1, 1 57
    Own Handcards:
    pos 1 seagiant 5 entity 13 EX1_586 0 0 0
    +++++++ printBoard end +++++++++

     发现面板有问题,action3,应该召唤一个图腾出来的。

    ailoop4中验证ailoop3待考察2

    在ailoop4-27action.txt搜上面的情况3

    action1
    play id 8 pos 1
    action2
    attack with hero, enemy: 66
    action3
    useability

    只找到1个后续操作

    itemPlayfield26 chuck deep2==4 boardvalue==26  淘汰
    action1
    play id 8 pos 1
    action2
    attack with hero, enemy: 66
    action3
    useability
    action4
    attacker: 17 enemy: 99     恐狼前锋击杀微型木乃伊

    解决方案

    发现是因为无法识别英雄技能导致的CS2_049_H1,需要添加一下继承才行

    value of best board 47
    Best actions as following:
    Action1:
    play id 8 pos 1
    Action2:
    useability
    Action3:
    play id 13 pos 1
    Action4:
    attack with hero, enemy: 99
    Action5:
    attacker: 17 enemy: 66

    +++++++ printBoard start +++++++++
    board/hash/turn: 47 / 3120613440308 / 1 ++++++++++++++++++++++
    pen 0
    mana 0/6
    cardsplayed: 2 handsize: 0 enemyhand: 3
    ownhero:
    ownherohp: 26 + 0
    ownheroattac: 2
    ownheroweapon: 2 1 jadeclaws CFM_717 0 0
    ownherostatus: frozenFalse
    enemyherohp: 8 + 0
    play id 8 pos 1
    useability
    play id 13 pos 1
    attack with hero, enemy: 99
    attacker: 17 enemy: 66
    OWN MINIONS################ 4
    deckpos, name,ang, hp: 1, seagiant, 9, 8 13
    deckpos, name,ang, hp: 2, direwolfalpha, 2, 2 17
    deckpos, name,ang, hp: 3, jadegolem, 2, 1 1000
    deckpos, name,ang, hp: 4, wrathofairtotem, 0, 2 1001
    ENEMY MINIONS############ 3
    deckpos, name,ang, hp: 1, micromummy, 1, 2 63
    deckpos, name,ang, hp: 2, micromummy, 3, 2 46
    deckpos, name,ang, hp: 3, murmy, 1, 1 57
    DIED MINIONS############
    own, entity, cardid: False, 99, ULD_217
    Own Handcards:
    +++++++ printBoard end +++++++++

    https://hearthstone.gamepedia.com/Shaman  4个萨满皮肤,对应4个sim

     

  • 相关阅读:
    我所知道的数据库8-DML语言
    我所知道的数据库7-DDL语言(续2)
    CSS3 3D transform变换
    深入理解Node.js的异步编程风格(转载)
    ECMAscript
    JavaScript高级部分概念用法
    前端工程师面试题汇总
    10个最常见的HTML5中的面试题及答案
    js事件流
    本地储存
  • 原文地址:https://www.cnblogs.com/chucklu/p/11441279.html
Copyright © 2011-2022 走看看