Commit a667511a authored by mercury233's avatar mercury233

fix

parent 6f7104c9
......@@ -56,7 +56,7 @@ function c100426037.atop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_EXTRA_ATTACK)
e1:SetValue(tc:GetLink())
e1:SetValue(tc:GetLink()-1)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
......
......@@ -48,7 +48,7 @@ end
function c101107040.ffilter(c,fc,sub,mg,sg)
if not sg then return true end
return not sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode())
and (#sg<2 or sg:IsExists(aux.NOT(Card.IsLocation),1,c,c:GetLocation()))
and (not c:IsLocation(LOCATION_HAND+LOCATION_MZONE) or #sg<2 or sg:IsExists(aux.NOT(Card.IsLocation),1,c,c:GetLocation()))
end
function c101107040.matlimit(e,c,fc,st)
if st~=SUMMON_TYPE_FUSION then return true end
......
......@@ -10,6 +10,7 @@ function c101107042.initial_effect(c)
e1:SetDescription(aux.Stringid(101107042,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,101107042)
e1:SetTarget(c101107042.atttg)
e1:SetOperation(c101107042.attop)
......
......@@ -55,9 +55,9 @@ function c101107078.operation(e,tp,eg,ep,ev,re,r,rp)
end
sg:RemoveCard(tc)
Duel.SendtoDeck(sg,nil,0,REASON_EFFECT)
Duel.SortDecktop(p,p,2)
Duel.SortDecktop(tp,tp,2)
for i=1,2 do
local mg=Duel.GetDecktopGroup(p,1)
local mg=Duel.GetDecktopGroup(tp,1)
Duel.MoveSequence(mg:GetFirst(),1)
end
end
......
......@@ -22,7 +22,7 @@ function c101107080.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetTargetParam(2)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,2)
end
function c101107080.effop(e,tp,eg,ep,ev,re,r,rp)
function c101107080.operation(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
if Duel.Draw(p,d,REASON_EFFECT)>0 and Duel.GetLP(p)<10 then
Duel.Draw(p,2,REASON_EFFECT)
......
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