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
e3936075
Commit
e3936075
authored
Jun 04, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nanodesu
parent
0f3b1ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c33700916.lua
expansions/script/c33700916.lua
+1
-1
expansions/script/c57330009.lua
expansions/script/c57330009.lua
+4
-4
No files found.
expansions/script/c33700916.lua
View file @
e3936075
...
...
@@ -37,7 +37,7 @@ end
function
c33700916
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33700916
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
10113040
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
33700916
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
function
c33700916
.
cfilter
(
c
)
...
...
expansions/script/c57330009.lua
View file @
e3936075
...
...
@@ -5,7 +5,7 @@ xpcall(function() require("expansions/script/c57300000") end,function() require(
cm
.
named_with_windbot
=
true
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCode2FunRep
(
c
,
m
-
1
,
m
-
2
,
miyuki
.
IsFusionWindbot
,
1
,
63
,
false
,
fals
e
)
aux
.
AddFusionProcCode2FunRep
(
c
,
m
-
1
,
m
-
2
,
miyuki
.
IsFusionWindbot
,
1
,
63
,
true
,
tru
e
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
@@ -47,17 +47,17 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
sprfilter
(
c
,
fc
)
return
c
:
IsCanBeFusionMaterial
(
fc
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
c
:
IsCanBeFusionMaterial
(
fc
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
c
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_FUSION
and
c
:
CheckFusionMaterial
(
mg
,
nil
,
PLAYER_NONE
)
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
,
LOCATION_MZONE
)
and
c
:
CheckFusionMaterial
(
mg
,
nil
,
PLAYER_NONE
)
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
c
)
local
sg
=
Duel
.
SelectFusionMaterial
(
tp
,
c
,
mg
,
nil
,
PLAYER_NONE
)
local
sg
=
Duel
.
SelectFusionMaterial
(
tp
,
c
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
+
REASON_RETURN
)
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