> For the complete documentation index, see [llms.txt](https://mythicchanger.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicchanger.superiormc.cn/drag-gui-change/apply-item-example-stat-scroll.md).

# 📚Apply Item Example - Stat Scroll

{% hint style="info" %}
This example file will only work for <mark style="color:red;">**PREMIUM**</mark> version of **MythicChanger**.\
You <mark style="color:red;">**NEED**</mark> enable `bypass-real-change-limit` option at `config.yml` to make this example file work.

You <mark style="color:red;">**NEED**</mark> install **NBTAPI** plugin first.
{% endhint %}

```yaml
# Display Item
display-item:
  material: PAPER
  name: '&#da8f87Stat Scroll &7(Attack Damage &a+10%&7)'
  lore:
    - '&8Scroll'
    - ''
    - '&7Drag any &cswords or axes &7onto this item to'
    - '&7make its &bAttack Damage &7value &a+10%&7.'
    - '&7Up to value &420&7 can be upgraded.'
    - ''
    - '&bSuccess Rate: &a100%'
    - '&a&lRare'
  max-stack: 1
  
# Chance, Up to 100
chance: 100
  
# Rule Configs
real-changes:
  add-name-last: '&6★'
  add-nbt-double:
    - 'MMOITEMS_ATTACK_DAMAGE;;{nbt_MMOITEMS_ATTACK_DAMAGE;;1}*1.1'
  mi-update-lore: true

# Match Item
match-item:
  items:
    - 'YourMMOItemsSwordID'
  not:
    contains-name: 
      - '&6★&6★&6★&6★&6★'

# Conditions
conditions:
  1:
    type: placeholder
    rule: '<'
    placeholder: '{nbt_MMOITEMS_ATTACK_DAMAGE;;1}'
    value: 18.18
    
# Actions
success-actions:
  1:
    type: message
    message: '&fCool, it looks like magic is showing off, your {name} &fis more powerful now!'
fail-actions:
  1:
    type: message
    message: '&fOh, no! Seems that this time you are now very lucky, the scroll broken, nothing changed!'
```


---

# 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://mythicchanger.superiormc.cn/drag-gui-change/apply-item-example-stat-scroll.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.
