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
Ai
ygopro-222DIY-cards
Commits
dc49897f
Commit
dc49897f
authored
Feb 24, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rover
parent
3af7aa77
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
expansions/script/c65010130.lua
expansions/script/c65010130.lua
+2
-2
expansions/script/c75646618.lua
expansions/script/c75646618.lua
+5
-3
No files found.
expansions/script/c65010130.lua
View file @
dc49897f
...
...
@@ -37,12 +37,12 @@ function c65010130.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
+
EFFECT_COUNT_CODE_SINGLE
)
e4
:
SetCondition
(
c65010130
.
thcon
)
e4
:
SetTarget
(
c65010130
.
thtg
)
e4
:
SetOperation
(
c65010130
.
thop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
e4
:
Clone
(
)
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e5
)
--damage
...
...
expansions/script/c75646618.lua
View file @
dc49897f
...
...
@@ -18,7 +18,7 @@ function c75646618.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--Recover
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
28806532
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
75646618
,
0
))
e2
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
@@ -51,11 +51,10 @@ function c75646618.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75646618
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
c
)
if
g
:
GetCount
()
>
0
then
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
if
Duel
.
GetFlagEffect
(
tp
,
75646600
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
75646600
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetCondition
(
c75646618
.
imcon
)
e1
:
SetValue
(
c75646618
.
imfilter
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
@@ -63,6 +62,9 @@ function c75646618.eqop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c75646618
.
imfilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
function
c75646618
.
cfilter
(
c
)
return
aux
.
IsCodeListed
(
c
,
75646600
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
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