Commit b650a481 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent de62f66d
Pipeline #2512 passed with stages
in 23 minutes and 23 seconds
......@@ -59,7 +59,7 @@ function cm.eftg(e,c)
return c:IsType(TYPE_MONSTER)
end
function cm.splimit(e,se,sp,st)
local ec=sc:GetHandler()
local sc=se:GetHandler()
return sc and sc:IsRace(RACE_DRAGON)
end
function cm.accost(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -40,7 +40,7 @@ function cm.initial_effect(c)
e3:SetDescription(aux.Stringid(m,1))
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_MZONE)
e3:SetRange(LOCATION_FZONE)
e3:SetCountLimit(1)
e3:SetCost(cm.thcost)
e3:SetTarget(cm.thtg)
......
......@@ -203,6 +203,7 @@ function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,Card.IsCanAddCounter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,2,nil,0x1015,2)
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if g:GetCount()~=0 then
local tc=g:GetFirst()
......
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