Commit 72768adb authored by mercury233's avatar mercury233

fix

parent 42f61c40
......@@ -62,7 +62,7 @@ function c100252001.damcon(e)
end
function c100252001.damval(e,re,val,r,rp,rc)
local c=e:GetHandler()
if bit.band(r,REASON_BATTLE+REASON_EFFECT)~=0 and c:GetFlagEffect(100252001)==0 then
if bit.band(r,REASON_EFFECT)~=0 and c:GetFlagEffect(100252001)==0 then
Duel.RegisterFlagEffect(tp,100252001,RESET_PHASE+PHASE_END,0,1)
return 0
end
......
......@@ -104,7 +104,7 @@ function c101010015.splimit(e,c)
return not c:IsRace(RACE_DRAGON) or not c:IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_DARK)
end
function c101010015.thfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsLevel(4) and c:IsAbleToHand()
return c:IsRace(RACE_DRAGON) and c:IsLevel(4) and c:IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_DARK) and c:IsAbleToHand()
end
function c101010015.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c101010015.thfilter(chkc) end
......
......@@ -36,7 +36,7 @@ function c101010034.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_RECOVER)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,101010034)
e3:SetCountLimit(1,101010034+100)
e3:SetCondition(c101010034.descon)
e3:SetTarget(c101010034.destg)
e3:SetOperation(c101010034.desop)
......
......@@ -37,7 +37,7 @@ function c101010057.condition(e,tp,eg,ep,ev,re,r,rp)
return ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE
end
function c101010057.filter1(c,e)
return c:IsAbleToDeck() and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e)
return c:IsAbleToDeck() and c:IsCanBeFusionMaterial() and c:IsType(TYPE_MONSTER) and not c:IsImmuneToEffect(e)
end
function c101010057.filter2(c,e,tp,m,chkf)
return c:IsType(TYPE_FUSION) and c:IsSetCard(0x19) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and c:CheckFusionMaterial(m,nil,chkf)
......
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