炉石兄弟吧 关注:42,458贴子:580,470

发一个经典模式的(主要还是想求助一些问题)

只看楼主收藏回复

先上东西吧,如果您有时间的话,还烦请往后再看看
6ZO+5o6l77yaaHR0cHM6Ly9wYW4uYmFpZHUuY29tL3MvMXlWV284VVVxQ1lLOTZ6NUlTNmVsZmcgDQrmj5Dlj5bnoIHvvJpMU1hEIA0K5aSN5Yi26L+Z5q615YaF5a655ZCO5omT5byA55m+5bqm572R55uY5omL5py6QXBw77yM5pON5L2c5pu05pa55L6/5ZOm
配套卡组
### 1
# 职业:术士
# 模式:经典模式
#
# 2x (1) 年轻的女祭司
# 1x (1) 持盾卫士
# 2x (1) 烈焰小鬼
# 2x (1) 虚空行者
# 2x (1) 银色侍从
# 2x (1) 麻风侏儒
# 2x (2) 恐狼前锋
# 2x (2) 酸性沼泽软泥怪
# 2x (2) 阿曼尼狂战士
# 2x (2) 飞刀杂耍者
# 2x (2) 鱼人猎潮者
# 2x (3) 麦田傀儡
# 1x (4) 火车王里诺艾
# 2x (4) 阿古斯防御者
# 2x (4) 黑铁矮人
# 2x (5) 末日守卫
#
AAEDAcn1AgLcoQS/ogQO+5UE2ZYE9JYErqEEsqEEvaEEw6EE06EE7qEEnaIEo6IEu6IE1KIEw6MEAA==
#
# 想要使用这副套牌,请先复制到剪贴板,然后在游戏中点击“新套牌”进行粘贴。


IP属地:河北1楼2021-04-07 19:10回复
    此版XD里面现在carddefs的卡牌数据和英雄皮肤数据都添加完成。留牌数据和sim只写了上述一套卡组的。
    诸多工作有待继续开发。
    1、全英雄皮肤和异画幸运币的添加(有的时候不识别皮肤,感觉白充了皮肤钱)
    2、经典卡牌机制改动的重写(战歌,自然之力什么的)
    3、卡组的combo优化(暂时只想写动物园,超生德这类铺场卡组;奇迹贼可能要再拖拖了)
    4、关于冲锋类随从的打法优化(裸上火车王,我不能接受)
    等我彻底搞好了,会继续分享经典模式的


    IP属地:河北2楼2021-04-07 19:11
    收起回复
      2025-08-03 07:18:18
      广告
      不感兴趣
      开通SVIP免广告
      接下来有几个在修改过程中遇到的问题,还烦劳大佬们指点一下。
      一、添加英雄皮肤相关问题
      按照帖子https://tieba.baidu.com/p/6714329731操作发现我的carddb里面没有HERO_0系列;
      二、卡牌识别问题
      (1)异画的幸运币我已经按照https://tieba.baidu.com/p/7122040282的方法全部添加了,发现还是不会自动使用;
      (2)现在的XD在手牌上有指向性卡牌时(无论法术还是战吼随从),就会报错并且会一直挂机,直至这一场对局结束,
      一下是我找到的报错记录(以魂火为例)ERROR Logger (null) - [Tick] Exception during execution:
      Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
      at HREngine.Bots.Playfield.minionGetDamageOrHeal(Minion m, Int32 dmgOrHeal, Boolean dontDmgLoss) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\Playfield.cs:line 6931
      at HREngine.Bots.Sim_VAN_EX1_308.onCardPlay(Playfield p, Boolean ownplay, Minion target, Int32 choice) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\cards\1646VAN经典\Sim_VAN_EX1_308.cs:line 14
      at HREngine.Bots.Playfield.playACard(Handcard hc, Minion target, Int32 position, Int32 choice, Int32 penality) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\Playfield.cs:line 3729
      at HREngine.Bots.Playfield.doAction(Action aa) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\Playfield.cs:line 3234
      at HREngine.Bots.MiniSimulator.startEnemyTurnSimThread(List`1 source, Int32 startIndex, Int32 endIndex) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 261
      at HREngine.Bots.MiniSimulator.<>c__DisplayClass4.<doallmoves>b__0(Tuple`2 range) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 134
      at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.<PartitionerForEachWorker>b__1()
      at System.Threading.Tasks.Task.InnerInvoke()
      at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
      at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
      --- End of inner exception stack trace ---
      at System.Threading.Tasks.Task.c
      at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
      at System.Threading.Tasks.Task.Wait()
      at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
      at System.Threading.Tasks.Parallel.ForEach[TSource](Partitioner`1 source, Action`1 body)
      at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 131
      at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 120
      at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 254
      at HREngine.Bots.Silverfish.updateEverything(Behavior botbase, Int32 numcal, Boolean& sleepRetry) in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\silverfish_HB.cs:line 386
      at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__21.MoveNext() in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\DefaultRoutine.cs:line 735
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      at HREngine.Bots.DefaultRoutine.<Logic>d__3.MoveNext() in c:\HSBuddy\免费整合版\Routines\DefaultRoutine\DefaultRoutine.cs:line 443
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
      at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.<method_37>d__65.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.<method_39>d__67.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.<method_32>d__60.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
      at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.<method_21>d__55.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.Coroutines.Coroutine.<>c__DisplayClass37_0.<<smethod_0>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
      at Buddy.Coroutines.Coroutine.12(Boolean bool_2)
      at Buddy.Coroutines.Coroutine.10(Boolean bool_2)
      at Buddy.Coroutines.Coroutine.Resume()
      at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
      at Triton.Bot.BotManager.21(IBot ibot_1)


      IP属地:河北3楼2021-04-07 19:11
      收起回复
        支持!


        IP属地:北京4楼2021-04-07 19:12
        回复
          一直被吞贴,算了先说这么多吧。 要是大家有什么别的好想法也可以直接提出来


          IP属地:河北来自Android客户端6楼2021-04-07 19:35
          回复
            支持大佬


            IP属地:山东7楼2021-04-07 19:36
            收起回复
              playreq没加,需要把经典模式的卡牌,补充playreq


              IP属地:安徽来自Android客户端8楼2021-04-07 20:16
              收起回复
                支持大佬 牌出完了不结束回合 等烧绳子


                来自iPhone客户端10楼2021-04-07 20:53
                收起回复
                  2025-08-03 07:12:18
                  广告
                  不感兴趣
                  开通SVIP免广告
                  字词


                  来自iPhone客户端11楼2021-04-07 20:58
                  回复
                    支持楼主。先试试,用控制不是怼脸嘛~


                    来自iPhone客户端12楼2021-04-07 21:15
                    回复
                      谢谢分享,我也遇到了指向性法术也有问题


                      来自iPhone客户端13楼2021-04-07 22:51
                      回复
                        经典模式完全有搞头,我已经用另一套快攻术挂到铂金10了。先支持一下


                        IP属地:河北来自Android客户端14楼2021-04-07 22:55
                        收起回复
                          支持,我也面临这个问题
                          老哥你分享的文件
                          CardDB_cardIDEnum.cs
                          CardDB_cardName
                          里面都添加英雄皮肤和技能了吗?


                          IP属地:湖北15楼2021-04-07 23:21
                          收起回复
                            我只能喊666


                            IP属地:福建来自Android客户端16楼2021-04-08 02:40
                            回复
                              2025-08-03 07:06:18
                              广告
                              不感兴趣
                              开通SVIP免广告
                              2021/04/28更新
                              6ZO+5o6l77yaaHR0cHM6Ly9wYW4uYmFpZHUuY29tL3MvMXQ5YXdzY1RYSjZtWHNlWERPcHJ2OXcgDQrmj5Dlj5bnoIHvvJpMU1hEIA0K5aSN5Yi26L+Z5q615YaF5a655ZCO5omT5byA55m+5bqm572R55uY5omL5py6QXBw77yM5pON5L2c5pu05pa55L6/5ZOm
                              配套卡组
                              ### 动物园
                              # 职业:术士
                              # 模式:经典模式
                              #
                              # 2x (1) 叫嚣的中士
                              # 2x (1) 年轻的女祭司
                              # 2x (1) 持盾卫士
                              # 2x (1) 烈焰小鬼
                              # 2x (1) 精灵弓箭手
                              # 2x (1) 虚空行者
                              # 2x (1) 银色侍从
                              # 2x (1) 麻风侏儒
                              # 2x (2) 恐狼前锋
                              # 1x (2) 酸性沼泽软泥怪
                              # 2x (2) 阿曼尼狂战士
                              # 2x (2) 飞刀杂耍者
                              # 2x (2) 鱼人猎潮者
                              # 1x (3) 破碎残阳祭司
                              # 2x (4) 阿古斯防御者
                              # 2x (5) 末日守卫
                              #
                              AAEDAcn1AgLVlgTZlgQO+5UEs5YE9JYEgaEErqEEsqEEvaEE06EE7qEEnaIEo6IEu6IEv6IEw6MEAA==
                              #
                              # 想要使用这副套牌,请先复制到剪贴板,然后在游戏中点击“新套牌”进行粘贴。
                              已修改问题
                              1、英雄皮肤和异画幸运币的添加(皮肤问题由于我好多自己没有,还望大家帮忙,主要是看一下军情七处安度因是否可用。异画幸运币实测可用)
                              2、烧绳问题(应该是不会再烧绳了)
                              3、指向性卡牌报错问题(实验一上午没有出现报错)
                              尚存在问题
                              1、魂火存在手里不打出去(不知道是哪里出了问题,永远存手里)
                              2、战吼指向问题(观察发现叫嚣的中士在失去场面后,战吼会指向对方英雄角色,在我方存在场面时,就不会有问题)
                              3、打牌策略问题(还没研究,卡牌问题都解决后才会进一步学习策略的编写)


                              IP属地:河北17楼2021-04-08 14:30
                              收起回复