• salix5's avatar
    attack target, replay in battle step · 8804e8c6
    salix5 authored
    removed:
    sub_attacker, sub_attack_target: Changing attack target is done by functions
    attack_cancelable: It is removed since it will interrupt attack-announce related parts.
    Duel.ReplaceAttacker(): No longer used.
    
    EFFECT_RISE_TO_FULL_HEIGHT: It is used by "Rise to Full Height".
    EFFECT_ONLY_ATTACK_MONSTER: The opponent monsters can only attack monster X.
    EFFECT_ONLY_BE_ATTACKED: The targets of
    EFFECT_RISE_TO_FULL_HEIGHT/EFFECT_ONLY_ATTACK_MONSTER.
    EFFECT_MUST_ATTACK_MONSTER: If the opponent monsters attack, they can only attack monster X.
    EFFECT_MUST_BE_ATTACKED: The targets of EFFECT_MUST_ATTACK_MONSTER.
    EFFECT_MUST_ATTACK: The opponent monsters must attack.
    
    Duel.ChangeAttackTarget(): Now it will change the attacker and raise events.
    Duel.HintSelection(): Now it will not move cards.
    
    attack_state_count/announce_count:
    1. If no target exists, it increases after attack announce.
    2. If there are targets, it increases after traget selection.
    8804e8c6
field.h 32.7 KB