Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
List
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
苍蓝
rd-ygopro
Commits
2396aef3
Commit
2396aef3
authored
Jul 24, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sp_summoned by effect
parent
0dbd81cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
script/c19261966.lua
script/c19261966.lua
+2
-2
script/c58996430.lua
script/c58996430.lua
+2
-2
script/c73176465.lua
script/c73176465.lua
+2
-2
No files found.
script/c19261966.lua
View file @
2396aef3
...
...
@@ -150,8 +150,8 @@ function c19261966.splimit(e,se,sp,st)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c19261966
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
se
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_HAND
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
return
se
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_HAND
)
end
function
c19261966
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsReason
(
REASON_RETURN
)
...
...
script/c58996430.lua
View file @
2396aef3
...
...
@@ -11,7 +11,7 @@ function c58996430.initial_effect(c)
e1
:
SetTarget
(
c58996430
.
target
)
e1
:
SetOperation
(
c58996430
.
operation
)
c
:
RegisterEffect
(
e1
)
--
cannot pendulum summon
--
splimit
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
@@ -20,7 +20,7 @@ function c58996430.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c58996430
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
c58996430
.
condtion
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetPreviousLocation
()
==
LOCATION_DECK
...
...
script/c73176465.lua
View file @
2396aef3
...
...
@@ -22,7 +22,7 @@ function c73176465.initial_effect(c)
e2
:
SetTarget
(
c73176465
.
destg
)
e2
:
SetOperation
(
c73176465
.
desop
)
c
:
RegisterEffect
(
e2
)
--
cannot pendulum summon
--
splimit
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
@@ -31,7 +31,7 @@ function c73176465.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c73176465
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
c73176465
.
condtion
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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