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
75ea0f10
Commit
75ea0f10
authored
Sep 07, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
01072399
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
13 deletions
+17
-13
script/c25341652.lua
script/c25341652.lua
+1
-1
script/c33695750.lua
script/c33695750.lua
+14
-11
script/c95231062.lua
script/c95231062.lua
+1
-1
script/c98585345.lua
script/c98585345.lua
+1
-0
No files found.
script/c25341652.lua
View file @
75ea0f10
...
...
@@ -46,7 +46,7 @@ function c25341652.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c25341652
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x6d
)
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
return
c
:
Is
OnField
()
and
c
:
Is
Faceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x6d
)
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
end
function
c25341652
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c25341652
.
repfilter
,
1
,
nil
,
tp
)
end
...
...
script/c33695750.lua
View file @
75ea0f10
...
...
@@ -9,22 +9,25 @@ function c33695750.initial_effect(c)
e1
:
SetTarget
(
c33695750
.
addct
)
e1
:
SetOperation
(
c33695750
.
addc
)
c
:
RegisterEffect
(
e1
)
--attackup
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetValue
(
c33695750
.
attackup
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
--
destroy replace
--
attackup
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_
CONTINUOUS
+
EFFECT_TYPE_
SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTarget
(
c33695750
.
reptg
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetValue
(
c33695750
.
attackup
)
c
:
RegisterEffect
(
e3
)
--destroy replace
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTarget
(
c33695750
.
reptg
)
c
:
RegisterEffect
(
e4
)
end
function
c33695750
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
script/c95231062.lua
View file @
75ea0f10
...
...
@@ -17,7 +17,7 @@ function c95231062.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
end
function
c95231062
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c95231062
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c95231062
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
function
c95231062
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
script/c98585345.lua
View file @
75ea0f10
...
...
@@ -14,6 +14,7 @@ function c98585345.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
TIMING_BATTLE_PHASE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c98585345
.
descon
)
e2
:
SetCost
(
c98585345
.
descost
)
...
...
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