Commit 52516cae authored by salix5's avatar salix5

fix そのX族モンスター

parent ce205b2a
......@@ -76,7 +76,7 @@ function c2978414.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c2978414.ctop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_DRAGON) then
Duel.GetControl(tc,tp)
end
end
......
......@@ -56,7 +56,7 @@ function c74798297.immtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c74798297.immop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsFaceup() and tc:IsRelateToEffect(e) then
if tc and c74798297.filter(tc) and tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
......
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