Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
9a355b65
Commit
9a355b65
authored
Sep 24, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1b9b9c10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
script/c101011034.lua
script/c101011034.lua
+4
-0
script/c101011054.lua
script/c101011054.lua
+1
-1
No files found.
script/c101011034.lua
View file @
9a355b65
...
@@ -10,6 +10,7 @@ function c101011034.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c101011034.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c101011034
.
thcon
)
e1
:
SetTarget
(
c101011034
.
thtg
)
e1
:
SetTarget
(
c101011034
.
thtg
)
e1
:
SetOperation
(
c101011034
.
thop
)
e1
:
SetOperation
(
c101011034
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -36,6 +37,9 @@ function c101011034.initial_effect(c)
...
@@ -36,6 +37,9 @@ function c101011034.initial_effect(c)
e3
:
SetOperation
(
c101011034
.
atkop
)
e3
:
SetOperation
(
c101011034
.
atkop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c101011034
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
function
c101011034
.
thfilter
(
c
)
function
c101011034
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
2300
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
2300
)
and
c
:
IsAbleToHand
()
end
end
...
...
script/c101011054.lua
View file @
9a355b65
...
@@ -26,7 +26,7 @@ function c101011054.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,7 +26,7 @@ function c101011054.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg2
=
nil
local
mg2
=
nil
if
Duel
.
IsExistingMatchingCard
(
c101011054
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
c101011054
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
exg
=
Duel
.
GetMatchingGroup
(
aux
.
RitualExtraFilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
c101011054
.
mfilter
)
mg2
=
Duel
.
GetMatchingGroup
(
aux
.
RitualExtraFilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
c101011054
.
mfilter
)
end
end
return
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c101011054
.
filter
,
e
,
tp
,
mg
,
mg2
,
Card
.
GetLevel
,
"Greater"
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c101011054
.
filter
,
e
,
tp
,
mg
,
mg2
,
Card
.
GetLevel
,
"Greater"
)
end
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