# 盾牌机制

## 盾牌机制

> 可以禁止盾牌右键抵消伤害，防止右键盾牌达到无敌的效果\
> 也可以设置盾牌 **冷却机制** 每多少秒可以抵消一次伤害,注意这里不是 **右键后就开始冷却,而是受到攻击抵消伤害后进入冷却** 冷却期间右键抵挡一样会受到伤害,不会抵消

盾牌配置 (attribute.yml)

```yaml
#盾牌
Shield:
  #是否禁止盾牌右键
  right: false
  #盾牌抵挡冷却 right 必须为 false 才会生效 (0=关闭)
  #是盾牌抵挡攻击后进入冷却而不是右键后冷却
  cooling: 10
  message: "&6盾牌格挡 &f格挡进入冷却..."
```

![](https://4213040442-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBoLfs8TQZgHdsr3gnG%2F-MDcu57TFqCCZPZPQ5xA%2F-MDcu8C8XD0hKJOPFtj0%2F%E7%9B%BE%E7%89%8C%E6%A0%BC%E6%8C%A1%E6%9C%BA%E5%88%B6.gif?alt=media\&token=8ccb47d3-5f16-4b82-9630-93affa165871)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ersha.gitbook.io/attributeplus/ji-chu-jiao-cheng/shu-xing-jie-shao-bu-fen-shuo-ming/cha-jian-ji-zhi/dun-pai-ji-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
