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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
b9c9728e
Commit
b9c9728e
authored
May 01, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
2a153565
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c81040026.lua
expansions/script/c81040026.lua
+4
-4
No files found.
expansions/script/c81040026.lua
View file @
b9c9728e
...
...
@@ -15,14 +15,14 @@ function c81040026.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
81040
9
26
)
e2
:
SetCountLimit
(
1
,
81040
0
26
)
e2
:
SetCondition
(
c81040026
.
con
)
e2
:
SetTarget
(
c81040026
.
target
)
e2
:
SetOperation
(
c81040026
.
operation
)
c
:
RegisterEffect
(
e2
)
end
function
c81040026
.
atkfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
()
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceupEx
(
)
end
function
c81040026
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
c81040026
.
atkfilter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
nil
)
*
200
...
...
@@ -48,7 +48,7 @@ function c81040026.operation(e,tp,eg,ep,ev,re,r,rp)
local
b1
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
b2
=
Duel
.
GetMatchingGroup
(
c81040026
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
b3
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
nil
)
if
tc
:
IsRace
(
RACE_
WARRIOR
)
and
#
b1
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
81040026
,
1
))
then
if
tc
:
IsRace
(
RACE_
AQUA
)
and
#
b1
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
81040026
,
1
))
then
local
t1
=
b1
:
GetFirst
()
while
t1
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -60,7 +60,7 @@ function c81040026.operation(e,tp,eg,ep,ev,re,r,rp)
t1
=
b1
:
GetNext
()
end
end
if
tc
:
IsAttribute
(
ATTRIBUTE_W
ATER
)
and
#
b2
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
81040026
,
2
))
then
if
tc
:
IsAttribute
(
ATTRIBUTE_W
IND
)
and
#
b2
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
81040026
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
t2
=
b2
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
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