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
2550dcd9
Commit
2550dcd9
authored
Dec 15, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
62d65651
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
script/c100286005.lua
script/c100286005.lua
+3
-3
script/c100286013.lua
script/c100286013.lua
+1
-1
script/c101108045.lua
script/c101108045.lua
+3
-3
No files found.
script/c100286005.lua
View file @
2550dcd9
...
...
@@ -17,7 +17,7 @@ function c100286005.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
100286005
,
1
))
e2
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_POSITION
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_D
ELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
100286005
+
100
)
e2
:
SetTarget
(
c100286005
.
tgtg
)
...
...
@@ -61,10 +61,10 @@ end
function
c100286005
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
Is
AttackPos
()
and
tc
:
Is
RelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100286005
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
POS_FACEDOWN_DEFENSE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
end
end
...
...
script/c100286013.lua
View file @
2550dcd9
...
...
@@ -55,7 +55,7 @@ function c100286013.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c100286013
.
nofilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
c100286013
.
gselect
,
false
,
4
,
4
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
if
sg
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
xyz
=
g
:
Filter
(
c100286013
.
spfilter2
,
sg
,
sg
,
e
,
tp
):
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SpecialSummon
(
xyz
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c101108045.lua
View file @
2550dcd9
...
...
@@ -75,11 +75,11 @@ function c101108045.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
c101108045
.
rccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
Duel
.
GetBattleMonster
(
1
-
tp
)
return
tc
and
tc
:
IsRelateToBattle
()
return
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToBattle
()
end
function
c101108045
.
rcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetBattleMonster
(
1
-
tp
)
if
tc
and
tc
:
IsRelateToBattle
()
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToBattle
()
then
Duel
.
Recover
(
tp
,
tc
:
GetAttack
()
/
2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
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