Commit 544f7b62 authored by DailyShana's avatar DailyShana

fix

parent fbca6b7a
...@@ -27,8 +27,7 @@ function c20584712.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -27,8 +27,7 @@ function c20584712.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CARDTYPE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CARDTYPE)
e:SetLabel(Duel.SelectOption(tp,70,71,72)) e:SetLabel(Duel.SelectOption(tp,70,71,72))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil) Duel.SelectTarget(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end end
function c20584712.desop(e,tp,eg,ep,ev,re,r,rp) function c20584712.desop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)==0 then return end if Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)==0 then return end
......
...@@ -105,7 +105,7 @@ function c39373426.cnop(e,tp,eg,ep,ev,re,r,rp) ...@@ -105,7 +105,7 @@ function c39373426.cnop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and Duel.GetControl(tc,tp,PHASE_END,1) then if tc:IsRelateToEffect(e) and Duel.GetControl(tc,tp,PHASE_END,1) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_OATH) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK) e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
......
...@@ -34,7 +34,6 @@ function c94096018.drtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -34,7 +34,6 @@ function c94096018.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(Duel.SelectOption(tp,70,71,72)) e:SetLabel(Duel.SelectOption(tp,70,71,72))
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end end
function c94096018.drop(e,tp,eg,ep,ev,re,r,rp) function c94096018.drop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)==0 then return end if Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)==0 then return end
......
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