Commit 8caf020e authored by mercury233's avatar mercury233

fix

parent 92b1524b
......@@ -16,7 +16,7 @@ function c18235577.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function c18235577.lvfilter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(2)
end
function c18235577.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c18235577.lvfilter(chkc) end
......
......@@ -11,7 +11,7 @@ function c21767650.initial_effect(c)
c:RegisterEffect(e1)
end
function c21767650.filter(c)
return c:IsFaceup() and c:IsSetCard(0x74) and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x74) and c:IsLevelAbove(0)
end
function c21767650.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c21767650.filter,tp,LOCATION_MZONE,0,1,nil) end
......
......@@ -71,7 +71,7 @@ function c2461031.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function c2461031.lvfilter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c2461031.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c2461031.lvfilter(chkc) end
......
......@@ -15,7 +15,7 @@ function c30494314.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_GRAVE) and re:GetHandler():IsRace(RACE_ZOMBIE)
end
function c30494314.filter(c)
return c:IsFaceup() and c:IsRace(RACE_ZOMBIE) and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsRace(RACE_ZOMBIE) and c:IsLevelAbove(0)
end
function c30494314.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c30494314.filter(chkc) end
......
......@@ -12,7 +12,7 @@ function c39672388.initial_effect(c)
c:RegisterEffect(e1)
end
function c39672388.filter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c39672388.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c39672388.filter(chkc) end
......
......@@ -54,7 +54,7 @@ function c4022819.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SelectTarget(tp,c4022819.lvfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
end
function c4022819.lvfilter2(c)
return c:IsFaceup() and c:IsSetCard(0x69) and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x69) and c:IsLevelAbove(0)
end
function c4022819.lvop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
......
......@@ -16,7 +16,7 @@ function c45620686.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function c45620686.lvfilter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c45620686.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c45620686.lvfilter(chkc) end
......
......@@ -35,10 +35,10 @@ function c53610653.initial_effect(c)
c:RegisterEffect(e4)
end
function c53610653.eqlimit(e,c)
return c:IsRace(RACE_SPELLCASTER) and not c:IsType(TYPE_XYZ)
return c:IsRace(RACE_SPELLCASTER) and c:IsLevelAbove(0)
end
function c53610653.filter(c)
return c:IsFaceup() and c:IsRace(RACE_SPELLCASTER) and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsRace(RACE_SPELLCASTER) and c:IsLevelAbove(0)
end
function c53610653.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c53610653.filter(chkc) end
......
......@@ -14,7 +14,7 @@ function c55465441.filter(c,e,tp)
return c:GetLevel()>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE,1-tp)
end
function c55465441.filter2(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c55465441.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end
......
......@@ -13,7 +13,7 @@ function c57568840.initial_effect(c)
c:RegisterEffect(e1)
end
function c57568840.filter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c57568840.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c57568840.filter(chkc) end
......
......@@ -13,7 +13,7 @@ function c75198893.initial_effect(c)
c:RegisterEffect(e1)
end
function c75198893.filter(c)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and not c:IsType(TYPE_XYZ) and not c:IsForbidden()
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsLevelAbove(0) and not c:IsForbidden()
end
function c75198893.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_REMOVED) and chkc:IsControler(1-tp) and c75198893.filter(chkc) end
......
......@@ -9,7 +9,7 @@ function c84677654.initial_effect(c)
end
c84677654.toss_coin=true
function c84677654.cfilter(c)
return c:IsFaceup() and not c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsLevelAbove(0)
end
function c84677654.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c84677654.cfilter,tp,LOCATION_MZONE,0,1,nil) end
......
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