Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
11aec1e1
Commit
11aec1e1
authored
Jul 02, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c26504.lua 离场检测修复
parent
9f985647
Pipeline
#22541
passed with stage
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
17 deletions
+13
-17
script/c26504.lua
script/c26504.lua
+13
-17
No files found.
script/c26504.lua
View file @
11aec1e1
...
@@ -11,12 +11,16 @@ function c26504.initial_effect(c)
...
@@ -11,12 +11,16 @@ function c26504.initial_effect(c)
e1
:
SetCondition
(
c26504
.
condition
)
e1
:
SetCondition
(
c26504
.
condition
)
e1
:
SetOperation
(
c26504
.
operation
)
e1
:
SetOperation
(
c26504
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--search
--search
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetOperation
(
c26504
.
lvop
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
c
:
RegisterEffect
(
e3
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCondition
(
c26504
.
con
)
e4
:
SetTarget
(
c26504
.
tg
)
e4
:
SetOperation
(
c26504
.
op
)
c
:
RegisterEffect
(
e4
)
end
end
function
c26504
.
matfilter
(
c
)
function
c26504
.
matfilter
(
c
)
return
not
c
:
IsLinkType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x208
)
return
not
c
:
IsLinkType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x208
)
...
@@ -77,17 +81,9 @@ function c26504.gsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,17 +81,9 @@ function c26504.gsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
function
c26504
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26504
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetLocation
()
~=
LOCATION_EXTRA
then
return
end
return
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetTarget
(
c26504
.
tg
)
e4
:
SetOperation
(
c26504
.
op
)
c
:
RegisterEffect
(
e4
)
end
end
function
c26504
.
shfilter
(
c
)
function
c26504
.
shfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
and
c
:
GetLevel
()
%
2
==
0
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
and
c
:
GetLevel
()
%
2
==
0
...
...
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