Commit 89ac41a9 authored by DailyShana's avatar DailyShana

refine

parent 45f58305
...@@ -983,7 +983,8 @@ int32 scriptlib::card_register_effect(lua_State *L) { ...@@ -983,7 +983,8 @@ int32 scriptlib::card_register_effect(lua_State *L) {
id = -1; id = -1;
else { else {
if((peffect->type & (EFFECT_TYPE_TRIGGER_O | EFFECT_TYPE_TRIGGER_F)) if((peffect->type & (EFFECT_TYPE_TRIGGER_O | EFFECT_TYPE_TRIGGER_F))
&& !(peffect->code & EVENT_CARD) && peffect->code < EVENT_PHASE_START && (peffect->code & EVENT_PHASE)) { && !(peffect->code & 0x10032000) && (peffect->code & EVENT_PHASE)
&& !peffect->is_flag(EFFECT_FLAG_COUNT_LIMIT)) {
peffect->flag[0] |= EFFECT_FLAG_COUNT_LIMIT; peffect->flag[0] |= EFFECT_FLAG_COUNT_LIMIT;
peffect->reset_count |= ((1 << 12) & 0xf000) | ((1 << 8) & 0xf00); peffect->reset_count |= ((1 << 12) & 0xf000) | ((1 << 8) & 0xf00);
} }
......
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