> For the complete documentation index, see [llms.txt](https://custom-rathena.gitbook.io/site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://custom-rathena.gitbook.io/site/guide/pet-refine.md).

# ระบบ Pet Refine

**\[ การตั้งค่า ระบบ** Pet Refine **]**

* ไปที่ db/2026\_db/refine\_pet.yml
* ตั้งค่าอัตราตีบวกแยกเฉพาะ Pet Eggs

<div align="left"><figure><img src="/files/wAHDm5F6bnZJXFnWShkq" alt=""><figcaption></figcaption></figure></div>

**\[ คำสั่งใช้งานระบบ** **]**

<mark style="color:$danger;">bonus bPetlootDelay,1;</mark>

* ตั้งค่าเก็บของเร็วขึ้น (ตั้งค่าได้ 1-10)
* ตั้งค่ายิ่งมากจะยิ่งเก็บเร็ว

<mark style="color:$danger;">bonus bPetlootSpeed,150;</mark>

* ตั้งค่าความเร็วการเดินของสัตว์เลี้ยง (0-150)
* ยิ่งตั้งค่าน้อยจะยิ่งวิ่งเร็วเหมือนใช้คำสั่ง @speed&#x20;

<mark style="color:red;">bonus bPetlootRange,5;</mark>

* ตั้งค่าระยะการเก็บของสัตว์เลี้ยง (1-30)
* เช่นตั้งไว้ 5 ระยะการเก็บก็คือ 5x5 รอบตัวสัตว์เลี้ยง
* ตั้งได้สูงสุด 30x30 และต่ำสุดที่ 1x1

<mark style="color:$danger;">petrefine();</mark>

* คำสั่งเช็คระดับตีบวกของสัตว์เลี้ยงว่า

<mark style="color:red;">petenchantgrade();</mark>

* คำสั่งเช็คระดับการเกรดของสัตว์เลี้ยง

**\[ ตัวอย่างการใช้งาน Pet DB** **]**

* ตัวอย่างตั้งค่าใน Pet\_db.yml

<div align="left"><figure><img src="/files/cTnSQXGTreiYIPXc0EAK" alt=""><figcaption></figcaption></figure></div>

* ตัวอย่างผลลัพธ์

<div align="left"><figure><img src="/files/6CnJQrbmosYR3pntiLb9" alt=""><figcaption></figcaption></figure></div>

* ตัวอย่างหน้าตาเมื่อฟัก (จะมี ชื่อ/ระดับตีบวก/ระดับเกรด(หากมี))

<div align="left"><figure><img src="/files/3ax1MoyHt5VTUAx8dgs8" alt=""><figcaption></figcaption></figure></div>
