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
13596551
Commit
13596551
authored
Nov 23, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 水属性以外
parent
e7f5ef07
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
c50074392.lua
c50074392.lua
+1
-1
c54059040.lua
c54059040.lua
+1
-1
c58203736.lua
c58203736.lua
+1
-1
c73659078.lua
c73659078.lua
+1
-1
c82321037.lua
c82321037.lua
+1
-1
No files found.
c50074392.lua
View file @
13596551
...
...
@@ -63,5 +63,5 @@ function c50074392.lvop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
c50074392
.
actfilter
(
e
,
c
)
return
c
:
GetControler
()
==
e
:
GetHandlerPlayer
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
c
:
GetControler
()
==
e
:
GetHandlerPlayer
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_WATER
)
end
c54059040.lua
View file @
13596551
...
...
@@ -24,7 +24,7 @@ function c54059040.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
end
function
c54059040
.
pfilter
(
c
,
e
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_WATER
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
end
function
c54059040
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c54059040
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c58203736.lua
View file @
13596551
...
...
@@ -35,7 +35,7 @@ function c58203736.eftg(e,c)
end
function
c58203736
.
efilter
(
e
,
re
,
rp
)
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsControler
(
1
-
e
:
GetHandlerPlayer
())
and
not
rc
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsControler
(
1
-
e
:
GetHandlerPlayer
())
and
rc
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_WATER
)
end
function
c58203736
.
spfilter
(
c
,
e
,
tp
)
return
(
aux
.
IsCodeListed
(
c
,
22702055
)
or
(
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)))
...
...
c73659078.lua
View file @
13596551
...
...
@@ -49,7 +49,7 @@ function c73659078.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c73659078
.
atktg
(
e
,
c
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_WATER
)
end
function
c73659078
.
atkval
(
e
,
c
)
return
Duel
.
GetCounter
(
0
,
1
,
1
,
0x1015
)
*-
200
...
...
c82321037.lua
View file @
13596551
...
...
@@ -87,7 +87,7 @@ function c82321037.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c82321037
.
thfilter
(
c
,
e
,
tp
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c82321037
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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