Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
40940782
Commit
40940782
authored
Jan 16, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dc277bc7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
script/c101004014.lua
script/c101004014.lua
+3
-3
script/c101004034.lua
script/c101004034.lua
+1
-1
script/c101004048.lua
script/c101004048.lua
+1
-1
No files found.
script/c101004014.lua
View file @
40940782
...
...
@@ -5,7 +5,7 @@ function c101004014.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetOperation
(
aux
.
chainreg
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -13,7 +13,7 @@ function c101004014.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
101004014
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e2
:
SetCountLimit
(
1
,
101004014
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -38,7 +38,7 @@ function c101004014.counterfilter(c)
return
c
:
IsSetCard
(
0x103
)
end
function
c101004014
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
and
re
:
Is
Has
Type
(
TYPE_TRAP
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
rp
==
tp
and
re
:
Is
Active
Type
(
TYPE_TRAP
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
end
function
c101004014
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c101004034.lua
View file @
40940782
...
...
@@ -69,7 +69,7 @@ function c101004034.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101004034
.
plfilter
(
c
)
return
c
:
IsFacedown
()
and
not
c
:
IsStatus
(
STATUS_SUMMONING
)
and
not
c
:
IsStatus
(
STATUS_SUMMON_DISABLED
)
return
not
c
:
IsStatus
(
STATUS_SUMMONING
)
and
not
c
:
IsStatus
(
STATUS_SUMMON_DISABLED
)
end
function
c101004034
.
gfilter
(
c
,
g
)
return
not
g
:
IsContains
(
c
)
...
...
script/c101004048.lua
View file @
40940782
...
...
@@ -73,5 +73,5 @@ function c101004048.setop(e,tp,eg,ep,ev,re,r,rp)
end
function
c101004048
.
aclimit
(
e
,
re
,
tp
)
local
tc
=
re
:
GetHandler
()
return
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
tc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
tc
:
GetMutualLinkedGroupCount
()
==
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
tc
:
IsImmuneToEffect
(
e
)
return
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
tc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
not
tc
:
IsLinkState
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
tc
:
IsImmuneToEffect
(
e
)
end
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