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
b0c911af
Commit
b0c911af
authored
Jul 02, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
19d11b4f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
script/c22404675.lua
script/c22404675.lua
+4
-0
script/c23740893.lua
script/c23740893.lua
+4
-0
script/c53485634.lua
script/c53485634.lua
+4
-0
script/c9126351.lua
script/c9126351.lua
+4
-0
No files found.
script/c22404675.lua
View file @
b0c911af
...
...
@@ -16,6 +16,7 @@ function c22404675.initial_effect(c)
e2
:
SetCode
(
EVENT_RELEASE
)
e2
:
SetCountLimit
(
1
,
22404676
)
e2
:
SetCondition
(
c22404675
.
sumcon
)
e2
:
SetTarget
(
c22404676
.
sumtg
)
e2
:
SetOperation
(
c22404675
.
sumop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -57,6 +58,9 @@ end
function
c22404675
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_SUMMON
)
end
function
c22404676
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_SUMMON
)
end
end
function
c22404675
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
22404675
)
~=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c23740893.lua
View file @
b0c911af
...
...
@@ -16,6 +16,7 @@ function c23740893.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCost
(
c23740893
.
sumcost
)
e2
:
SetTarget
(
c23740893
.
sumtg
)
e2
:
SetOperation
(
c23740893
.
sumop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -43,6 +44,9 @@ function c23740893.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c23740893
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_SUMMON
)
end
end
function
c23740893
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
23740893
)
~=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c53485634.lua
View file @
b0c911af
...
...
@@ -19,6 +19,7 @@ function c53485634.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c53485634
.
sumcon
)
e2
:
SetCost
(
c53485634
.
sumcost
)
e2
:
SetTarget
(
c53485634
.
sumtg
)
e2
:
SetOperation
(
c53485634
.
sumop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -71,6 +72,9 @@ function c53485634.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c53485634
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_SUMMON
)
end
end
function
c53485634
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c9126351.lua
View file @
b0c911af
...
...
@@ -30,6 +30,7 @@ function c9126351.initial_effect(c)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCost
(
c9126351
.
excost
)
e2
:
SetTarget
(
c9126352
.
extg
)
e5
:
SetOperation
(
c9126351
.
exop
)
c
:
RegisterEffect
(
e5
)
end
...
...
@@ -68,6 +69,9 @@ function c9126351.excost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
Duel
.
RegisterFlagEffect
(
tp
,
9126352
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
c9126352
.
extg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_SUMMON
)
end
end
function
c9126351
.
exop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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