Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
d42d04f0
Commit
d42d04f0
authored
Dec 23, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d6777043
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
script/c46759931.lua
script/c46759931.lua
+2
-2
script/constant.lua
script/constant.lua
+3
-3
No files found.
script/c46759931.lua
View file @
d42d04f0
...
...
@@ -24,7 +24,7 @@ function c46759931.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c46759931
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
e
:
GetHandler
():
GetSummonType
(
)
==
SUMMON_TYPE_FUSION
end
function
c46759931
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -36,5 +36,5 @@ function c46759931.regop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
function
c46759931
.
atkcon
(
e
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
e
:
GetHandler
():
GetSummonType
(
)
==
SUMMON_TYPE_FUSION
end
script/constant.lua
View file @
d42d04f0
...
...
@@ -109,11 +109,11 @@ REASON_DRAW =0x2000000 --抽卡
REASON_REDIRECT
=
0x4000000
--改变去向(大宇宙,带菌等)
REASON_REVEAL
=
0x8000000
--翻开卡组(森罗)
--Summon Type --召唤类型
SUMMON_TYPE_NORMAL
=
0x10000000
--通常召唤
SUMMON_TYPE_ADVANCE
=
0x11000000
--上级
(祭品)
召唤
SUMMON_TYPE_NORMAL
=
0x10000000
--通常召唤
(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用Value修改數值)
SUMMON_TYPE_ADVANCE
=
0x11000000
--上级召唤
SUMMON_TYPE_DUAL
=
0x12000000
--再度召唤(二重)
SUMMON_TYPE_FLIP
=
0x20000000
--翻转召唤
SUMMON_TYPE_SPECIAL
=
0x40000000
--特殊召唤
SUMMON_TYPE_SPECIAL
=
0x40000000
--特殊召唤
(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用Value修改數值)
SUMMON_TYPE_FUSION
=
0x43000000
--融合召唤
SUMMON_TYPE_RITUAL
=
0x45000000
--仪式召唤
SUMMON_TYPE_SYNCHRO
=
0x46000000
--同调召唤
...
...
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