Commit 009fc611 authored by DailyShana's avatar DailyShana

fix

parent 102a6c77
...@@ -19,15 +19,6 @@ function c78949372.initial_effect(c) ...@@ -19,15 +19,6 @@ function c78949372.initial_effect(c)
e2:SetTarget(c78949372.drtg) e2:SetTarget(c78949372.drtg)
e2:SetOperation(c78949372.drop) e2:SetOperation(c78949372.drop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--cannot disable
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_DISABLE)
e3:SetRange(LOCATION_SZONE)
e3:SetTargetRange(LOCATION_SZONE,0)
e3:SetCondition(c78949372.tgcon)
e3:SetValue(c78949372.effectfilter)
c:RegisterEffect(e3)
--inactivatable --inactivatable
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD) e4:SetType(EFFECT_TYPE_FIELD)
......
...@@ -39,8 +39,9 @@ function c99330325.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,8 +39,9 @@ function c99330325.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c99330325.activate(e,tp,eg,ep,ev,re,r,rp) function c99330325.activate(e,tp,eg,ep,ev,re,r,rp)
local dg=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local dg=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if Duel.Destroy(dg,REASON_EFFECT)==0 then return end
local sg=Duel.GetMatchingGroup(c99330325.filter1,tp,LOCATION_DECK,0,nil,e,tp) local sg=Duel.GetMatchingGroup(c99330325.filter1,tp,LOCATION_DECK,0,nil,e,tp)
if Duel.Destroy(dg,REASON_EFFECT)~=0 and sg:GetCount()>0 if sg:GetCount()>0
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 then and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(99330325,2)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(99330325,2))
......
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