Commit 0e7e7ea3 authored by Nemo Ma's avatar Nemo Ma

fix

parent dd3a2c73
...@@ -86,7 +86,7 @@ function c11560313.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,7 +86,7 @@ function c11560313.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)-5 local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)-5
if ct>0 then if ct>0 then
local rg=Duel.GetDecktopGroup(tp,ct) local rg=Duel.GetDecktopGroup(1-tp,ct)
Duel.SendtoGrave(rg,REASON_EFFECT) Duel.SendtoGrave(rg,REASON_EFFECT)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
......
...@@ -98,7 +98,7 @@ function cm.skcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -98,7 +98,7 @@ function cm.skcost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_EXTRA,0,nil)
if chk==0 then return g:GetClassCount(Card.GetCode)>=4 end if chk==0 then return g:GetClassCount(Card.GetCode)>=4 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=g:SelectSubGroup(tp,aux.dlvcheck,false,4,4) local g1=g:SelectSubGroup(tp,aux.dlvcheck,false,4,4,tp)
Duel.Remove(g1,POS_FACEUP,REASON_COST) Duel.Remove(g1,POS_FACEUP,REASON_COST)
end end
function cm.skcon(e,tp) function cm.skcon(e,tp)
......
...@@ -46,7 +46,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_PHASE+PHASE_END,2) e1:SetReset(RESET_PHASE+PHASE_END,2)
--all race --all race
local e2=e1:Clone() local e2=e1:Clone()
e2:SetValue(0x1ffffff) e2:SetValue(0x3ffffff)
--no attribute --no attribute
local e3=e1:Clone() local e3=e1:Clone()
e3:SetCode(EFFECT_CHANGE_ATTRIBUTE) e3:SetCode(EFFECT_CHANGE_ATTRIBUTE)
......
...@@ -28,7 +28,7 @@ function c98920563.initial_effect(c) ...@@ -28,7 +28,7 @@ function c98920563.initial_effect(c)
e3:SetCode(EVENT_SUMMON_SUCCESS) e3:SetCode(EVENT_SUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetRange(LOCATION_REMOVED) e3:SetRange(LOCATION_REMOVED)
e3:SetCountLimit(1,18940726) e3:SetCountLimit(1,98930563)
e3:SetCondition(c98920563.thcon2) e3:SetCondition(c98920563.thcon2)
e3:SetCost(c98920563.cost) e3:SetCost(c98920563.cost)
e3:SetTarget(c98920563.thtg2) e3:SetTarget(c98920563.thtg2)
......
...@@ -71,6 +71,8 @@ function c98920568.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,6 +71,8 @@ function c98920568.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c98920568.setfilter1,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c98920568.setfilter1,tp,LOCATION_DECK,0,1,1,nil)
if #g>0 then if #g>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.SendtoDeck(c,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) if c:IsLocation(LOCATION_GRAVE) then
Duel.SendtoDeck(c,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
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