Commit a4beb38a authored by POLYMER's avatar POLYMER

fix

parent 3f3261f9
...@@ -70,9 +70,9 @@ function c71401020.checktg(e,c) ...@@ -70,9 +70,9 @@ function c71401020.checktg(e,c)
return not c:IsPublic() return not c:IsPublic()
end end
function c71401020.discon(e,tp,eg,ep,ev,re,r,rp) function c71401020.discon(e,tp,eg,ep,ev,re,r,rp)
local code=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE) local code,ctrl=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CONTROLER)
return e:GetHandler():IsDefensePos() return ctrl==1-tp and re:IsActiveType(TYPE_MONSTER)
and re:IsActiveType(TYPE_MONSTER) and Duel.IsExistingMatchingCard(Card.IsCode,0,LOCATION_REMOVED,LOCATION_REMOVED,1,nil,code) and rp~=tp and Duel.IsExistingMatchingCard(Card.IsCode,0,LOCATION_REMOVED,LOCATION_REMOVED,1,nil,code)
end end
function c71401020.disop(e,tp,eg,ep,ev,re,r,rp) function c71401020.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
......
...@@ -69,9 +69,8 @@ function c71401021.checktg(e,c) ...@@ -69,9 +69,8 @@ function c71401021.checktg(e,c)
return not c:IsPublic() return not c:IsPublic()
end end
function c71401021.discon(e,tp,eg,ep,ev,re,r,rp) function c71401021.discon(e,tp,eg,ep,ev,re,r,rp)
local code=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE) local code,ctrl=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CONTROLER)
return e:GetHandler():IsDefensePos() return ctrl==1-tp and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsExistingMatchingCard(Card.IsCode,0,LOCATION_REMOVED,LOCATION_REMOVED,1,nil,code)
and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsExistingMatchingCard(Card.IsCode,0,LOCATION_REMOVED,LOCATION_REMOVED,1,nil,code)
end end
function c71401021.disop(e,tp,eg,ep,ev,re,r,rp) function c71401021.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
function c75081023.initial_effect(c) function c75081023.initial_effect(c)
--revive --revive
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetCategory(CATEGORY_REMOVE) --e0:SetCategory(CATEGORY_REMOVE)
e0:SetType(EFFECT_TYPE_ACTIVATE) e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN) e0:SetCode(EVENT_FREE_CHAIN)
e0:SetProperty(EFFECT_FLAG_CARD_TARGET)
e0:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e0:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e0:SetCountLimit(1,75081023) e0:SetCountLimit(1,75081023)
e0:SetTarget(c75081023.ovtg) e0:SetTarget(c75081023.ovtg)
......
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