Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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-2pick
Commits
a25e8cf5
Commit
a25e8cf5
authored
Jul 22, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field::special_summon_rule()
parent
53ae1ef1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ocgcore/operations.cpp
ocgcore/operations.cpp
+2
-2
script/constant.lua
script/constant.lua
+5
-5
No files found.
ocgcore/operations.cpp
View file @
a25e8cf5
...
...
@@ -2317,13 +2317,13 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
card_set
cset
;
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
if
(
!
(
*
cit
)
->
is_affected_by_effect
(
EFFECT_CANNOT_DISABLE_SPSUMMON
))
{
raise_single_event(*cit, 0, EVENT_SPSUMMON, (*cit)->current.reason_effect, 0, (*cit)->current.
reas
on_player, (*cit)->summon_player, 0);
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
current
.
summ
on_player
,
(
*
cit
)
->
summon_player
,
0
);
cset
.
insert
(
*
cit
);
}
(
*
cit
)
->
set_status
(
STATUS_SUMMONING
,
TRUE
);
}
if
(
cset
.
size
())
raise_event(&cset, EVENT_SPSUMMON, core.units.begin()->peffect, 0, sumplayer,
PLAYER_NONE
, 0);
raise_event
(
&
cset
,
EVENT_SPSUMMON
,
core
.
units
.
begin
()
->
peffect
,
0
,
sumplayer
,
summon_player
,
0
);
process_single_event
();
process_instant_event
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
0x101
,
TRUE
);
...
...
script/constant.lua
View file @
a25e8cf5
...
...
@@ -86,7 +86,7 @@ RACE_WYRM =0x800000 --幻龙
REASON_DESTROY
=
0x1
--破坏
REASON_RELEASE
=
0x2
--解放
REASON_TEMPORARY
=
0x4
--暂时
REASON_MATERIAL
=
0x8
--作为融合/同调/超量
等的素材
REASON_MATERIAL
=
0x8
--作为融合/同调/超量
素材或用於儀式/升級召喚
REASON_SUMMON
=
0x10
--召唤
REASON_BATTLE
=
0x20
--战斗破坏
REASON_EFFECT
=
0x40
--效果
...
...
@@ -101,10 +101,10 @@ REASON_DISCARD =0x4000 --丢弃
REASON_RDAMAGE
=
0x8000
--回復轉換後的傷害
REASON_RRECOVER
=
0x10000
--傷害轉換後的回復
REASON_RETURN
=
0x20000
--回收
REASON_FUSION
=
0x40000
--
融合
REASON_SYNCHRO
=
0x80000
--
同调
REASON_RITUAL
=
0x100000
--
仪式
REASON_XYZ
=
0x200000
--
超量
REASON_FUSION
=
0x40000
--
用於融合召喚
REASON_SYNCHRO
=
0x80000
--
用於同调召喚
REASON_RITUAL
=
0x100000
--
用於仪式召喚
REASON_XYZ
=
0x200000
--
用於超量召喚
REASON_REPLACE
=
0x1000000
--代替
REASON_DRAW
=
0x2000000
--抽卡
REASON_REDIRECT
=
0x4000000
--改变去向(大宇宙,带菌等)
...
...
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