Commit 9974cf8f authored by mercury233's avatar mercury233 Committed by GitHub

fix Card.IsReleasableByEffect (#298)

parent bb7e8615
......@@ -2275,7 +2275,7 @@ int32 scriptlib::card_is_releasable_by_effect(lua_State *L) {
card* pcard = *(card**) lua_touserdata(L, 1);
uint32 p = pcard->pduel->game_field->core.reason_player;
effect* re = pcard->pduel->game_field->core.reason_effect;
if(pcard->is_releasable_by_effect(p, re))
if(pcard->is_releasable_by_nonsummon(p) && pcard->is_releasable_by_effect(p, re))
lua_pushboolean(L, 1);
else
lua_pushboolean(L, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment