Commit 6ff4fce8 authored by Tachibana's avatar Tachibana

sign out

parent 6423812a
...@@ -6,7 +6,7 @@ function cm.initial_effect(c) ...@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--tohand --tohand
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPSUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCost(cm.cost) e1:SetCost(cm.cost)
...@@ -33,6 +33,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -33,6 +33,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(100) e:SetLabel(100)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=Duel.SelectReleaseGroup(tp,cm.spfilter,1,1,nil) local sg=Duel.SelectReleaseGroup(tp,cm.spfilter,1,1,nil)
sg:KeepAlive()
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
e:SetLabelObject(sg) e:SetLabelObject(sg)
end 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