Commit 42a7ebb0 authored by wind2009's avatar wind2009

Fix 大紅蓮魔闘士

parent 243465b2
...@@ -60,7 +60,7 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -60,7 +60,7 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.HintSelection(gg) Duel.HintSelection(gg)
end end
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_SPSUMMON) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_SPSUMMON)
local atk=g:Filter(card.IsLocation,nil,LOCATION_DECK):Filter(card.IsType,nil,TYPE_NORMAL) local atk=g:Filter(Card.IsLocation,nil,LOCATION_DECK):Filter(Card.IsType,nil,TYPE_NORMAL)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
...@@ -94,4 +94,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -94,4 +94,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc1:IsRelateToEffect(e) and tc1:IsType(TYPE_MONSTER) and Duel.Destroy(tc1,REASON_EFFECT)>0 and tc2:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc2) then if tc1:IsRelateToEffect(e) and tc1:IsType(TYPE_MONSTER) and Duel.Destroy(tc1,REASON_EFFECT)>0 and tc2:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc2) then
Duel.SpecialSummon(tc2,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc2,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -71,4 +71,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,4 +71,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
if oc==0 then return end if oc==0 then return end
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -75,4 +75,4 @@ function s.actcon(e) ...@@ -75,4 +75,4 @@ function s.actcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return not e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) return not e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
and not Duel.IsExistingMatchingCard(s.actfilter,tp,LOCATION_MZONE,0,1,nil) and not Duel.IsExistingMatchingCard(s.actfilter,tp,LOCATION_MZONE,0,1,nil)
end end
\ No newline at end of file
...@@ -57,4 +57,4 @@ function s.activate(att) ...@@ -57,4 +57,4 @@ function s.activate(att)
Duel.SpecialSummon(tc,0,tp,sp,false,false,POS_FACEUP_DEFENSE) Duel.SpecialSummon(tc,0,tp,sp,false,false,POS_FACEUP_DEFENSE)
end end
end end
end end
\ No newline at end of file
...@@ -68,4 +68,4 @@ function s.splimit(race) ...@@ -68,4 +68,4 @@ function s.splimit(race)
return function(e,c) return function(e,c)
return not c:IsRace(race) return not c:IsRace(race)
end end
end end
\ No newline at end of file
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