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
4
Merge Requests
4
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
692ce0ec
Commit
692ce0ec
authored
Oct 23, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix aux.bpcon() call
parent
321e5f57
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
15 deletions
+15
-15
c10805153.lua
c10805153.lua
+1
-1
c19254117.lua
c19254117.lua
+1
-1
c25908748.lua
c25908748.lua
+1
-1
c27660735.lua
c27660735.lua
+1
-1
c29307554.lua
c29307554.lua
+1
-1
c35756798.lua
c35756798.lua
+1
-1
c4906301.lua
c4906301.lua
+1
-1
c63144961.lua
c63144961.lua
+3
-3
c64025981.lua
c64025981.lua
+1
-1
c7714344.lua
c7714344.lua
+1
-1
c78625592.lua
c78625592.lua
+1
-1
c79552283.lua
c79552283.lua
+1
-1
c99792080.lua
c99792080.lua
+1
-1
No files found.
c10805153.lua
View file @
692ce0ec
...
...
@@ -27,7 +27,7 @@ function c10805153.filter(c)
end
function
c10805153
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
,
exc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
aux
.
bpcon
()
if
chk
==
0
then
return
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsExistingTarget
(
c10805153
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
exc
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c10805153
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
...
c19254117.lua
View file @
692ce0ec
...
...
@@ -69,7 +69,7 @@ function c19254117.ddop(e,tp,eg,ep,ev,re,r,rp)
e
:
Reset
()
end
function
c19254117
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c19254117
.
tgfilter
(
c
)
return
c
:
GetFlagEffect
(
19254117
)
==
0
...
...
c25908748.lua
View file @
692ce0ec
...
...
@@ -73,7 +73,7 @@ end
function
c25908748
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
aux
.
bpcon
()
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c25908748
.
limop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c27660735.lua
View file @
692ce0ec
...
...
@@ -13,7 +13,7 @@ function c27660735.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c27660735
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c27660735
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetAttacker
()
then
Duel
.
NegateAttack
()
...
...
c29307554.lua
View file @
692ce0ec
...
...
@@ -33,7 +33,7 @@ function c29307554.checkop(e,tp,eg,ep,ev,re,r,rp)
if
p2
then
Duel
.
RegisterFlagEffect
(
1
,
29307554
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c29307554
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
29307554
)
~=
0
and
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
()
return
Duel
.
GetFlagEffect
(
tp
,
29307554
)
~=
0
and
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c29307554
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
8
)
and
c
:
GetEffectCount
(
EFFECT_EXTRA_ATTACK
)
==
0
...
...
c35756798.lua
View file @
692ce0ec
...
...
@@ -39,7 +39,7 @@ function c35756798.checkop(e,tp,eg,ep,ev,re,r,rp)
end
function
c35756798
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
35756798
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
()
and
ct
>
0
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
ct
>
0
end
function
c35756798
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
not
c
:
IsHasEffect
(
EFFECT_EXTRA_ATTACK
)
...
...
c4906301.lua
View file @
692ce0ec
...
...
@@ -13,7 +13,7 @@ function c4906301.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c4906301
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c4906301
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetAttacker
()
then
Duel
.
NegateAttack
()
...
...
c63144961.lua
View file @
692ce0ec
...
...
@@ -24,14 +24,14 @@ function c63144961.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c63144961
.
filter
(
chkc
)
end
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c63144961
.
eqfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
local
b2
=
aux
.
bpcon
()
local
b2
=
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsExistingTarget
(
c63144961
.
dafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b3
=
aux
.
bpcon
()
local
b3
=
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
chk
==
0
then
return
(
b1
or
b2
or
b3
)
and
Duel
.
IsExistingTarget
(
c63144961
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c63144961
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
b2
=
aux
.
bpcon
()
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_DIRECT_ATTACK
)
b2
=
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_DIRECT_ATTACK
)
local
off
=
1
local
ops
=
{}
local
opval
=
{}
...
...
c64025981.lua
View file @
692ce0ec
...
...
@@ -52,7 +52,7 @@ function c64025981.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c64025981
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c64025981
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsHasEffect
(
EFFECT_EXTRA_ATTACK
)
...
...
c7714344.lua
View file @
692ce0ec
...
...
@@ -59,7 +59,7 @@ function c7714344.cfilter(c)
return
c
:
IsSetCard
(
0x9f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
7714344
)
end
function
c7714344
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c7714344
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
...
...
c78625592.lua
View file @
692ce0ec
...
...
@@ -38,7 +38,7 @@ function c78625592.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
NegateAttack
()
end
function
c78625592
.
grcondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c78625592
.
groperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c79552283.lua
View file @
692ce0ec
...
...
@@ -36,7 +36,7 @@ function c79552283.filter(c,e,tp)
end
function
c79552283
.
adatktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c79552283
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
()
if
chk
==
0
then
return
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsExistingTarget
(
c79552283
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c79552283
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
c99792080.lua
View file @
692ce0ec
...
...
@@ -27,7 +27,7 @@ function c99792080.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c99792080
.
dircon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsSetCard
(
0x131
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
aux
.
bpcon
()
return
re
:
GetHandler
():
IsSetCard
(
0x131
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
aux
.
bpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c99792080
.
dirop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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