Commit bddb17dc authored by nanahira's avatar nanahira

add EFFECT_FLAG_NO_CTEFFECT

parent cf32e53e
......@@ -184,6 +184,7 @@ enum effect_flag : uint32 {
EFFECT_FLAG_OWNER_RELATE = 0x1000000,
EFFECT_FLAG_AVAILABLE_BD = 0x2000000,
EFFECT_FLAG_CLIENT_HINT = 0x4000000,
EFFECT_FLAG_NO_CTEFFECT = 0x8000000,
// EFFECT_FLAG_CHAIN_UNIQUE = 0x8000000,
// EFFECT_FLAG_NAGA = 0x10000000,
// EFFECT_FLAG_COF = 0x20000000,
......
......@@ -3423,6 +3423,8 @@ int32 field::get_cteffect(effect* peffect, int32 playerid, int32 store) {
continue;
if(!feffect->in_range(phandler))
continue;
if(feffect->is_flag(EFFECT_FLAG_NO_CTEFFECT))
continue;
uint32 code = efit->first;
if(code == EVENT_FREE_CHAIN || code == EVENT_PHASE + infos.phase) {
nil_event.event_code = code;
......
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