Commit 961464ae authored by Tachibana's avatar Tachibana

eme

parent 01a6dff5
Pipeline #5990 passed with stages
in 19 minutes and 31 seconds
......@@ -53,7 +53,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
function cm.sprfilter(c)
return c:IsFaceup() and c:IsLevelAbove(8) and c:IsAbleToGraveAsCost()
return c:IsFaceup() and c:IsLevelAbove(8) and c:IsAbleToGraveAsCost() and c:IsRace(RACE_DRAGON)
end
function cm.sprfilter1(c,tp,g,sc)
local lv=c:GetLevel()
......
......@@ -41,6 +41,17 @@ function c33200262.smtg(e,tp,eg,ep,ev,re,r,rp,chk)
and not Duel.IsPlayerAffectedByEffect(tp,59822133) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,2,0,0)
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetTargetRange(1,0)
e4:SetTarget(c33200262.splimit)
e4:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e4,tp)
end
function c33200262.splimit(e,c)
return not (c:IsType(TYPE_SYNCHRO) and c:IsRace(RACE_WARRIOR)) and c:IsLocation(LOCATION_EXTRA)
end
function c33200262.smop(e,tp,eg,ep,ev,re,r,rp)
local ft1=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
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