Skip to content

Commit ce5ba66

Browse files
committed
added Miracle Contact
1 parent 68417ae commit ce5ba66

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

rush/c160020066.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--ミラクル・コンタクト
2+
--Miracle Contact
3+
--Scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
local e1=Fusion.CreateSummonEff(c,s.filter,s.mfilter,s.fextra,Fusion.ShuffleMaterial)
7+
c:RegisterEffect(e1)
8+
end
9+
function s.filter(c)
10+
return c:ListsCodeAsMaterial(CARD_NEOS)
11+
end
12+
function s.mfilter(c)
13+
return c:IsLocation(LOCATION_GRAVE|LOCATION_MZONE) and c:IsAbleToDeck()
14+
end
15+
function s.fextra(e,tp,mg)
16+
return Duel.GetMatchingGroup(s.mfilter,tp,LOCATION_GRAVE|LOCATION_MZONE,0,nil)
17+
end

0 commit comments

Comments
 (0)