Commit a010f764 authored by Huangnan's avatar Huangnan

星之国fix

parent 8c218695
......@@ -69,10 +69,9 @@ function cm.dmgcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetCounter(tp,LOCATION_ONFIELD,0,0x510)
if chk==0 then return ct>=2 end
local lvt={}
local i=2
while i<=ct do
lvt[i]=i
i=i+1
local i=1
for i=2,ct do
table.insert(lvt,i)
end
local say=Duel.AnnounceNumber(tp,table.unpack(lvt))
Duel.RemoveCounter(tp,LOCATION_ONFIELD,0,0x510,say,REASON_COST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment