{
  "bar_detection": {
    "hp_bar_width": 200,
    "mp_bar_width": 200,
    "description": "血條和魔力條的最大寬度（像素）"
  },
  "health_anomaly_detection": {
    "enabled": true,
    "max_drop_percentage": 60,
    "description": "血量異常檢測保險機制：若血量相對於上次識別下降超過此百分比，系統將判定為異常（如遊戲錯誤、截圖失敗），自動拒絕此次識別結果並保留上次數據。例如：若設為40%，則血量下降40%以內會被接受，超過40%會被拒絕。範圍：0-100（0或100=禁用, 20-30=保守, 40=標準推薦, 50-60=激進）"
  },
  "rules": [
    {
      "id": 11,
      "enabled": true,
      "name": "先喝水",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 85.0
        },
        "mp_percent": {
          "operator": "<",
          "value": 5.0
        }
      },
      "action": {
        "key": "f5",
        "press_count": 1,
        "cooldown": 0.0
      }
    },
    {
      "id": 1,
      "enabled": true,
      "name": "回捲",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 35.0
        }
      },
      "action": {
        "key": "f8",
        "press_count": 1,
        "cooldown": 2.0
      }
    },
    {
      "id": 12,
      "enabled": true,
      "name": "橘水",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 40.0
        }
      },
      "action": {
        "key": "f11",
        "press_count": 1,
        "cooldown": 1.0
      }
    },
    {
      "id": 2,
      "enabled": true,
      "name": "中度補血",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 65.0
        }
      },
      "action": {
        "key": "f5",
        "press_count": 1,
        "cooldown": 0.0,
        "hold_time": 1.0
      }
    },
    {
      "id": 3,
      "enabled": true,
      "name": "輕度補血",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 80.0
        },
        "mp_percent": {
          "operator": ">",
          "value": 4.0
        }
      },
      "action": {
        "key": "f6",
        "press_count": 1,
        "cooldown": 0.6,
        "hold_time": 0.5
      }
    },
    {
      "id": 4,
      "enabled": true,
      "name": "血量安全時補魔",
      "conditions": {
        "hp_percent": {
          "operator": ">",
          "value": 50
        },
        "mp_percent": {
          "operator": "<",
          "value": 75
        }
      },
      "action": {
        "key": "f7",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 9,
      "enabled": true,
      "name": "定時按鍵（每8分鐘）",
      "conditions": {
        "timer": {
          "interval_seconds": 480
        }
      },
      "action": {
        "key": "f10",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 10,
      "enabled": false,
      "name": "糯米糕",
      "conditions": {
        "timer": {
          "interval_seconds": 1200
        }
      },
      "action": {
        "key": "f11",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 5,
      "enabled": false,
      "name": "定時buff（每5分鐘）",
      "conditions": {
        "timer": {
          "interval_seconds": 300
        }
      },
      "action": {
        "key": "f9",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 6,
      "enabled": false,
      "name": "範例：極低血量連按",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 10.0
        }
      },
      "action": {
        "key": "f8",
        "press_count": 2,
        "cooldown": 0.3
      }
    },
    {
      "id": 7,
      "enabled": false,
      "name": "範例：定時按鍵（每1分鐘）",
      "conditions": {
        "timer": {
          "interval_seconds": 60
        }
      },
      "action": {
        "key": "f11",
        "press_count": 2,
        "cooldown": 0.5
      }
    },
    {
      "id": 8,
      "enabled": false,
      "name": "範例：MP低於30%",
      "conditions": {
        "mp_percent": {
          "operator": "<",
          "value": 30
        }
      },
      "action": {
        "key": "f8",
        "press_count": 2,
        "cooldown": 1.0
      }
    }
  ],
  "overlay_enabled": false,
  "license_key": "TRIL-3DAY-ONLY-0001",
  "hp_region": [
    550,
    709,
    843,
    772
  ],
  "mp_region": [
    1123,
    735,
    1446,
    806
  ],
  "enhanced_overlay_enabled": true,
  "last_opened_config": "妖精"
}