Commit 42b0c4fd authored by mercury233's avatar mercury233

fix

parent 1a6d399b
...@@ -60,7 +60,7 @@ end ...@@ -60,7 +60,7 @@ end
function c100227006.splimit(e,c,sump,sumtype,sumpos,targetp,se) function c100227006.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLocation(LOCATION_EXTRA) return c:IsLocation(LOCATION_EXTRA)
end end
function c100227006.atkcon(e,tp,eg,ep,ev,re,r,rp,chk) function c100227006.atkcon(e)
return Duel.IsEnvironment(100227010) return Duel.IsEnvironment(100227010)
end end
function c100227006.atkfilter(c) function c100227006.atkfilter(c)
......
...@@ -31,8 +31,8 @@ c100227007.card_code_list={100227010} ...@@ -31,8 +31,8 @@ c100227007.card_code_list={100227010}
function c100227007.filter(c) function c100227007.filter(c)
return c:IsFaceup() and c:IsCode(100227006) return c:IsFaceup() and c:IsCode(100227006)
end end
function c100227007.atkcon(e,tp,eg,ep,ev,re,r,rp,chk) function c100227007.atkcon(e)
return Duel.IsExistingMatchingCard(c100227007.filter,tp,LOCATION_ONFIELD,0,1,nil) return Duel.IsExistingMatchingCard(c100227007.filter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,nil)
end end
function c100227007.thcon(e,tp,eg,ep,ev,re,r,rp) function c100227007.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -7,7 +7,7 @@ function c100227041.initial_effect(c) ...@@ -7,7 +7,7 @@ function c100227041.initial_effect(c)
e1:SetDescription(aux.Stringid(100227041,0)) e1:SetDescription(aux.Stringid(100227041,0))
e1:SetCategory(CATEGORY_TOHAND) e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,100227041) e1:SetCountLimit(1,100227041)
e1:SetTarget(c100227041.thtg) e1:SetTarget(c100227041.thtg)
......
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