{
  "bar_detection": {
    "hp_bar_width": 200,
    "mp_bar_width": 200,
    "description": "血條和魔力條的最大寬度（像素）"
  },
  "health_anomaly_detection": {
    "enabled": true,
    "max_drop_percentage": 46,
    "description": "血量異常檢測保險機制：若血量相對於上次識別下降超過此百分比，系統將判定為異常（如遊戲錯誤、截圖失敗），自動拒絕此次識別結果並保留上次數據。例如：若設為40%，則血量下降40%以內會被接受，超過40%會被拒絕。範圍：0-100（0或100=禁用, 20-30=保守, 40=標準推薦, 50-60=激進）"
  },
  "rules": [
    {
      "id": 11,
      "enabled": true,
      "non_exclusive": 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,
      "non_exclusive": true,
      "name": "回捲",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 35.0
        }
      },
      "action": {
        "key": "f8",
        "press_count": 1,
        "cooldown": 2.0
      }
    },
    {
      "id": 12,
      "enabled": true,
      "non_exclusive": true,
      "name": "橘水",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 45.0
        }
      },
      "action": {
        "key": "f11",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 2,
      "enabled": true,
      "non_exclusive": false,
      "name": "中度補血",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 62.0
        },
        "mp_percent": {
          "operator": ">",
          "value": 10.0
        }
      },
      "action": {
        "key": "f9",
        "press_count": 1,
        "cooldown": 0.0,
        "hold_time": 0.8
      }
    },
    {
      "id": 3,
      "enabled": true,
      "non_exclusive": false,
      "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.8
      }
    },
    {
      "id": 6,
      "enabled": true,
      "non_exclusive": true,
      "name": "紅水",
      "conditions": {
        "hp_percent": {
          "operator": "<",
          "value": 50.0
        }
      },
      "action": {
        "key": "f5",
        "press_count": 1,
        "cooldown": 0.2,
        "hold_time": 1.0
      },
      "quick_pause_enabled": false,
      "pause_hotkey": "",
      "pause_hotkeys": []
    },
    {
      "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": 10,
      "enabled": true,
      "non_exclusive": false,
      "name": "糯米糕",
      "conditions": {
        "timer": {
          "interval_seconds": 1200
        }
      },
      "action": {
        "key": "f11",
        "press_count": 1,
        "cooldown": 0.5,
        "sequence": [
          {
            "key": "F2",
            "delay": 0.2
          },
          {
            "key": "F8",
            "delay": 0.1
          },
          {
            "key": "F1",
            "delay": 0.1
          }
        ]
      }
    },
    {
      "id": 9,
      "enabled": true,
      "non_exclusive": false,
      "name": "定時按鍵（每8分鐘）",
      "conditions": {
        "timer": {
          "interval_seconds": 480
        }
      },
      "action": {
        "key": "f10",
        "press_count": 1,
        "cooldown": 0.5
      }
    },
    {
      "id": 13,
      "enabled": true,
      "non_exclusive": false,
      "name": "魔法武器",
      "conditions": {
        "timer": {
          "interval_seconds": 1800
        }
      },
      "action": {
        "key": "f9",
        "press_count": 1,
        "cooldown": 0.2,
        "sequence": [
          {
            "key": "F2",
            "delay": 0.1
          },
          {
            "key": "F9",
            "delay": 0.1
          },
          {
            "key": "F1",
            "delay": 0.1
          }
        ]
      }
    },
    {
      "id": 14,
      "enabled": true,
      "non_exclusive": false,
      "name": "保護罩",
      "conditions": {
        "timer": {
          "interval_seconds": 1200
        }
      },
      "action": {
        "key": "",
        "press_count": 1,
        "cooldown": 0.2,
        "sequence": [
          {
            "key": "F2",
            "delay": 0.2
          },
          {
            "key": "F11",
            "delay": 0.1
          },
          {
            "key": "F1",
            "delay": 0.2
          }
        ]
      }
    },
    {
      "id": 15,
      "enabled": true,
      "non_exclusive": false,
      "name": "鎧甲護持",
      "conditions": {
        "timer": {
          "interval_seconds": 1800
        }
      },
      "action": {
        "key": "",
        "press_count": 1,
        "cooldown": 0.2,
        "sequence": [
          {
            "key": "F2",
            "delay": 0.2
          },
          {
            "key": "F12",
            "delay": 0.1
          },
          {
            "key": "F1",
            "delay": 0.1
          }
        ]
      }
    },
    {
      "id": 16,
      "enabled": true,
      "non_exclusive": false,
      "name": "魔法防禦",
      "conditions": {
        "timer": {
          "interval_seconds": 1200
        }
      },
      "action": {
        "key": "f2",
        "press_count": 1,
        "cooldown": 0.2,
        "sequence": [
          {
            "key": "F2",
            "delay": 0.1
          },
          {
            "key": "F10",
            "delay": 0.1
          },
          {
            "key": "F1",
            "delay": 0.1
          }
        ]
      }
    },
    {
      "id": 17,
      "enabled": true,
      "non_exclusive": false,
      "name": "撿東西",
      "conditions": {
        "timer": {
          "interval_seconds": 1
        }
      },
      "action": {
        "key": "f4",
        "press_count": 5,
        "cooldown": 0.2
      },
      "quick_pause_enabled": false,
      "pause_hotkey": "",
      "pause_hotkeys": []
    }
  ],
  "overlay_enabled": false,
  "activation_date": "2026-02-26T23:46:29.825345",
  "expiry_date": "2026-02-28T23:46:29.825410",
  "enhanced_overlay_enabled": true,
  "require_game_window_focus_for_actions": true
}