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
507a77ae
Commit
507a77ae
authored
Dec 25, 2014
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fad22485
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
script/c51316684.lua
script/c51316684.lua
+1
-1
script/c73176465.lua
script/c73176465.lua
+10
-0
No files found.
script/c51316684.lua
View file @
507a77ae
...
@@ -95,7 +95,7 @@ function c51316684.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -95,7 +95,7 @@ function c51316684.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c51316684
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51316684
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroup
():
GetCount
()
>
0
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetHandler
():
GetBattledGroup
():
GetCount
()
>
0
end
end
function
c51316684
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c51316684
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
script/c73176465.lua
View file @
507a77ae
...
@@ -22,6 +22,16 @@ function c73176465.initial_effect(c)
...
@@ -22,6 +22,16 @@ function c73176465.initial_effect(c)
e2
:
SetTarget
(
c73176465
.
destg
)
e2
:
SetTarget
(
c73176465
.
destg
)
e2
:
SetOperation
(
c73176465
.
desop
)
e2
:
SetOperation
(
c73176465
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--cannot pendulum summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c73176465
.
splimit
)
c
:
RegisterEffect
(
e3
)
end
function
c73176465
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetCode
()
~=
EFFECT_SPSUMMON_PROC_G
end
end
function
c73176465
.
condtion
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73176465
.
condtion
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
...
...
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