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
4
Merge Requests
4
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
9239a4f4
Commit
9239a4f4
authored
Nov 27, 2023
by
a597449807
Committed by
GitHub
Nov 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Emダメージ・ジャグラー (#2208)
修复娱乐法师伤害杂耍人防止战斗伤害的效果发动后如果己方先对对方造成战斗伤害,则该效果会失效的问题
parent
9f16fb5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
c68819554.lua
c68819554.lua
+11
-2
No files found.
c68819554.lua
View file @
9239a4f4
...
@@ -60,12 +60,21 @@ end
...
@@ -60,12 +60,21 @@ end
function
c68819554
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68819554
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_
AVOID_BATTL
E_DAMAGE
)
e1
:
SetCode
(
EFFECT_
CHANG
E_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE_CAL
+
PHASE_END
)
e1
:
SetValue
(
c68819554
.
damval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c68819554
.
damval
(
e
,
re
,
val
,
r
,
rp
,
rc
)
local
c
=
e
:
GetHandler
()
if
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
c
:
GetFlagEffect
(
68819554
)
==
0
then
c
:
RegisterFlagEffect
(
68819554
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
return
0
end
return
val
end
function
c68819554
.
thfilter
(
c
)
function
c68819554
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xc6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
68819554
)
return
c
:
IsSetCard
(
0xc6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
68819554
)
end
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