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
c3de822e
Commit
c3de822e
authored
Jun 02, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into master
parents
1c6ce6ed
de64c902
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
c15862758.lua
c15862758.lua
+2
-2
c28677304.lua
c28677304.lua
+1
-1
c33099732.lua
c33099732.lua
+2
-1
c76403456.lua
c76403456.lua
+1
-1
No files found.
c15862758.lua
View file @
c3de822e
...
...
@@ -52,7 +52,7 @@ function c15862758.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c15862758
.
effcon
)
e2
:
SetLabel
(
turn
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_
WITHOUT_TEMP_REMOVE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_
STANDARD
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_MUST_ATTACK_MONSTER
)
...
...
@@ -66,7 +66,7 @@ function c15862758.operation(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetCondition
(
c15862758
.
wincon
)
e4
:
SetOperation
(
c15862758
.
winop
)
e4
:
SetLabel
(
turn
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_
WITHOUT_TEMP_REMOVE
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_
STANDARD
)
c
:
RegisterEffect
(
e4
)
end
function
c15862758
.
atkcon
(
e
)
...
...
c28677304.lua
View file @
c3de822e
...
...
@@ -49,7 +49,7 @@ end
function
c28677304
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
c
:
SetCardTarget
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c33099732.lua
View file @
c3de822e
...
...
@@ -40,6 +40,7 @@ end
function
s
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
not
tc
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
):
GetFirst
()
...
...
@@ -55,7 +56,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
Set
Target
(
s
.
alimit
)
e2
:
Set
Value
(
s
.
alimit
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
...
...
c76403456.lua
View file @
c3de822e
...
...
@@ -15,7 +15,7 @@ function c76403456.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c76403456
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
val
=
math.ceil
(
Duel
.
GetBattleDamage
(
tp
)
/
500
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
val
)
if
chk
==
0
then
return
val
>
0
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
val
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_AVOID_BATTLE_DAMAGE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
0
)
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