<commit_before><?
// BUBBLE SPRAY
$ability = array(
    'ability_name' => 'Bubble Spray',
    'ability_token' => '<PASSWORD>',
    'ability_game' => 'MM02',
    'ability_group' => 'MM02/Weapons/011',
    'ability_description' => 'The user sprays a thick layer of foamy bubbles at the target\'s feet to deal damage and make their position on the field vulnerable to Electric and Freeze type attacks!',
    'ability_type' => 'water',
    'ability_energy' => 4,
    'ability_damage' => 16,
    'ability_accuracy' => 98,
    'ability_function' => function($objects){

        // Extract all objects into the current scope
        extract($objects);

        // Predefine attachment create and destroy text for later
        $this_create_text = ($target_robot->print_name().' found '.$target_robot->get_pronoun('reflexive').' in a mound of foamy bubbles!<br /> '.
            'That position on the field is vulnerable to '.
            rpg_type::print_span('electric').' and '.rpg_type::print_span('freeze').' '.
            'types now!'
            );
        $this_destroy_text = ('The '.$this_ability->print_name().'\'s foamy bubbles faded away...<br /> '.
            'That position on the field isn\'t vulnerable to '.
            rpg_type::print_span('electric').' or '.rpg_type::print_span('freeze').' '.
            'types anymore!'
            );
        $this_refresh_text = ($this_robot->print_name().' refreshed the '.$this_ability->print_name().'\'s mound of foamy bubbles!<br /> '.
            'That position on the field is still vulnerable to '.
            rpg_type::print_span('electric').' and '.rpg_type::print_span('freeze').' '.
            'types!'
            );

        // Define this ability's attachment token
        $static_attachment_key = $target_robot->get_static_attachment_key();
        $static_attachment_duration = 6;
        $this_attachment_token = 'ability_'.$this_ability->ability_token.'_'.$static_attachment_key;
        $this_attachment_info = array(
            'class' => 'ability',
            'sticky' => true,
            'ability_id' => $this_ability->ability_id,
            'ability_token' => $this_ability->ability_token,
            'attachment_duration' => $static_attachment_duration,
            'attachment_token' => $this_attachment_token,
            'attachment_sticky' => true,
            'attachment_bias' => 'negative',
            'attachment_damage_input_booster_electric' => 2.0,
            'attachment_damage_input_booster_freeze' => 2.0,
            'attachment_create' => array(
                'trigger' => 'special',
                'kind' => '',
                'percent' => true,
                'frame' => 'defend',
                'rates' => array(100, 0, 0),
                'success' => array(9, -10, -5, -10, $this_create_text),
                'failure' => array(9, -10, -5, -10, $this_create_text)
                ),
            'attachment_destroy' => array(
                'trigger' => 'special',
                'kind' => '',
                'type' => '',
                'percent' => true,
                'modifiers' => false,
                'frame' => 'taunt',
                'rates' => array(100, 0, 0),
                'success' => array(9, 0, -9999, 0, $this_destroy_text),
                'failure' => array(9, 0, -9999, 0, $this_destroy_text)
                ),
            'ability_frame' => 2,
            'ability_frame_animate' => array(2, 3),<commit_msg>Adjusted Bubble Spray's static attachment properties again<commit_after><?
// BUBBLE SPRAY
$ability = array(
    'ability_name' => 'Bubble Spray',
    'ability_token' => '<PASSWORD>',
    'ability_game' => 'MM02',
    'ability_group' => 'MM02/Weapons/011',
    'ability_description' => 'The user sprays a thick layer of foamy bubbles at the target\'s feet to deal damage and make their position on the field vulnerable to Electric and Freeze type attacks!',
    'ability_type' => 'water',
    'ability_energy' => 4,
    'ability_damage' => 16,
    'ability_accuracy' => 98,
    'ability_function' => function($objects){

        // Extract all objects into the current scope
        extract($objects);

        // Predefine attachment create and destroy text for later
        $this_create_text = ($target_robot->print_name().' found '.$target_robot->get_pronoun('reflexive').' in a mound of foamy bubbles!<br /> '.
            'That position on the field is vulnerable to '.
            rpg_type::print_span('electric').' and '.rpg_type::print_span('freeze').' '.
            'types now!'
            );
        $this_destroy_text = ('The '.$this_ability->print_name().'\'s foamy bubbles faded away...<br /> '.
            'That position on the field isn\'t vulnerable to '.
            rpg_type::print_span('electric').' or '.rpg_type::print_span('freeze').' '.
            'types anymore!'
            );
        $this_refresh_text = ($this_robot->print_name().' refreshed the '.$this_ability->print_name().'\'s mound of foamy bubbles!<br /> '.
            'That position on the field is still vulnerable to '.
            rpg_type::print_span('electric').' and '.rpg_type::print_span('freeze').' '.
            'types!'
            );

        // Define this ability's attachment token
        $static_attachment_key = $target_robot->get_static_attachment_key();
        $static_attachment_duration = 6;
        $this_attachment_token = 'ability_'.$this_ability->ability_token.'_'.$static_attachment_key;
        $this_attachment_info = array(
            'class' => 'ability',
            'sticky' => true,
            'ability_id' => $this_ability->ability_id,
            'ability_token' => $this_ability->ability_token,
            'attachment_duration' => $static_attachment_duration,
            'attachment_token' => $this_attachment_token,
            'attachment_sticky' => true,
            'attachment_damage_input_booster_electric' => 2.0,
            'attachment_damage_input_booster_freeze' => 2.0,
            'attachment_create' => array(
                'trigger' => 'special',
                'kind' => '',
                'percent' => true,
                'frame' => 'defend',
                'rates' => array(100, 0, 0),
                'success' => array(9, -10, -5, -10, $this_create_text),
                'failure' => array(9, -10, -5, -10, $this_create_text)
                ),
            'attachment_destroy' => array(
                'trigger' => 'special',
                'kind' => '',
                'type' => '',
                'percent' => true,
                'modifiers' => false,
                'frame' => 'taunt',
                'rates' => array(100, 0, 0),
                'success' => array(9, 0, -9999, 0, $this_destroy_text),
                'failure' => array(9, 0, -9999, 0, $this_destroy_text)
                ),
            'ability_frame' => 2,
            'ability_frame_animate' => array(2, 3),
{'fraction_non_alphanumeric': 0.14716106604866744, 'fraction_numerical': 0.016222479721900347, 'mean_word_length': 2.1587374199451053, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1193756', 'n_tokens_mistral': 2117, 'n_tokens_neox': 1989, 'n_words': 457}