> For the complete documentation index, see [llms.txt](/llms.txt)

# Character Enhancement

Enhances a character with material items, turning them into experience, with configurable bonus multipliers.




**이 데모에 대하여**

데모는 익명 계정으로 자동 로그인합니다. 이 계정은 쇼룸의 모든 데모에서 공유되므로 한 데모에서 얻은 아이템이나 재화가 다른 데모에도 반영됩니다. 로딩에 약간 시간이 걸립니다. 화면이 작다면 새 탭에서 열어 사용해 보세요.

## 개요

Spend enhancement materials to give a character experience. There are two materials, `potion` (worth 300 experience) and `elixir` (worth 1000), and each enhancement has a 20% chance of a great success that grants 1.5 times the experience. Recruit a character, get some materials, then spend them on the character's row.

## 체험 방법

1. Under **Recruit a character**, press **Recruit** next to **Recruit knight** (or another character) to get a character.
1. Press **Get** under **Materials** to add one of that material (the row reads, for example, `potion x1`).
1. On the character's row under **Spend materials to level up**, press **Enhance with potion**; one `potion` is consumed, the character gains 300 experience (450 on a great success), and **Level** rises from `1/10`.
1. Press **Enhance with elixir** to consume one `elixir` for 1000 experience (1500 on a great success).
1. Pressing an enhance button without the material fails because there is not enough material.

## 사용하는 GS2 서비스

- [GS2-Enhance](/ko/microservices/enhance/): GS2-Enhance's `Basic` rate adds the experience written in the material's metadata (300 for `potion`, 1000 for `elixir`) to the target character, with a bonus of 1.5x at 20% and 1x at 80%.
- [GS2-Inventory](/ko/microservices/inventory/): GS2-Inventory holds two inventories: the `Character` inventory with the recruited characters, and the `CharacterEnhanceMaterial` simple inventory with the material counts.
- [GS2-Experience](/ko/microservices/experience/): GS2-Experience keeps each character's experience, level and level cap (10); the experience added by enhancing raises the level.
- [GS2-Exchange](/ko/microservices/exchange/): GS2-Exchange rate models define the buttons: **Get** acquires a material (`Gs2Inventory:AcquireSimpleItemsByUserId`), and **Enhance with potion** and **Enhance with elixir** run an enhancement with that material (`Gs2Enhance:DirectEnhanceByUserId`), each as a free server-side transaction.

## GS2 Studio에서 사용하기

GS2 Studio의 Simple 모드에서 **Add features** 를 열고 **Character Enhancement** 의 **Add** 를 누르면 이 기능을 자신의 프로젝트에 가져올 수 있습니다. 패키지를 직접 지정하려면 **Add from GitHub** 를 선택하고 아래 패키지를 입력합니다.

```text
https://github.com/gs2io/gs2-studio-package/tree/main/micro-economy-character-enhance/packages/micro-economy-character-enhance
```

- Owner: `gs2io`
- Repository: `gs2-studio-package`
- Subdirectory: `micro-economy-character-enhance/packages/micro-economy-character-enhance`

## 소스 코드

- 데모 프로젝트: <https://github.com/gs2io/gs2-studio-package/tree/main/micro-economy-character-enhance/live-demo>
- 기능 패키지: <https://github.com/gs2io/gs2-studio-package/tree/main/micro-economy-character-enhance>



