Commit 06767637 authored by nanahira's avatar nanahira

auto TIMING_END_PHASE for quick effects

parent fb787c27
......@@ -1814,6 +1814,9 @@ int32 card::add_effect(effect* peffect) {
pduel->game_field->process_single_event();
}
}
if(peffect->type & EFFECT_TYPE_QUICK_O && peffect->code == EVENT_FREE_CHAIN && peffect->hint_timing[0] == 0 && peffect->hint_timing[1] == 0) {
peffect->hint_timing[1] = TIMING_END_PHASE;
}
return peffect->id;
}
void card::remove_effect(effect* peffect) {
......
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