Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
81b4f344
Commit
81b4f344
authored
Aug 10, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into mc_master
parents
798a5d8b
37bfbc07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
c19089195.lua
c19089195.lua
+3
-5
c25750986.lua
c25750986.lua
+4
-4
No files found.
c19089195.lua
View file @
81b4f344
...
@@ -106,11 +106,9 @@ function c19089195.remop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -106,11 +106,9 @@ function c19089195.remop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c19089195
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19089195
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
c19089195
.
econ
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
false
end
if
not
Duel
.
IsEnvironment
(
22702055
)
then
return
false
end
local
tc
=
Duel
.
GetAttacker
()
local
tc
,
bc
=
Duel
.
GetBattleMonster
(
tp
)
local
bc
=
Duel
.
GetAttackTarget
()
if
not
tc
or
not
bc
then
return
false
end
if
not
bc
then
return
false
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
,
bc
=
bc
,
tc
end
if
tc
:
IsFaceup
()
and
tc
:
GetOriginalLevel
()
>=
5
and
tc
:
IsAttribute
(
ATTRIBUTE_WATER
)
then
if
tc
:
IsFaceup
()
and
tc
:
GetOriginalLevel
()
>=
5
and
tc
:
IsAttribute
(
ATTRIBUTE_WATER
)
then
e
:
SetLabelObject
(
bc
)
e
:
SetLabelObject
(
bc
)
return
true
return
true
...
...
c25750986.lua
View file @
81b4f344
...
@@ -36,10 +36,10 @@ function c25750986.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,10 +36,10 @@ function c25750986.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c25750986
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
atk
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c25750986
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
atk
)
local
gc
=
g
:
GetFirst
()
local
gc
=
g
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
if
gc
then
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c25750986
.
tgfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
gc
,
atk
-
gc
:
GetAttack
(),
gc
:
GetAttribute
()
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
:
Merge
(
g1
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c25750986
.
tgfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
gc
,
atk
-
gc
:
GetAttack
(),
gc
:
GetAttribute
()
)
if
g
:
GetCount
()
>
1
then
g
:
Merge
(
g1
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
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