• Imperial Ambition
    Imperial Ambition
    Admiral Piett
  • DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_BASE
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:Full Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #7specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #8specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #9specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #10specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #11specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #12specialability_admiralpiett01_attack_up_BASE
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:Full Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #13specialability_admiralpiett01_ability_up_BASE
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:Full Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #14generic_stealth_self_FTC01
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,Full Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_BASE
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:Full Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #7specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #8specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #9specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #10specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #11specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #12generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #13generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #14generic_stealth_self_FTC01
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,Full Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_BASE
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:Full Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #2specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #3admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #4specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #5specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #6specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #7inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #8specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #9specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #10specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #11specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #12specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #13generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #14generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #15generic_stealth_self_FTC01
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,Full Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #7specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #8specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #9specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #10specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #11specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #12generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #13generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #14generic_stealth_self_FTC02
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,2xFull Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #7specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #8specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #9inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #10specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous effect successfully executed
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #11specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #12specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #13specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #14specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #15generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #16generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #17generic_stealth_self_FTC02
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,2xFull Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #7specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #8specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #9inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #10specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #11specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #12inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #13specialability_admiralpiett01_death_handler_BASE
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_BASE_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #14specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #15specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #16specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #17specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #18generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #19generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #20generic_stealth_self_FTC02
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,2xFull Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #7specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #8specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #9inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #10specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #11specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #12inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #13specialability_admiralpiett01_death_handler_u01
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_u01_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 300% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_u01_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 300% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #9admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #10query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #11specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #12query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #13inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #14query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #20admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #21query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #22specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #23query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #24inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #25query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #27admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #28query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #29specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #30query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #31inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #32specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #33uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #14specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #15specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #16specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #17specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #18generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #19generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #20generic_stealth_self_FTC02
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,2xFull Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #0specialability_admiralpiett01_dispel_initial_marker
    For All from Ally Side who are Alive
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #1specialability_admiralpiett01_piett_marked_u01
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Gain Taunt
    Effect is unresistable
    Descriptivecountable_special_debuffmarked_debufffeatcounter_marked_debuff
    Effect expires on:2xFull Turn Complete,Encounter End,Death
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #2admiralpiett_inevitable_failure_marker
    For Current Target from Ally Side who is Alive and is affiliation_empire
    Applies an Immunity effect to the target(s)
    Effect is unresistable
    Descriptiveinevitable_failure_marker
    Effectedderp
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #3specialability_admiralpiett01_blackboard_reset
    For All from Ally Side who are Alive or Dead
    Where an active effect doesn't have taginevitable_failure_marker
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    Blackboard QueryContext #4specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #5specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #6inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #7specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #8specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #9inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #10specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_target
    For Current Target from Ally Side who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #11specialability_admiralpiett01_blackboard_increase_target_CE
    For Current Target from Ally Side who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #12inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #13specialability_admiralpiett01_death_handler_u02
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_death
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_death
    Child effects are applied on:Death
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #1query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #2inevitable_failure_attack_damage_boost_stack20_u01_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 300% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #3query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #4inevitable_failure_ability_power_boost_stack20_u01_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 300% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #5query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #6inevitable_failure_max_health_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #7query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #8inevitable_failure_max_protection_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 100% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #9query_speed_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Speed value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #10inevitable_failure_max_speed_boost_stack20_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Speed by 0.25 * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #11admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #12query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #13specialability_admiralpiett01_blackboard_is_it_done_query_15_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 15
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #14query_attackdamage_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Physical Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #15inevitable_failure_attack_damage_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Physical Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #16query_abilitypower_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Special Damage value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #17inevitable_failure_ability_power_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Special Damage by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #18query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #19inevitable_failure_max_health_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #20query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #21inevitable_failure_max_protection_boost_stack15_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 50% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #22admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #23query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #24specialability_admiralpiett01_blackboard_is_it_done_query_10_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 10
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #25query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #26inevitable_failure_max_health_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Query StatContext #27query_max_protection_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Protection value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #28inevitable_failure_max_protection_boost_stack10_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Protection by 20% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    ImmunityContext #29admiralpiett_inevitable_failure_i_got_stats_marker_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Applies an Immunity effect to the target(s)
    Descriptiveinevitable_failure_i_got_stats_marker
    Effectedderp
    Effect expires on:Round End
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #30query_did_piett_get_stats
    Find All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_i_got_stats_marker
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #31specialability_admiralpiett01_blackboard_is_it_done_query_1_CS
    For Self who is Alive or Dead
    This effect will SKIP EXECUTION if the previous query returned CONTEXT_VALUE > 0
    Check if target(s) blackboard inevitable_failure_blackboard value is greater than or equal to 1
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Query StatContext #32query_max_health_self_defeated_state_CE
    Find Self who is Dead
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Puts the target(s) and their Max Health value from this query into CONTEXT_VALUE
    Context Returned: Target(s) and their Stat Value
    Modify StatContext #33inevitable_failure_max_health_boost_stack1_CE
    For All from Ally Side who are Alive and is selftag_admiralpiett
    This effect will EXECUTE if the previous query returned CONTEXT_VALUE > 0
    Modify stat Max Health by 5% * CONTEXT_VALUE (additive)
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard ModifyContext #34specialability_admiralpiett01_blackboard_reset_on_death
    For All from Ally Side who are Alive or Dead
    Set value to on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    DispelContext #35uniqueability_admiralpiett01_inevitable_failure_dispel_on_death
    For All from Ally Side who are Alive or Dead
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_marker
    Context Returned: Target(s) and their number of effect(s) dispelled
    Apply EffectContext #14specialability_admiralpiett01_inevitable_failure_receive_damage_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff_receive_damage
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Child effects are applied on:Pre Receive Damagephysical_damage,Pre Receive Damagespecial_damage,Pre Receive Damageunmitigable_damage,Pre Receive Damageeffect_damage
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #15specialability_admiralpiett01_inevitable_failure_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_debuff
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_debuff
    Child effects are applied on:Attack,Limit Break
    Context Returned: Target(s) and if effect succeeded in applying
    Blackboard QueryContext #0specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20
    For Self who is Alive or Dead
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #1specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #2inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Apply EffectContext #16specialability_admiralpiett01_inevitable_failure_crit_handler
    To Current Target from Ally Side who is Alive
    Where an active effect doesn't have taginevitable_failure_crit_handler or has tagzealous_commander_marker
    Apply child effect(s) based on condition triggers
    Descriptiveinevitable_failure_crit_handler
    Child effects are applied on:Critical
    Context Returned: Target(s) and if effect succeeded in applying
    Query CountContext #0generic_query_whodunit_enemy_unithealthstateany
    Find All from Enemy Side who are Alive or Dead
    Puts the target(s) from this query into CONTEXT_VALUE
    Context Returned: Target(s)
    Blackboard QueryContext #1specialability_admiralpiett01_blackboard_is_it_done_query_less_than_20_CE
    For Self who is Alive or Dead
    This effect will EXECUTE if the previous effect successfully executed
    Check if target(s) blackboard inevitable_failure_blackboard value is less than 20
    Context Returned: Target(s) with a value of 1 if query is true and 0 if query is false
    Blackboard ModifyContext #2specialability_admiralpiett01_blackboard_increase_self_CE
    For Self who is Alive or Dead and is affiliation_empire
    This effect will EXECUTE if the previous effect successfully executed
    Add 1 (additive) to value on blackboard inevitable_failure_blackboard
    Context Returned: Target(s) that had their blackboard modified
    ImmunityContext #3inevitable_failure_debuff_marker_CE
    For All from Ally Side who are Alive
    Where an active effect has taginevitable_failure_debuff
    This effect will EXECUTE if the previous effect successfully executed
    Applies an Immunity effect to the target(s)
    Descriptivecountable_special_debuff
    Effectedderp
    Effect expires on:Remove Persistent Effectinevitable_failure_debuff
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #4generic_armor_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Armor by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffarmor_buffcountable_buffbufffeatcounter_armor_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #5generic_suppression_buff_CE
    For Self who is Alive
    This effect will EXECUTE if the previous effect successfully executed
    Modify stat Resistance by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffsuppression_buff
    Effect expires on:2xFull Turn Complete,Add Persistent Effectdispel_marker,Death,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    DispelContext #17specialability_admiralpiett01_dispel
    For All from Ally Side who are Alive
    Where an active effect doesn't have taginevitable_failure_marker
    Dispels effects from the target(s) with corresponding effected tags
    Effectedinevitable_failure_debuffinevitable_failure_crit_handlerinevitable_failure_death
    Context Returned: Target(s) and their number of effect(s) dispelled
    Modify StatContext #18generic_attack_buff_all
    For All from Ally Side who are Alive
    Modify stat Physical Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffattack_buffcountable_buffbufffeatcounter_attack_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #19generic_ability_power_buff_all
    For All from Ally Side who are Alive
    Modify stat Special Damage by 50% (multiplicative)
    Effect is unresistable
    Descriptiveclearable_buffability_power_buff
    Effect expires on:2xFull Turn Complete,Death,Add Persistent Effectdispel_marker,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
    Modify StatContext #20generic_stealth_self_FTC02
    For Self who is Alive
    Gain Stealth
    Effect is unresistable
    Descriptiveclearable_buffstealth_buffcountable_buffbufffeatcounter_stealth_buff
    Effect expires on:Death,2xFull Turn Complete,Encounter End
    Context Returned: Target(s) and if effect succeeded in applying
 
SWGOH.GG is not affiliated with EA, EA Capital Games, Disney or Lucasfilm LTD.
Privacy Policy | Public Issue Tracker | Discord