• salix5's avatar
    summon check · 4876b949
    salix5 authored
    Duel.CheckTribute()
    Now it will check if there exist min<=i<=max such that releasing i tributes is possible.
    (Note that relaesing k tributes is different from releasing k monsters,
    since some monsters can be treated as 2 or more monsters)
    The proof of correctness is shown below.
    
    field::get_summon_release_exlist()
    This function is just a support function of check_tribute(), and now it will not modify release_param.
    
    card::is_can_be_summoned()
    The aegument peffect is a special case used by effects that change theordinary summon procedure (c80921533),
    and now it is seperated from normal cases.
    
    TODO:
    check min_tribute in scripts
    Duel.CheckTribute(c,k,k)
    4876b949
card.cpp 102 KB