Commit 301b8cc3 authored by Chen Bill's avatar Chen Bill Committed by GitHub

format (#630)

parent feaa7d2a
...@@ -4783,8 +4783,10 @@ int32 scriptlib::duel_majestic_copy(lua_State *L) { ...@@ -4783,8 +4783,10 @@ int32 scriptlib::duel_majestic_copy(lua_State *L) {
break; break;
} }
effect* peffect = eit->second; effect* peffect = eit->second;
if(!(peffect->type & 0x7c)) continue; if (!(peffect->type & 0x7c))
if(!peffect->is_flag(EFFECT_FLAG_INITIAL)) continue; continue;
if (!peffect->is_flag(EFFECT_FLAG_INITIAL))
continue;
effect* ceffect = peffect->clone(); effect* ceffect = peffect->clone();
ceffect->owner = pcard; ceffect->owner = pcard;
ceffect->flag[0] &= ~EFFECT_FLAG_INITIAL; ceffect->flag[0] &= ~EFFECT_FLAG_INITIAL;
......
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