Commit 90a07205 authored by mercury233's avatar mercury233

fix ドリル・ウォリアー

parent b09931d5
...@@ -41,7 +41,7 @@ function c3429238.tfilter(c) ...@@ -41,7 +41,7 @@ function c3429238.tfilter(c)
return c:IsCode(56286179) or c:IsHasEffect(20932152) return c:IsCode(56286179) or c:IsHasEffect(20932152)
end end
function c3429238.datcon(e,tp,eg,ep,ev,re,r,rp) function c3429238.datcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 return Duel.GetCurrentPhase()==PHASE_MAIN1 and aux.bpcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c3429238.dattg(e,tp,eg,ep,ev,re,r,rp,chk) function c3429238.dattg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -39,7 +39,7 @@ function c50065971.initial_effect(c) ...@@ -39,7 +39,7 @@ function c50065971.initial_effect(c)
end end
function c50065971.dircon(e,tp,eg,ep,ev,re,r,rp) function c50065971.dircon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,1,nil,TYPE_SPELL+TYPE_TRAP) return not Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,1,nil,TYPE_SPELL+TYPE_TRAP)
and not e:GetHandler():IsHasEffect(EFFECT_DIRECT_ATTACK) and not e:GetHandler():IsHasEffect(EFFECT_DIRECT_ATTACK) and aux.bpcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c50065971.dirop(e,tp,eg,ep,ev,re,r,rp) function c50065971.dirop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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