Commit b1becd0b authored by 花桃白音's avatar 花桃白音

fix 42s

parent 577580b0
No preview for this file type
--冬幽狐白雪回音
--冬幽狐白雪回音
local m=4210051
local cm=_G["c"..m]
function cm.initial_effect(c)
iFunc(c).c("RegisterEffect",iFunc(c)
iFunc(c).c("RegisterEffect",iFunc(c)
.e("SetDescription",aux.Stringid(m,0))
.e("SetCategory",CATEGORY_TOHAND+CATEGORY_SEARCH)
.e("SetType",EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
......
--樱幽狐御守美羽
local m = 4260614
local cm=_G["c"..m]
function cm.initial_effect(c)
iFunc(c).c("RegisterEffect",iFunc(c)
function cm.initial_effect(c)
iFunc(c).c("RegisterEffect",iFunc(c)
.e("SetDescription",aux.Stringid(m,0))
.e("SetType",EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
.e("SetCode",EVENT_PHASE+PHASE_END)
......@@ -19,7 +19,7 @@ function cm.initial_effect(c)
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<5 then return end
Duel.ConfirmDecktop(tp,5)
local g=Duel.GetDecktopGroup(tp,5)
if g:FilterCount(cm.filter,nil)>0 and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
if g:FilterCount(cm.filter,nil)>0 and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:FilterSelect(tp,cm.filter,1,1,nil)
local tc=sg:GetFirst()
......
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