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) ...@@ -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 local te=tc.killer_tune_be_material_effect
if te then if te then
local tg=te:GetTarget() 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 end
Duel.ClearOperationInfo(0) Duel.ClearOperationInfo(0)
e:SetCategory(CATEGORY_TOHAND)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0)
end end
function s.operation(e,tp,eg,ep,ev,re,r,rp) 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) ...@@ -61,9 +61,13 @@ function s.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.ClearTargetCard() Duel.ClearTargetCard()
e:SetLabelObject(te) e:SetLabelObject(te)
local tg=te:GetTarget() 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) Duel.ClearOperationInfo(0)
e:SetCategory(0)
end end
function s.cpop(e,tp,eg,ep,ev,re,r,rp) function s.cpop(e,tp,eg,ep,ev,re,r,rp)
local te=e:GetLabelObject() 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