Commit 600cdb19 authored by Momobako's avatar Momobako

Push by Appveyor

parent 8f89e054
...@@ -65,9 +65,9 @@ function c22240124.relcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -65,9 +65,9 @@ function c22240124.relcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c22240124.reltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c22240124.reltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsReleasableByEffect() and chkc:IsControler(1-tp) end if chkc then return chkc:IsOnField() and chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsReleasableByEffect() and chkc:IsControler(1-tp) end
if chk==0 then return Duel.IsExistingTarget(Card.IsReleasableByEffect,tp,0,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingTarget(Card.IsReleasableByEffect,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectTarget(tp,Card.IsReleasableByEffect,tp,0,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectTarget(tp,Card.IsReleasableByEffect,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_RELEASE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_RELEASE,g,1,0,0)
end end
function c22240124.relop(e,tp,eg,ep,ev,re,r,rp) function c22240124.relop(e,tp,eg,ep,ev,re,r,rp)
......
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