From 6d8aad144c7b158de825c14f3005c630563ddac8 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Mon, 2 Dec 2024 22:26:30 +0800 Subject: [PATCH] =?UTF-8?q?spin-piece=E5=8A=A0=E4=B8=80=E4=B8=AA=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=B7=B1=E5=BA=A6=E7=9A=84=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/game/mechanicLib/brik/chargeLimit.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/game/mechanicLib/brik/chargeLimit.lua b/assets/game/mechanicLib/brik/chargeLimit.lua index c63a3efc..46a1f7a3 100644 --- a/assets/game/mechanicLib/brik/chargeLimit.lua +++ b/assets/game/mechanicLib/brik/chargeLimit.lua @@ -164,6 +164,7 @@ do -- spin local pieceDev_init=20 local pieceDev_max=26 + local pieceDev_cost_tax=7 local pieceDev_cost=5 local pieceDev_punish=10 local columnDev_init=20 @@ -295,7 +296,10 @@ do -- spin if C and C.spin_charge then local id=colorToID[C.color] if id then - devices[id].pow=devices[id].pow-pieceDev_cost + devices[id].pow=devices[id].pow-( + P.hand and P.hand.shape~=colorToID[C.color] and + pieceDev_cost_tax or pieceDev_cost + ) end end end