<?php
/**
 * 和平精英人物受击范围配置文件
 * 文件格式：PHP数组
 * 用途：定义游戏中人物的受击判定区域
 */

return [
    // 头部受击范围配置
    'head' => [
        'enabled' => true,           // 是否启用该部位受击
        'damage_multiplier' => 2.0,  // 伤害倍率（头部通常2倍伤害）
        'hitbox_size' => [           // 受击盒尺寸 [x, y, z]
            'width' => 0.25,
            'height' => 0.25,
            'depth' => 0.25
        ],
        'position_offset' => [       // 相对于骨骼的偏移量
            'x' => 0.0,
            'y' => 0.1,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.3, // 暴击概率
        'armor_penetration' => 1.0   // 护甲穿透系数
    ],
    
    // 胸部受击范围配置
    'chest' => [
        'enabled' => true,
        'damage_multiplier' => 1.0,  // 正常伤害
        'hitbox_size' => [
            'width' => 0.4,
            'height' => 0.5,
            'depth' => 0.3
        ],
        'position_offset' => [
            'x' => 0.0,
            'y' => -0.1,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.1,
        'armor_penetration' => 0.8
    ],
    
    // 腹部受击范围配置
    'abdomen' => [
        'enabled' => true,
        'damage_multiplier' => 1.0,
        'hitbox_size' => [
            'width' => 0.35,
            'height' => 0.3,
            'depth' => 0.25
        ],
        'position_offset' => [
            'x' => 0.0,
            'y' => -0.35,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.05,
        'armor_penetration' => 0.7
    ],
    
    // 左臂受击范围配置
    'left_arm' => [
        'enabled' => true,
        'damage_multiplier' => 0.8,  // 四肢伤害减少
        'hitbox_size' => [
            'width' => 0.15,
            'height' => 0.4,
            'depth' => 0.15
        ],
        'position_offset' => [
            'x' => -0.3,
            'y' => 0.1,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.02,
        'armor_penetration' => 0.6
    ],
    
    // 右臂受击范围配置
    'right_arm' => [
        'enabled' => true,
        'damage_multiplier' => 0.8,
        'hitbox_size' => [
            'width' => 0.15,
            'height' => 0.4,
            'depth' => 0.15
        ],
        'position_offset' => [
            'x' => 0.3,
            'y' => 0.1,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.02,
        'armor_penetration' => 0.6
    ],
    
    // 左腿受击范围配置
    'left_leg' => [
        'enabled' => true,
        'damage_multiplier' => 0.75, // 腿部伤害进一步减少
        'hitbox_size' => [
            'width' => 0.18,
            'height' => 0.6,
            'depth' => 0.18
        ],
        'position_offset' => [
            'x' => -0.15,
            'y' => -0.8,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.01,
        'armor_penetration' => 0.5
    ],
    
    // 右腿受击范围配置
    'right_leg' => [
        'enabled' => true,
        'damage_multiplier' => 0.75,
        'hitbox_size' => [
            'width' => 0.18,
            'height' => 0.6,
            'depth' => 0.18
        ],
        'position_offset' => [
            'x' => 0.15,
            'y' => -0.8,
            'z' => 0.0
        ],
        'critical_hit_chance' => 0.01,
        'armor_penetration' => 0.5
    ],
    
    // 全局受击配置
    'global_settings' => [
        'hit_registration_delay' => 0.05,    // 受击判定延迟(秒)
        'minimum_damage_threshold' => 10,     // 最小伤害阈值
        'enable_headshot_only_mode' => false, // 是否仅头部受击模式
        'dynamic_hitbox_scaling' => true,     // 是否启用动态受击盒缩放
        'network_prediction' => true          // 网络预测
    ],
    
    // 武器特定受击配置
    'weapon_specific' => [
        'sniper_rifles' => [
            'headshot_multiplier' => 2.5,      // 狙击枪头部伤害倍率
            'body_shot_multiplier' => 1.2,     // 狙击枪身体伤害倍率
            'effective_range' => 500.0         // 有效射程
        ],
        'shotguns' => [
            'pellet_count' => 9,               // 霰弹枪弹丸数量
            'spread_angle' => 15.0,            // 扩散角度
            'damage_falloff' => 0.8            // 伤害衰减
        ],
        'smg' => [
            'headshot_multiplier' => 1.8,      // 冲锋枪头部伤害倍率
            'fire_rate_modifier' => 1.0         // 射速修正
        ]
    ]
];
?>

//原创开发作者[辞酱]=二该死的马=如果你看见这个水印说明你玩的配置作者是二改仔=请立即禁止玩耍=小心作者给你加一些封号文件=认准辞酱配置文件=本人目前QQ号全掉=想联系我的，可以联系快手号zy121212121314151617=欢迎大家的玩耍