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
432a572d
Commit
432a572d
authored
May 17, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix IsCode()
GetCode()== -> IsCode() GetCode()~= -> not IsCode()
parent
dd627aaf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
c59297550.lua
c59297550.lua
+1
-1
c61466310.lua
c61466310.lua
+2
-2
c66727115.lua
c66727115.lua
+1
-1
c68661341.lua
c68661341.lua
+1
-1
c80802524.lua
c80802524.lua
+1
-1
c85562745.lua
c85562745.lua
+1
-1
No files found.
c59297550.lua
View file @
432a572d
...
...
@@ -16,7 +16,7 @@ function c59297550.initial_effect(c)
end
function
c59297550
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSetCard
(
0x58
)
and
re
:
GetHandler
():
GetCode
()
~=
59297550
and
re
:
GetHandler
():
IsSetCard
(
0x58
)
and
re
:
GetHandler
():
IsCode
(
59297550
)
end
function
c59297550
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c61466310.lua
View file @
432a572d
...
...
@@ -34,10 +34,10 @@ function c61466310.thcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
==
tp
and
eg
:
GetFirst
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
c61466310
.
filter
(
c
,
code
)
return
c
:
IsAttack
(
2400
,
2800
)
and
c
:
IsDefense
(
1000
)
and
c
:
GetCode
()
~=
code
and
c
:
IsAbleToHand
()
return
c
:
IsAttack
(
2400
,
2800
)
and
c
:
IsDefense
(
1000
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
function
c61466310
.
filter2
(
c
,
atk
,
code
)
return
c
:
IsAttack
(
atk
)
and
c
:
IsDefense
(
1000
)
and
c
:
GetCode
()
~=
code
and
c
:
IsAbleToHand
()
return
c
:
IsAttack
(
atk
)
and
c
:
IsDefense
(
1000
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
function
c61466310
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c61466310
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
eg
:
GetFirst
():
GetCode
())
end
...
...
c66727115.lua
View file @
432a572d
...
...
@@ -16,7 +16,7 @@ function c66727115.rfilter(c,e,tp)
and
Duel
.
IsExistingTarget
(
c66727115
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetCode
(),
e
,
tp
)
end
function
c66727115
.
spfilter
(
c
,
code
,
e
,
tp
)
return
c
:
IsSetCard
(
0x88
)
and
c
:
GetCode
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x88
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c66727115
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
...
...
c68661341.lua
View file @
432a572d
...
...
@@ -47,5 +47,5 @@ function c68661341.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c68661341
.
sumlimit
(
e
,
c
)
return
c
:
GetCode
()
~=
e
:
GetLabel
(
)
return
not
c
:
IsCode
(
e
:
GetLabel
()
)
end
c80802524.lua
View file @
432a572d
...
...
@@ -20,7 +20,7 @@ function c80802524.condition(e,tp,eg,ep,ev,re,r,rp)
else
return
false
end
end
function
c80802524
.
filter
(
c
,
e
,
tp
,
code
)
return
c
:
IsSetCard
(
0x8d
)
and
c
:
GetCode
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
return
c
:
IsSetCard
(
0x8d
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
end
function
c80802524
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c80802524
.
filter
(
chkc
,
e
,
tp
,
e
:
GetLabel
())
end
...
...
c85562745.lua
View file @
432a572d
...
...
@@ -19,7 +19,7 @@ function c85562745.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c85562745
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
bit
.
band
(
r
,
REASON_BATTLE
)
==
0
and
re
and
re
:
GetHandler
():
GetCode
()
~=
85562745
return
ep
~=
tp
and
bit
.
band
(
r
,
REASON_BATTLE
)
==
0
and
re
and
re
:
GetHandler
():
IsCode
(
85562745
)
end
function
c85562745
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
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