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
9d647674
Commit
9d647674
authored
May 31, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field::special_summon_rule()
parent
5f68c7aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ocgcore/operations.cpp
ocgcore/operations.cpp
+1
-1
script/constant.lua
script/constant.lua
+1
-1
No files found.
ocgcore/operations.cpp
View file @
9d647674
...
@@ -2308,11 +2308,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
...
@@ -2308,11 +2308,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
core
.
spsummon_once_map
[
sumplayer
][
*
cit
]
++
;
core
.
spsummon_once_map
[
sumplayer
][
*
cit
]
++
;
card_set
cset
;
card_set
cset
;
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
(
*
cit
)
->
set_status
(
STATUS_SUMMONING
,
TRUE
);
if
(
!
(
*
cit
)
->
is_affected_by_effect
(
EFFECT_CANNOT_DISABLE_SPSUMMON
))
{
if
(
!
(
*
cit
)
->
is_affected_by_effect
(
EFFECT_CANNOT_DISABLE_SPSUMMON
))
{
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
current
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
current
.
reason_player
,
(
*
cit
)
->
summon_player
,
0
);
cset
.
insert
(
*
cit
);
cset
.
insert
(
*
cit
);
}
}
(
*
cit
)
->
set_status
(
STATUS_SUMMONING
,
TRUE
);
}
}
if
(
cset
.
size
())
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
,
PLAYER_NONE
,
0
);
...
...
script/constant.lua
View file @
9d647674
...
@@ -465,7 +465,7 @@ EFFECT_MATCH_KILL =300 --Match胜利(胜利龙)
...
@@ -465,7 +465,7 @@ EFFECT_MATCH_KILL =300 --Match胜利(胜利龙)
EFFECT_SYNCHRO_CHECK
=
310
--基因组斗士
EFFECT_SYNCHRO_CHECK
=
310
--基因组斗士
EFFECT_QP_ACT_IN_NTPHAND
=
311
--对方回合从自己手卡发动(失乐的圣女)
EFFECT_QP_ACT_IN_NTPHAND
=
311
--对方回合从自己手卡发动(失乐的圣女)
EFFECT_MUST_BE_SMATERIAL
=
312
--必须作为同调素材(波动龙 声子龙)
EFFECT_MUST_BE_SMATERIAL
=
312
--必须作为同调素材(波动龙 声子龙)
EFFECT_TO_GRAVE_REDIRECT_CB
=
313
--
EFFECT_TO_GRAVE_REDIRECT_CB
=
313
--
重新指定去向(寶玉獸)
EFFECT_CHANGE_LEVEL_FINAL
=
314
--設定最終等級(銀河女王之光)
EFFECT_CHANGE_LEVEL_FINAL
=
314
--設定最終等級(銀河女王之光)
EFFECT_CHANGE_RANK_FINAL
=
315
--設定最終階級
EFFECT_CHANGE_RANK_FINAL
=
315
--設定最終階級
EFFECT_SPSUMMON_PROC_G
=
320
--P召唤规则
EFFECT_SPSUMMON_PROC_G
=
320
--P召唤规则
...
...
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