Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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-2pick
Commits
0d4e8ee7
Commit
0d4e8ee7
authored
Jul 28, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1463 from DailyShana/patch-4
fix
parents
e766642c
ec9ba954
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
script/c15978426.lua
script/c15978426.lua
+2
-1
script/c41141943.lua
script/c41141943.lua
+1
-1
script/c48144509.lua
script/c48144509.lua
+5
-2
No files found.
script/c15978426.lua
View file @
0d4e8ee7
...
...
@@ -15,7 +15,8 @@ function c15978426.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c15978426
.
filter
(
c
,
tohand
)
return
c
:
IsSetCard
(
0x9f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToGrave
()
or
(
tohand
and
c
:
IsAbleToHand
()))
return
c
:
IsSetCard
(
0x9f
)
and
not
c
:
IsCode
(
15978426
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToGrave
()
or
(
tohand
and
c
:
IsAbleToHand
()))
end
function
c15978426
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c41141943.lua
View file @
0d4e8ee7
...
...
@@ -20,7 +20,7 @@ function c41141943.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
41141943
)
...
...
script/c48144509.lua
View file @
0d4e8ee7
...
...
@@ -27,10 +27,12 @@ function c48144509.filter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
function
c48144509
.
filter3
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
local
mg
=
m
:
Clone
()
mg
:
RemoveCard
(
c
)
if
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
then
if
c
.
check_fusion_material_48144509
then
return
c
.
check_fusion_material_48144509
(
m
,
chkf
)
end
return
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
if
c
.
check_fusion_material_48144509
then
return
c
.
check_fusion_material_48144509
(
m
g
,
chkf
)
end
return
c
:
CheckFusionMaterial
(
m
g
,
nil
,
chkf
)
else
return
false
end
end
function
c48144509
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -78,6 +80,7 @@ function c48144509.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
mg1
:
RemoveCard
(
tc
)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
nil
if
tc
.
select_fusion_material_48144509
then
...
...
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