# MythicMobs 属性相关

## 为什么我给怪物穿上装备后属性无法生效？

这个问题，可能是因为 MythicMobs 版本所导致的，我在开发时也遇到这种问题，插件读取 **MythicMobs 怪物装备** 时，读取到的装备为 **原版装备，也就是没有属性Lore等内容** 所以才无法读取属性。\
\
出现这种情况你可以使用 **AttributePlus** 提供的更方便的方法，在 **MythicMobs 怪物配置** 上增加 **attribute** 或 **Attribute** 的配置项后设置属性即可。

```yaml
SkeletalKnight:
  Type: WITHER_SKELETON
  Display: '&aSkeletal Knight'
  Attribute: 
    - "物理伤害: 10-100"
    - "物理防御: 10"
```

## 为什么怪物的生命力，生命力恢复属性无法生效？

是的，小部分属性无法在怪物身上生效，例如 **生命力、移速加成** 这类属性，但绝大部分是支持怪物的。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-pro/shu-xing-xiang-guan/mythicmobs-shu-xing-xiang-guan.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.
