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
1eb89c3b
Commit
1eb89c3b
authored
Mar 03, 2021
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
72b1a5eb
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
expansions/script/c33331100.lua
expansions/script/c33331100.lua
+1
-1
expansions/script/c33331101.lua
expansions/script/c33331101.lua
+3
-3
expansions/script/c33331102.lua
expansions/script/c33331102.lua
+2
-2
expansions/script/c33331103.lua
expansions/script/c33331103.lua
+2
-2
expansions/script/c33331104.lua
expansions/script/c33331104.lua
+4
-3
expansions/script/c33331105.lua
expansions/script/c33331105.lua
+1
-1
expansions/script/c33331108.lua
expansions/script/c33331108.lua
+3
-3
No files found.
expansions/script/c33331100.lua
View file @
1eb89c3b
--小狐
--小狐
if
not
pcall
(
function
()
require
(
"expansions/script/c
10199990"
)
end
)
then
require
(
"script/c1019999
0"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c
33301000"
)
end
)
then
require
(
"script/c3330100
0"
)
end
local
m
=
33331100
local
m
=
33331100
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
if
not
rsv
.
LF
then
if
not
rsv
.
LF
then
...
...
expansions/script/c33331101.lua
View file @
1eb89c3b
...
@@ -13,12 +13,12 @@ function cm.op(e,tp)
...
@@ -13,12 +13,12 @@ function cm.op(e,tp)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
cm
.
buff
(
c
)
function
cm
.
buff
(
c
)
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
{
c
,
true
}
,
cm
.
efilter
)
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
c
,
cm
.
efilter
)
local
e2
=
rsef
.
I
(
{
c
,
true
}
,{
m
,
0
},
nil
,
"tg,sp"
,
nil
,
LOCATION_MZONE
,
cm
.
lcon
,
nil
,
cm
.
ltg
,
cm
.
lop
)
local
e2
=
rsef
.
I
(
c
,{
m
,
0
},
nil
,
"tg,sp"
,
nil
,
LOCATION_MZONE
,
cm
.
lcon
,
nil
,
cm
.
ltg
,
cm
.
lop
)
return
e1
,
e2
return
e1
,
e2
end
end
function
cm
.
efilter
(
e
,
te
)
function
cm
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
Get
Handl
erPlayer
()
and
te
:
IsActiveType
(
TYPE_MONSTER
)
return
te
:
GetOwnerPlayer
()
~=
e
:
Get
Own
erPlayer
()
and
te
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
cm
.
lcon
(
e
,
tp
)
function
cm
.
lcon
(
e
,
tp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
...
...
expansions/script/c33331102.lua
View file @
1eb89c3b
...
@@ -17,8 +17,8 @@ function cm.op(e,tp,c)
...
@@ -17,8 +17,8 @@ function cm.op(e,tp,c)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
buff
(
c
)
function
cm
.
buff
(
c
)
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
{
c
,
true
}
,
cm
.
imval
)
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
c
,
cm
.
imval
)
local
e2
=
rsef
.
I
(
{
c
,
true
}
,{
m
,
0
},
nil
,
"des"
,
nil
,
LOCATION_MZONE
,
cm
.
descon
,
nil
,
cm
.
destg
,
cm
.
desop
)
local
e2
=
rsef
.
I
(
c
,{
m
,
0
},
nil
,
"des"
,
nil
,
LOCATION_MZONE
,
cm
.
descon
,
nil
,
cm
.
destg
,
cm
.
desop
)
return
e1
,
e2
return
e1
,
e2
end
end
function
cm
.
imval
(
e
,
re
)
function
cm
.
imval
(
e
,
re
)
...
...
expansions/script/c33331103.lua
View file @
1eb89c3b
...
@@ -18,8 +18,8 @@ function cm.op(e,tp)
...
@@ -18,8 +18,8 @@ function cm.op(e,tp)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
function
cm
.
buff
(
c
)
function
cm
.
buff
(
c
)
local
e1
,
e2
=
rsef
.
SV_INDESTRUCTABLE
(
{
c
,
true
}
,
"battle,effect"
)
local
e1
,
e2
=
rsef
.
SV_INDESTRUCTABLE
(
c
,
"battle,effect"
)
local
e3
=
rsef
.
I
(
{
c
,
true
}
,{
m
,
0
},
1
,
"dr,td"
,
nil
,
LOCATION_MZONE
,
cm
.
drcon
,
nil
,
cm
.
drtg
,
cm
.
drop
)
local
e3
=
rsef
.
I
(
c
,{
m
,
0
},
1
,
"dr,td"
,
nil
,
LOCATION_MZONE
,
cm
.
drcon
,
nil
,
cm
.
drtg
,
cm
.
drop
)
return
e1
,
e2
,
e3
return
e1
,
e2
,
e3
end
end
function
cm
.
drcon
(
e
,
tp
)
function
cm
.
drcon
(
e
,
tp
)
...
...
expansions/script/c33331104.lua
View file @
1eb89c3b
...
@@ -17,10 +17,11 @@ function cm.op(e,tp)
...
@@ -17,10 +17,11 @@ function cm.op(e,tp)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
function
cm
.
buff
(
c
)
function
cm
.
buff
(
c
list
)
local
e1
=
rsef
.
SV_CANNOT_BE_TARGET
(
{
c
,
true
}
,
"effect"
)
local
e1
=
rsef
.
SV_CANNOT_BE_TARGET
(
clist
,
"effect"
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
local
e2
=
rsef
.
I
({
c
,
true
},{
m
,
0
},
nil
,
"td,tg"
,
nil
,
LOCATION_MZONE
,
cm
.
tdcon
,
nil
,
cm
.
tdtg
,
cm
.
tdop
)
local
e2
=
rsef
.
I
(
clist
,{
m
,
0
},
nil
,
"td,tg"
,
nil
,
LOCATION_MZONE
,
cm
.
tdcon
,
nil
,
cm
.
tdtg
,
cm
.
tdop
)
local
_
,
c
=
rsef
.
GetRegisterCard
(
clist
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
expansions/script/c33331105.lua
View file @
1eb89c3b
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
cm
.
op
(
e
,
tp
)
function
cm
.
op
(
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
end
function
cm
.
buff
(
c
)
function
cm
.
buff
(
c
)
local
e1
=
rsef
.
FV_LIMIT_PLAYER
(
c
,
"rm"
,
nil
,
cm
.
tg
,{
1
,
0
})
local
e1
=
rsef
.
FV_LIMIT_PLAYER
(
c
,
"rm"
,
nil
,
cm
.
tg
,{
1
,
0
})
...
...
expansions/script/c33331108.lua
View file @
1eb89c3b
...
@@ -30,7 +30,7 @@ function cm.cfilter(c)
...
@@ -30,7 +30,7 @@ function cm.cfilter(c)
return
not
c
:
IsForbidden
()
and
rslf
.
filter0
(
c
)
return
not
c
:
IsForbidden
()
and
rslf
.
filter0
(
c
)
end
end
function
cm
.
op
(
e
,
tp
)
function
cm
.
op
(
e
,
tp
)
local
c
=
rscf
.
Get
RelationThisCard
()
local
c
=
rscf
.
Get
FaceUpSelf
()
if
not
c
then
return
end
if
not
c
then
return
end
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
c
,
cm
.
imval
,
nil
,
rsreset
.
est_pend
)
local
e1
=
rsef
.
SV_IMMUNE_EFFECT
(
c
,
cm
.
imval
,
nil
,
rsreset
.
est_pend
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
@@ -40,10 +40,10 @@ function cm.op(e,tp)
...
@@ -40,10 +40,10 @@ function cm.op(e,tp)
end
end
end
end
function
cm
.
imval
(
e
,
re
)
function
cm
.
imval
(
e
,
re
)
return
re
:
GetOwnerPlayer
()
~=
e
:
Get
Own
erPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
re
:
GetOwnerPlayer
()
~=
e
:
Get
Handl
erPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
cm
.
dfilter
(
c
,
tp
)
function
cm
.
dfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
2553
)
return
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0x
2553
)
end
end
function
cm
.
repfilter
(
c
)
function
cm
.
repfilter
(
c
)
return
c
:
IsSetCard
(
0x2553
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x2553
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
...
...
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