Commit 367409a1 authored by Tachibana's avatar Tachibana

12

parent 8280e572
Pipeline #3763 passed with stages
in 52 minutes and 58 seconds
......@@ -51,7 +51,7 @@ function c12051021.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
end
function c12051021.rmcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(Card.GetSummonPlayer,1,nil,tp)
return eg:IsExists(Card.GetSummonPlayer,1,nil,1-tp)
end
function c12051021.filters(c,e,tp)
return c:IsRace(RACE_WINDBEAST) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
......@@ -28,7 +28,8 @@ end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.filter(chkc) end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingTarget(cm.filter,tp,LOCATION_GRAVE,0,5,nil) end
and Duel.IsExistingTarget(cm.filter,tp,LOCATION_GRAVE,0,5,nil)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>1 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,cm.filter,tp,LOCATION_GRAVE,0,5,5,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,5,0,0)
......
......@@ -67,6 +67,7 @@ end
--advanced summon
function Tenka.MaidDragon(c)
local ea=Effect.CreateEffect(c)
ea:SetDescription(aux.Stringid(81014001,0))
ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
ea:SetCode(EFFECT_ADD_EXTRA_TRIBUTE)
......
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