没有使用大漩涡传送门没有杀死大法师瓦格斯
https://hsreplay.net/replay/DdL8mWj6ykBLEyv8Cp7Nnc
第五回合应该使用大漩涡传送门打死大法师瓦格斯的
当前ai的策略是,
1.手牌阴燃电鳗战吼打一下,
2.场上的阴燃电鳗攻击一下
3.召唤了图腾
本来还应该用一下大漩涡传送门的
正确的逻辑,需要使用的手牌只有2张,需要使用的随从就1个。
1.把其他手牌直接删了。
2.场上的随从只保留一个阴燃电鳗
再测试
#######################################################################
start calculations, current time: 22:09:06 V117.178 控场模式 3000 face -1 womob:5 twoturnsim 256 ntss 6 20 200 ets 40 iC 1 aA 0
#######################################################################
turn 9/0
mana 5/5
emana 5
own secretsCount: 0
enemy secretsCount: 0 ;
player:
0 0 0 0 1
ownhero:
shaman 30 30 0 False False 64 False 0 False 0 0 False
weapon: 0 0 unknown None 0 0
ability: True CS2_049
osecrets:
cthunbonus: 0 0 0
jadegolems: 0 0
elementals: 0 0 0
quests: None 0 1000 None 0 1000
advanced: 0 0
enemyhero:
priest 25 30 0 False False 66 False
weapon: 0 0 unknown None 0 0
ability: True CS1h_001_H1
fatigue: 22 0 22 0
OwnMinions:
wrathofairtotem CS2_052 zp:2 e:80 A:0 H:2 mH:2 rdy:False natt:0
阴燃电鳗 GIL_530 zp:3 e:5 A:2 H:3 mH:3 rdy:True natt:0
EnemyMinions:
大法师瓦格斯 DAL_558 zp:1 e:34 A:2 H:6 mH:6 rdy:False ex
Own Handcards:
pos 1 maelstromportal 2 entity 27 KAR_073 0 0 0
pos 2 阴燃电鳗 2 entity 9 GIL_530 0 0 0
Enemy cards: 7
ownDiedMinions:
enemyDiedMinions:
otg:
etg:
og: AT_052,1;
eg: DAL_723,1;
od: EX1_244,2;ULD_171,2;AT_052,1;GIL_586,2;KAR_073,1;ULD_276,2;CFM_696,2;GVG_038,2;ULD_413,1;OG_254,1;AT_047,1;OG_024,1;OG_028,2;BOT_245,1;EX1_586,1;
ailoop1 with 8 Playfields
deep 0 len 14 dones 0
cut to len 14
8个actions
ailoop2 with 39 Playfields
可能性太多,筛选出包含以下2个操作的play field
1.使用手牌阴燃电鳗的战吼攻击瓦格斯的
2.使用随从攻击瓦格斯的
if (itemPlayfield.playactions.Any(x => x.actionType == actionEnum.playcard && x.card.card.cardIDenum == CardDB.cardIDEnum.GIL_530 && x.target.handcard.card.cardIDenum == CardDB.cardIDEnum.DAL_558) && itemPlayfield.playactions.Any(x => x.actionType == actionEnum.attackWithMinion && x.target.handcard.card.cardIDenum == CardDB.cardIDEnum.DAL_558) ) { Helpfunctions.Instance.logg( $"ailoop{deep + 1} {nameof(itemPlayfield)}{itemPlayfieldIndex} with {actionsCount} actions"); itemPlayfield.printActions(); itemPlayfield.printBoard(); }
ailoop3 with 42 Playfields
发现法力值的消耗计算有问题,剩下的法力值消耗应该是2。但是显示mana 1/5
ailoop3 itemPlayfield2 with 3 actions, value = 32
Action1 with penalty 0
play id 9 target 34 pos 2
Action2 with penalty 3
useability
Action3 with penalty 0
attacker: 5 enemy: 34
board/hash/turn: 32 / 1880265531104 / 0 ++++++++++++++++++++++
pen 3
mana 1/5
ailoop4 with 0 Playfields
临时的解决方案是强行把英雄技能的费用改成1费