Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Soulgamer
ygopro-222DIY-cards
Commits
062bd203
Commit
062bd203
authored
Apr 17, 2020
by
gg123gg
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c12037003.lua
parent
4dd02dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
53 deletions
+2
-53
expansions/script/c12037003.lua
expansions/script/c12037003.lua
+2
-53
No files found.
expansions/script/c12037003.lua
View file @
062bd203
...
...
@@ -2,7 +2,7 @@
function
c12037003
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
1237003
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
12
0
37003
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
+
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -10,25 +10,6 @@ function c12037003.initial_effect(c)
e1
:
SetTarget
(
c12037003
.
tg1
)
e1
:
SetOperation
(
c12037003
.
op1
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c12037003
.
con2
)
e2
:
SetOperation
(
c12037003
.
op2
)
c
:
RegisterEffect
(
e2
)
--[[
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_XMATERIAL+EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EFFECT_DISABLE)
e2:SetTargetRange(LOCATION_GRAVE,LOCATION_GRAVE)
e2:SetTarget(c12037003.dis2)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c12037003.con2)
c:RegisterEffect(e2)
]]
--
end
--
function
c12037003
.
tfilter1
(
c
,
e
,
tp
)
...
...
@@ -37,41 +18,9 @@ function c12037003.tfilter1(c,e,tp)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
end
function
c12037003
.
spfilter2
(
c
,
e
,
tp
,
mc
,
level
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetRank
()
==
level
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetRank
()
==
4
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsRace
(
RACE_WINDBEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
end
function
c12037003
.
exfilter1
(
c
,
e
,
tp
,
mc
)
--
local
check_1fb5
=
false
local
check_2fb5
=
false
local
check_37003
=
false
local
mg
=
mc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
>
0
then
if
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1fb5
)
then
check_1fb5
=
1
end
if
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x2fb5
)
then
check_2fb5
=
1
end
if
mg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
12037003
)
then
check_37003
=
1
end
end
--
local
mc_1fb5
=
mc
:
IsSetCard
(
0x1fb5
)
local
mc_IRwb
=
mc
:
IsRace
(
RACE_WINDBEAST
)
--
local
b1
=
(
c
:
GetOriginalCode
()
==
12037011
)
and
((
mc_IRwb
and
mc
:
IsXyzLevel
(
c
,
4
))
or
(
check_1fb5
))
--
local
b2
=
(
c
:
GetOriginalCode
()
==
12037012
)
and
((
mc_IRwb
and
mc
:
IsXyzLevel
(
c
,
4
))
or
(
mc_1fb5
))
--
local
b3
=
(
c
:
GetOriginalCode
()
==
12037013
)
and
((
mc_IRwb
and
mc
:
IsXyzLevel
(
c
,
4
))
or
(
check_2fb5
))
--
local
b4
=
(
c
:
GetOriginalCode
()
==
12037014
)
and
((
mc_IRwb
and
mc
:
IsXyzLevel
(
c
,
8
))
or
(
check_37003
))
--
return
c
:
IsType
(
TYPE_XYZ
)
and
(
b1
or
b2
or
b3
or
b4
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
c12037003
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c12037003
.
tfilter1
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c12037003
.
tfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment