Skip to content

Commit 405279e

Browse files
committed
added Meteor Skull Archfiend
1 parent 4d66f58 commit 405279e

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

rush/c160213006.lua

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
--メテオ・スカル・デーモン
2+
--Meteor Skull Archfiend
3+
--Scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Fusion Procedure
7+
c:EnableReviveLimit()
8+
Fusion.AddProcMixN(c,true,true,CARD_SUMMONED_SKULL,1,s.ffilter,1)
9+
--Monsters cannot be returned
10+
local e1=Effect.CreateEffect(c)
11+
e1:SetType(EFFECT_TYPE_FIELD)
12+
e1:SetCode(EFFECT_CANNOT_TO_DECK)
13+
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_SET_AVAILABLE)
14+
e1:SetRange(LOCATION_MZONE)
15+
e1:SetCondition(s.indcond)
16+
e1:SetTarget(s.indtg)
17+
e1:SetTargetRange(LOCATION_ONFIELD,0)
18+
e1:SetValue(s.value)
19+
c:RegisterEffect(e1)
20+
local e2=e1:Clone()
21+
e2:SetCode(EFFECT_CANNOT_TO_HAND)
22+
c:RegisterEffect(e2)
23+
end
24+
function s.ffilter(c,fc,sumtype,tp)
25+
return c:IsAttribute(ATTRIBUTE_EARTH,fc,sumtype,tp) and c:IsRace(RACE_DRAGON,fc,sumtype,tp) and c:IsAttack(1800)
26+
end
27+
function s.indcond(e)
28+
return Duel.IsTurnPlayer(1-e:GetHandlerPlayer())
29+
end
30+
function s.indtg(e,c)
31+
return c:IsMonster()
32+
end
33+
function s.value(e,re,rp)
34+
return nil~=re
35+
end

0 commit comments

Comments
 (0)