提交 a8dcde3a 编写于 作者: D dev@dev.com

当头卒的价值改变

上级 38704010
...@@ -67,8 +67,8 @@ float calc_cost(const int coordx[/*32*/], const int coordy[/*32*/],const int ali ...@@ -67,8 +67,8 @@ float calc_cost(const int coordx[/*32*/], const int coordy[/*32*/],const int ali
else else
rescost *= coordy[idx]<6?4:1; rescost *= coordy[idx]<6?4:1;
//当头卒价值高 //当头卒价值高
if (coordx[idx]==5 && (coordy[idx]==4 || coordy[idx]==7)) if (coordx[idx]==5)
rescost *=10; rescost *=5;
break; break;
default: default:
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册