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
fef642dd
Commit
fef642dd
authored
Jul 22, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
400cb1c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ocgcore/operations.cpp
ocgcore/operations.cpp
+2
-2
script/constant.lua
script/constant.lua
+2
-2
No files found.
ocgcore/operations.cpp
View file @
fef642dd
...
@@ -2317,13 +2317,13 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
...
@@ -2317,13 +2317,13 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
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
)
{
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.
summon_player, (*cit)->summon_player, 0);
raise_single_event
(
*
cit
,
0
,
EVENT_SPSUMMON
,
(
*
cit
)
->
current
.
reason_effect
,
0
,
(
*
cit
)
->
summon_player
,
(
*
cit
)
->
summon_player
,
0
);
cset
.
insert
(
*
cit
);
cset
.
insert
(
*
cit
);
}
}
(
*
cit
)
->
set_status
(
STATUS_SUMMONING
,
TRUE
);
(
*
cit
)
->
set_status
(
STATUS_SUMMONING
,
TRUE
);
}
}
if
(
cset
.
size
())
if
(
cset
.
size
())
raise_event(&cset, EVENT_SPSUMMON, core.units.begin()->peffect, 0, sumplayer, sum
mon_
player, 0);
raise_event
(
&
cset
,
EVENT_SPSUMMON
,
core
.
units
.
begin
()
->
peffect
,
0
,
sumplayer
,
sumplayer
,
0
);
process_single_event
();
process_single_event
();
process_instant_event
();
process_instant_event
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
0x101
,
TRUE
);
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
0x101
,
TRUE
);
...
...
script/constant.lua
View file @
fef642dd
...
@@ -252,7 +252,7 @@ EFFECT_FLAG_BOTH_SIDE =0x1000 --双方都能使用(部分场地,弹压)
...
@@ -252,7 +252,7 @@ EFFECT_FLAG_BOTH_SIDE =0x1000 --双方都能使用(部分场地,弹压)
EFFECT_FLAG_COPY_INHERIT
=
0x2000
--继承复制的效果的Reset属性
EFFECT_FLAG_COPY_INHERIT
=
0x2000
--继承复制的效果的Reset属性
EFFECT_FLAG_DAMAGE_STEP
=
0x4000
--可以在伤害步骤发动
EFFECT_FLAG_DAMAGE_STEP
=
0x4000
--可以在伤害步骤发动
EFFECT_FLAG_DAMAGE_CAL
=
0x8000
--可以在伤害计算时发动
EFFECT_FLAG_DAMAGE_CAL
=
0x8000
--可以在伤害计算时发动
EFFECT_FLAG_DELAY
=
0x10000
--
场合(不会被卡时点
EFFECT_FLAG_DELAY
=
0x10000
--
場合型誘發效果、用於永續效果的EFFECT_TYPE_CONTINUOUS
EFFECT_FLAG_SINGLE_RANGE
=
0x20000
--只对自己有效
EFFECT_FLAG_SINGLE_RANGE
=
0x20000
--只对自己有效
EFFECT_FLAG_UNCOPYABLE
=
0x40000
--不能复制(效果外文本)
EFFECT_FLAG_UNCOPYABLE
=
0x40000
--不能复制(效果外文本)
EFFECT_FLAG_OATH
=
0x80000
--誓约效果
EFFECT_FLAG_OATH
=
0x80000
--誓约效果
...
@@ -260,7 +260,7 @@ EFFECT_FLAG_SPSUM_PARAM =0x100000 --指定召喚/规则特殊召唤的位置和
...
@@ -260,7 +260,7 @@ EFFECT_FLAG_SPSUM_PARAM =0x100000 --指定召喚/规则特殊召唤的位置和
EFFECT_FLAG_REPEAT
=
0x200000
--发动被无效后可以再次发动
EFFECT_FLAG_REPEAT
=
0x200000
--发动被无效后可以再次发动
EFFECT_FLAG_NO_TURN_RESET
=
0x400000
--发条等“这张卡在场上只能发动一次”的效果
EFFECT_FLAG_NO_TURN_RESET
=
0x400000
--发条等“这张卡在场上只能发动一次”的效果
EFFECT_FLAG_EVENT_PLAYER
=
0x800000
--视为对方玩家的效果(动作?)
EFFECT_FLAG_EVENT_PLAYER
=
0x800000
--视为对方玩家的效果(动作?)
EFFECT_FLAG_OWNER_RELATE
=
0x1000000
--
和效果持有者相关
EFFECT_FLAG_OWNER_RELATE
=
0x1000000
--
持續成為對象
EFFECT_FLAG_AVAILABLE_BD
=
0x2000000
--战斗破坏确定时效果也适用(纳祭之魔 地狱战士)
EFFECT_FLAG_AVAILABLE_BD
=
0x2000000
--战斗破坏确定时效果也适用(纳祭之魔 地狱战士)
EFFECT_FLAG_CLIENT_HINT
=
0x4000000
--客户端提示
EFFECT_FLAG_CLIENT_HINT
=
0x4000000
--客户端提示
EFFECT_FLAG_CHAIN_UNIQUE
=
0x8000000
--同一组连锁只能发动一次
EFFECT_FLAG_CHAIN_UNIQUE
=
0x8000000
--同一组连锁只能发动一次
...
...
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