Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
0
Merge Requests
0
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
八宫一月
ygopro-scripts
Commits
01e950db
Commit
01e950db
authored
Nov 15, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c43799b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
c60399954.lua
c60399954.lua
+1
-1
c88086137.lua
c88086137.lua
+3
-2
No files found.
c60399954.lua
View file @
01e950db
...
...
@@ -52,7 +52,7 @@ end
function
c60399954
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
atk
=
0
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
Is
Faceup
,
tp
,
LOCATION_MZONE
,
0
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
Is
Position
,
tp
,
LOCATION_MZONE
,
0
,
c
,
POS_FACEUP_ATTACK
)
local
tc
=
g
:
GetFirst
()
while
tc
do
atk
=
atk
+
tc
:
GetAttack
()
...
...
c88086137.lua
View file @
01e950db
...
...
@@ -13,9 +13,10 @@ end
function
c88086137
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
loc
,
seq
,
p
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
,
CHAININFO_TRIGGERING_CONTROLER
)
if
not
bit
.
band
(
loc
,
LOCATION_ONFIELD
)
then
return
false
end
if
p
==
1
-
tp
then
seq
=
seq
+
16
end
return
(
bit
.
band
(
loc
,
LOCATION_MZONE
)
~=
0
and
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_MZONE
),
seq
)
~=
0
or
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
and
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_SZONE
),
seq
)
~=
0
)
if
loc
==
LOCATION_SZONE
then
seq
=
seq
+
8
end
return
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_ONFIELD
),
seq
)
~=
0
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c88086137
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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