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
faa75765
Commit
faa75765
authored
May 17, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c22271102.lua 地图配套+category修正
parent
1a104da3
Pipeline
#21704
passed with stage
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
script/c22271102.lua
script/c22271102.lua
+3
-1
No files found.
script/c22271102.lua
View file @
faa75765
...
@@ -5,7 +5,7 @@ function c22271102.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c22271102.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
22271102
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
22271102
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCategory
(
CATEGORY_RECOVER
)
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_DRAW
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
--e1:SetCountLimit(1,22271102+EFFECT_COUNT_CODE_OATH)
--e1:SetCountLimit(1,22271102+EFFECT_COUNT_CODE_OATH)
e1
:
SetCondition
(
c22271102
.
condition
)
e1
:
SetCondition
(
c22271102
.
condition
)
...
@@ -42,6 +42,8 @@ function c22271102.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,6 +42,8 @@ function c22271102.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c22271102
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22271102
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
Group
.
CreateGroup
()
local
dg
=
Group
.
CreateGroup
()
local
ev
=
Duel
.
GetCurrentChain
()
-
1
if
ev
<
1
then
return
end
for
i
=
1
,
ev
do
for
i
=
1
,
ev
do
local
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
)
local
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
)
if
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
GetHandler
():
IsCode
(
22271101
)
then
if
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
GetHandler
():
IsCode
(
22271101
)
then
...
...
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