Skip to content

Commit

Permalink
spin-piece加一个增加深度的规则
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Dec 2, 2024
1 parent ce79c26 commit 6d8aad1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/game/mechanicLib/brik/chargeLimit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6d8aad1

Please sign in to comment.