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
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
Vee4
ygopro-scripts-888
Commits
6a2ea5d1
Commit
6a2ea5d1
authored
May 19, 2022
by
Chrono-Genex
Committed by
GitHub
May 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Jigen Bakudan (#1887)
parent
6d13e0d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
c90020065.lua
c90020065.lua
+8
-3
No files found.
c90020065.lua
View file @
6a2ea5d1
...
...
@@ -36,10 +36,15 @@ function c90020065.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
function
c90020065
.
damfilter
(
c
)
if
c
:
IsPreviousPosition
(
POS_FACEUP
)
then
return
c
:
GetPreviousAttackOnField
()
else
return
0
end
end
function
c90020065
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
dam
=
math.floor
(
g2
:
GetSum
(
Card
.
GetAttack
)
/
2
)
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
0
then
return
end
local
og
=
Duel
.
GetOperatedGroup
(
)
local
dam
=
math.floor
(
og
:
GetSum
(
c90020065
.
damfilter
)
/
2
)
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
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