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
d44ed2e5
Commit
d44ed2e5
authored
Apr 18, 2024
by
八宫一月
Committed by
GitHub
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix--ユベル-Das Ewig Liebe Wächter (#2471)
parent
fff10a08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
c47172959.lua
c47172959.lua
+8
-5
No files found.
c47172959.lua
View file @
d44ed2e5
...
@@ -65,15 +65,18 @@ function s.damrtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -65,15 +65,18 @@ function s.damrtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
local
bc
=
c
:
GetBattleTarget
()
if
chk
==
0
then
return
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
~=
nil
end
if
chk
==
0
then
return
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
~=
nil
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
bc
:
GetAttack
())
if
bc
:
GetAttack
()
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
bc
:
GetDefense
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
bc
:
GetAttack
())
end
end
end
function
s
.
damrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
atk
=
bc
:
GetAttack
()
local
atk
=
bc
:
GetAttack
()
local
def
=
bc
:
GetDefense
()
local
def
=
bc
:
GetDefense
()
if
atk
<
0
then
atk
=
0
end
if
atk
<
0
then
atk
=
0
end
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
,
true
)
if
bc
:
IsControler
(
tp
)
or
bc
:
IsFacedown
()
then
return
end
Duel
.
Remove
(
bc
,
0
,
REASON_EFFECT
)
if
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
,
true
)
~=
0
then
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
end
Duel
.
RDComplete
()
Duel
.
RDComplete
()
end
end
\ No newline at end of file
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