Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
REIKAI
ygopro-222DIY-cards
Commits
decaaf46
Commit
decaaf46
authored
Dec 14, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c11451827.lua
parent
80a1f6e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
expansions/script/c11451827.lua
expansions/script/c11451827.lua
+3
-1
No files found.
expansions/script/c11451827.lua
View file @
decaaf46
...
...
@@ -57,7 +57,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
etg
(
e
,
c
)
return
c
:
Get
OriginalCode
()
==
m
and
c
:
IsFaceup
(
)
return
c
:
Get
FlagEffect
(
m
-
4
)
>
0
--c:GetOriginalCode()==m and c:IsFaceup() and c:IsStatus(STATUS_CHAINING
)
end
function
cm
.
efilter
(
e
,
te
,
c
)
return
not
te
:
IsActiveType
(
c
:
GetType
()
&
0x7
)
...
...
@@ -79,6 +79,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
tfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
#
rg
>
0
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
#
rg
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
m
-
4
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
,
EFFECT_FLAG_OATH
,
1
)
--[[local ft=0
if not c:IsLocation(LOCATION_SZONE) then ft=1 end
local rg=Duel.GetMatchingGroup(Card.IsAbleToHand,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,c)
...
...
@@ -181,6 +182,7 @@ function cm.filter2(c)
end
function
cm
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
end
e
:
GetHandler
():
RegisterFlagEffect
(
m
-
4
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
,
EFFECT_FLAG_OATH
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
...
...
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