Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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-core
Commits
ca48cba3
Commit
ca48cba3
authored
Dec 22, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add EFFECT_SEA_PULSE
parent
341074fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
effect.h
effect.h
+1
-0
field.cpp
field.cpp
+1
-1
interpreter.cpp
interpreter.cpp
+3
-0
No files found.
effect.h
View file @
ca48cba3
...
@@ -124,6 +124,7 @@ public:
...
@@ -124,6 +124,7 @@ public:
#define EFFECT_CHANGE_SUMMON_TYPE_KOISHI 37564160
#define EFFECT_CHANGE_SUMMON_TYPE_KOISHI 37564160
#define EFFECT_CHANGE_SUMMON_LOCATION_KOISHI 37564161
#define EFFECT_CHANGE_SUMMON_LOCATION_KOISHI 37564161
#define EFFECT_LINK_SPELL_KOISHI 37564162
#define EFFECT_LINK_SPELL_KOISHI 37564162
#define EFFECT_SEA_PULSE 37564163
//status
//status
#define EFFECT_STATUS_AVAILABLE 0x0001
#define EFFECT_STATUS_AVAILABLE 0x0001
...
...
field.cpp
View file @
ca48cba3
...
@@ -1773,7 +1773,7 @@ void field::get_ritual_material(uint8 playerid, effect* peffect, card_set* mater
...
@@ -1773,7 +1773,7 @@ void field::get_ritual_material(uint8 playerid, effect* peffect, card_set* mater
}
}
for
(
auto
&
pcard
:
player
[
1
-
playerid
].
list_mzone
)
{
for
(
auto
&
pcard
:
player
[
1
-
playerid
].
list_mzone
)
{
if
(
pcard
&&
(
pcard
->
get_level
()
||
pcard
->
is_affected_by_effect
(
EFFECT_MINIATURE_GARDEN_GIRL
))
&&
pcard
->
is_affect_by_effect
(
peffect
)
if
(
pcard
&&
(
pcard
->
get_level
()
||
pcard
->
is_affected_by_effect
(
EFFECT_MINIATURE_GARDEN_GIRL
))
&&
pcard
->
is_affect_by_effect
(
peffect
)
&&
pcard
->
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE
)
&&
(
pcard
->
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE
)
||
is_player_affected_by_effect
(
playerid
,
EFFECT_SEA_PULSE
)
)
&&
pcard
->
is_releasable_by_nonsummon
(
playerid
)
&&
pcard
->
is_releasable_by_effect
(
playerid
,
peffect
))
&&
pcard
->
is_releasable_by_nonsummon
(
playerid
)
&&
pcard
->
is_releasable_by_effect
(
playerid
,
peffect
))
material
->
insert
(
pcard
);
material
->
insert
(
pcard
);
}
}
...
...
interpreter.cpp
View file @
ca48cba3
...
@@ -727,6 +727,9 @@ interpreter::interpreter(duel* pd): coroutines(256) {
...
@@ -727,6 +727,9 @@ interpreter::interpreter(duel* pd): coroutines(256) {
lua_setglobal
(
lua_state
,
"EFFECT_CHANGE_SUMMON_LOCATION_KOISHI"
);
lua_setglobal
(
lua_state
,
"EFFECT_CHANGE_SUMMON_LOCATION_KOISHI"
);
lua_pushinteger
(
lua_state
,
EFFECT_LINK_SPELL_KOISHI
);
lua_pushinteger
(
lua_state
,
EFFECT_LINK_SPELL_KOISHI
);
lua_setglobal
(
lua_state
,
"EFFECT_LINK_SPELL_KOISHI"
);
lua_setglobal
(
lua_state
,
"EFFECT_LINK_SPELL_KOISHI"
);
lua_pushinteger
(
lua_state
,
EFFECT_SEA_PULSE
);
lua_setglobal
(
lua_state
,
"EFFECT_SEA_PULSE"
);
//music hints
//music hints
lua_pushinteger
(
lua_state
,
HINT_MUSIC
);
lua_pushinteger
(
lua_state
,
HINT_MUSIC
);
lua_setglobal
(
lua_state
,
"HINT_MUSIC"
);
lua_setglobal
(
lua_state
,
"HINT_MUSIC"
);
...
...
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