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

format (#630)

parent feaa7d2a
......@@ -513,7 +513,7 @@ constexpr uint32 INTERNAL_FLAGS = EFFECT_FLAG_INITIAL | EFFECT_FLAG_FUNC_VALUE |
#define EVENT_MSET 1106
#define EVENT_SSET 1107
#define EVENT_BE_MATERIAL 1108
#define EVENT_BE_PRE_MATERIAL 1109
#define EVENT_BE_PRE_MATERIAL 1109
#define EVENT_DRAW 1110
#define EVENT_DAMAGE 1111
#define EVENT_RECOVER 1112
......
......@@ -4783,8 +4783,10 @@ int32 scriptlib::duel_majestic_copy(lua_State *L) {
break;
}
effect* peffect = eit->second;
if(!(peffect->type & 0x7c)) continue;
if(!peffect->is_flag(EFFECT_FLAG_INITIAL)) continue;
if (!(peffect->type & 0x7c))
continue;
if (!peffect->is_flag(EFFECT_FLAG_INITIAL))
continue;
effect* ceffect = peffect->clone();
ceffect->owner = pcard;
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