Commit c89cc8ce authored by wind2009's avatar wind2009

Fix キラーチューン

parent a1755a72
Pipeline #42631 passed with stages
in 4 minutes and 37 seconds
......@@ -42,10 +42,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local te=tc.killer_tune_be_material_effect
if te then
local tg=te:GetTarget()
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
if tg then
local cchk=e:IsCostChecked()
e:SetCostCheck(false)
tg(e,tp,eg,ep,ev,re,r,rp,1)
e:SetCostCheck(cchk)
end
end
Duel.ClearOperationInfo(0)
e:SetCategory(CATEGORY_TOHAND)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0)
end
function s.operation(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -61,9 +61,13 @@ function s.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.ClearTargetCard()
e:SetLabelObject(te)
local tg=te:GetTarget()
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
if tg then
local cchk=e:IsCostChecked()
e:SetCostCheck(false)
tg(e,tp,eg,ep,ev,re,r,rp,1)
e:SetCostCheck(cchk)
end
Duel.ClearOperationInfo(0)
e:SetCategory(0)
end
function s.cpop(e,tp,eg,ep,ev,re,r,rp)
local te=e:GetLabelObject()
......
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