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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
4a7d50d3
Commit
4a7d50d3
authored
Sep 20, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
16020ef4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c19500020.lua
expansions/script/c19500020.lua
+6
-6
expansions/script/c33310101.lua
expansions/script/c33310101.lua
+3
-3
No files found.
expansions/script/c19500020.lua
View file @
4a7d50d3
...
@@ -21,15 +21,15 @@ end
...
@@ -21,15 +21,15 @@ end
function
c19500020
.
amop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19500020
.
amop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
Set
Code
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e1
:
Set
Property
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
Set
TargetRange
(
LOCATION_ONFIELD
,
0
)
e1
:
Set
Code
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e1
:
SetTarget
(
c19500020
.
amlimit
)
e1
:
SetTarget
Range
(
0
,
LOCATION_MZONE
)
e1
:
SetValue
(
aux
.
tgoval
)
e1
:
SetValue
(
c19500020
.
atlimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c19500020
.
a
m
limit
(
e
,
c
)
function
c19500020
.
a
t
limit
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
end
end
function
c19500020
.
repfilter
(
c
,
tp
)
function
c19500020
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
...
...
expansions/script/c33310101.lua
View file @
4a7d50d3
...
@@ -25,13 +25,13 @@ function cm.disop(e,tp)
...
@@ -25,13 +25,13 @@ function cm.disop(e,tp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
disfilter1
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
disfilter1
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
):
GetFirst
()
if
not
tc
then
return
end
if
not
tc
then
return
end
Duel
.
HintSelection
(
rsgf
.
Mix2
(
tc
))
Duel
.
HintSelection
(
rsgf
.
Mix2
(
tc
))
local
e1
,
e2
=
rsef
.
SV_LIMIT
({
c
,
tc
},
"dis,dise"
,
nil
,
nil
,
rsreset
.
est
)
local
e1
,
e2
=
rsef
.
SV_LIMIT
({
c
,
tc
},
"dis,dise"
,
nil
,
nil
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
Duel
.
AdjustInstantly
(
c
)
Duel
.
AdjustInstantly
(
c
)
if
tc
:
IsDisabled
()
and
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsDisabled
()
and
tc
:
IsType
(
TYPE_MONSTER
)
then
local
e3
=
rsef
.
SV_INDESTRUCTABLE
({
c
,
tc
},
"battle"
,
nil
,
nil
,
rsreset
.
est
)
local
e3
=
rsef
.
SV_INDESTRUCTABLE
({
c
,
tc
},
"battle"
,
nil
,
nil
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetReset
(
rsreset
.
est
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetCode
(
EFFECT_MUST_ATTACK
)
e4
:
SetCode
(
EFFECT_MUST_ATTACK
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
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