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
648f33b2
Commit
648f33b2
authored
Sep 13, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comment
parent
3b8c69d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
constant.lua
constant.lua
+1
-1
utility.lua
utility.lua
+1
-0
No files found.
constant.lua
View file @
648f33b2
...
...
@@ -472,7 +472,7 @@ EFFECT_ONLY_BE_ATTACKED =196 --只能攻击此卡
EFFECT_ATTACK_DISABLED
=
197
--攻击已被無效(Duel.NegateAttack()成功的標記)
EFFECT_NO_BATTLE_DAMAGE
=
200
--不会给对方造成战斗伤害
EFFECT_AVOID_BATTLE_DAMAGE
=
201
--不会对自己造成战斗伤害
EFFECT_REFLECT_BATTLE_DAMAGE
=
202
--
反弹战斗伤害
EFFECT_REFLECT_BATTLE_DAMAGE
=
202
--
战斗伤害由对方代为承受
EFFECT_PIERCE
=
203
--贯穿伤害
EFFECT_BATTLE_DESTROY_REDIRECT
=
204
--战斗破坏时重新指定去向
EFFECT_BATTLE_DAMAGE_TO_EFFECT
=
205
--战斗伤害视为效果伤害
...
...
utility.lua
View file @
648f33b2
...
...
@@ -2174,6 +2174,7 @@ function Auxiliary.SZoneSequence(seq)
if
seq
>
4
then
return
nil
end
return
seq
end
--generate the value function of EFFECT_CHANGE_BATTLE_DAMAGE on monsters
function
Auxiliary
.
ChangeBattleDamage
(
player
,
value
)
return
function
(
e
,
damp
)
if
player
==
0
then
...
...
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