Commit 14997fe7 authored by POLYMER's avatar POLYMER

fix

parent 3e5b62df
......@@ -415,8 +415,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m)
Duel.HintSelection(tg)
if Duel.Remove(tg,POS_FACEUP,REASON_EFFECT)>0 then
local rg=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_REMOVED)
local rg=Duel.GetOperatedGroup() --:Filter(Card.IsLocation,nil,LOCATION_REMOVED)
rg:KeepAlive()
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(m,4))
for tc in aux.Next(rg) do
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......
......@@ -167,7 +167,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local fd=Duel.SelectField(tp,2,LOCATION_SZONE,0,~0x1f00)
for i=0,4 do
if fd&(1<<(8+i))>0 then
c:RegisterFlagEffect(EFFECT_FLAG_EFFECT+m+0xffff+i,RESET_EVENT+RESETS_STANDARD-RESET_TOGRAVE-RESET_LEAVE,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,i))
c:RegisterFlagEffect(EFFECT_FLAG_EFFECT+m+0xffff+i,RESET_EVENT+RESET_TOHAND+RESET_TOFIELD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,i))
local de=Effect.CreateEffect(c)
de:SetDescription(aux.Stringid(m,i))
de:SetType(EFFECT_TYPE_FIELD)
......
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