Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
005ed049
Commit
005ed049
authored
Dec 23, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e6ec2444
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
24 deletions
+11
-24
c50321796.lua
c50321796.lua
+2
-2
c7391448.lua
c7391448.lua
+1
-7
c77565204.lua
c77565204.lua
+6
-13
c87910978.lua
c87910978.lua
+2
-2
No files found.
c50321796.lua
View file @
005ed049
...
...
@@ -32,8 +32,8 @@ function c50321796.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
ct
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
e
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
ct
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
g
,
ct
,
0
,
0
)
local
t
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
ct
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
t
g
,
ct
,
0
,
0
)
end
function
c50321796
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
c7391448.lua
View file @
005ed049
...
...
@@ -9,17 +9,11 @@ function c7391448.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCondition
(
c7391448
.
sp
con
)
e1
:
SetCondition
(
aux
.
bdog
con
)
e1
:
SetTarget
(
c7391448
.
sptg
)
e1
:
SetOperation
(
c7391448
.
spop
)
c
:
RegisterEffect
(
e1
)
end
function
c7391448
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
if
not
c
:
IsRelateToBattle
()
or
c
:
IsFacedown
()
then
return
false
end
return
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
end
function
c7391448
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c77565204.lua
View file @
005ed049
...
...
@@ -5,7 +5,6 @@ function c77565204.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c77565204
.
reg
)
e1
:
SetTarget
(
c77565204
.
target
)
c
:
RegisterEffect
(
e1
)
--Turn 1
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -43,18 +42,6 @@ function c77565204.initial_effect(c)
e5
:
SetOperation
(
c77565204
.
desop2
)
c
:
RegisterEffect
(
e5
)
end
function
c77565204
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c77565204
.
filter2
(
c
,
m
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
CheckFusionMaterial
(
m
)
and
not
c
:
IsForbidden
()
end
function
c77565204
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
mg
=
Duel
.
GetMatchingGroup
(
c77565204
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
)
return
Duel
.
IsExistingMatchingCard
(
c77565204
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
end
function
c77565204
.
reg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
...
...
@@ -82,6 +69,12 @@ end
function
c77565204
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetHandler
():
GetTurnCounter
()
==
1
end
function
c77565204
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c77565204
.
filter2
(
c
,
m
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
CheckFusionMaterial
(
m
)
end
function
c77565204
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
...
...
c87910978.lua
View file @
005ed049
...
...
@@ -12,8 +12,8 @@ function c87910978.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c87910978
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
800
)
else
Duel
.
PayLPCost
(
tp
,
800
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
800
)
end
Duel
.
PayLPCost
(
tp
,
800
)
end
function
c87910978
.
filter
(
c
)
return
c
:
IsControlerCanBeChanged
()
and
c
:
IsFaceup
()
and
c
:
IsSummonableCard
()
...
...
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