You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: official/c96782886.lua
+14-17Lines changed: 14 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -2,40 +2,37 @@
2
2
--Mind Master
3
3
locals,id=GetID()
4
4
functions.initial_effect(c)
5
-
--special summon
5
+
--You can pay 800 Life Points and Tribute 1 Psychic-Type monster; Special Summon 1 Level 4 or lower Psychic-Type monster from your Deck in Attack Position
6
6
locale1=Effect.CreateEffect(c)
7
7
e1:SetDescription(aux.Stringid(id,0))
8
8
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
9
9
e1:SetType(EFFECT_TYPE_IGNITION)
10
10
e1:SetRange(LOCATION_MZONE)
11
+
e1:SetCountLimit(1,{id,0})
11
12
e1:SetCost(s.cost)
12
-
e1:SetTarget(s.target)
13
-
e1:SetOperation(s.operation)
13
+
e1:SetTarget(s.sptg)
14
+
e1:SetOperation(s.spop)
14
15
c:RegisterEffect(e1)
15
16
end
16
-
s.listed_names={id}
17
-
functions.costfilter(c,ft,tp)
18
-
returnc:IsRace(RACE_PSYCHIC) andnotc:IsCode(id)
19
-
and (ft>0or (c:IsControler(tp) andc:GetSequence()<5)) and (c:IsControler(tp) orc:IsFaceup())
20
-
end
21
17
functions.cost(e,tp,eg,ep,ev,re,r,rp,chk)
22
-
localft=Duel.GetLocationCount(tp,LOCATION_MZONE)
23
18
ifchk==0thenreturnDuel.CheckLPCost(tp,800)
24
-
andft>-1andDuel.CheckReleaseGroupCost(tp,s.costfilter,1,false,nil,nil,ft,tp) end
19
+
andDuel.CheckReleaseGroupCost(tp,Card.IsRace,1,false,aux.ReleaseCheckMMZ,nil,RACE_PSYCHIC) end
--You can pay 800 Life Points and Tribute 1 Psychic-Type monster, except "Mind Master"; Special Summon 1 Level 4 or lower Psychic-Type monster from your Deck in Attack Position
6
+
locale1=Effect.CreateEffect(c)
7
+
e1:SetDescription(aux.Stringid(id,0))
8
+
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
9
+
e1:SetType(EFFECT_TYPE_IGNITION)
10
+
e1:SetRange(LOCATION_MZONE)
11
+
e1:SetCost(s.cost)
12
+
e1:SetTarget(s.sptg)
13
+
e1:SetOperation(s.spop)
14
+
c:RegisterEffect(e1)
15
+
end
16
+
s.listed_names={id}
17
+
functions.costfilter(c)
18
+
returnc:IsRace(RACE_PSYCHIC) andnotc:IsCode(id)
19
+
end
20
+
functions.cost(e,tp,eg,ep,ev,re,r,rp,chk)
21
+
ifchk==0thenreturnDuel.CheckLPCost(tp,800)
22
+
andDuel.CheckReleaseGroupCost(tp,s.costfilter,1,false,aux.ReleaseCheckMMZ,nil) end
0 commit comments