Pet Attributes
# Pet Attributes
All attribute configurations are in the attribute folder, you can create multiple yml files
# Attribute Configuration
# Attribute configuration file
# Attribute key, must be unique
attribute1:
# Attribute type, supports: HEALTH, DAMAGE, DEFENSE, SPEED, JUMP, LUCK, CRITICAL, CRITICAL_DAMAGE, DODGE, HIT, BLOCK, REFLECT, ABSORB, REGENERATION, MANA, ENERGY, STAMINA, HUNGER, THIRST, OXYGEN, EXPERIENCE, LEVEL, MONEY, POINT, COIN
type: HEALTH
# Attribute value, supports: 0-999999
value: 100
# Attribute formula, supports: linear, exponential, logarithmic
formula: linear
# Attribute max, supports: 0-999999
max: 1000
# Attribute min, supports: 0-999999
min: 0
# Attribute step, supports: 0-999999
step: 1
# Attribute cost, supports: 0-999999
cost: 100
# Attribute currency, supports: coin, point, money
currency: coin
# Attribute level, supports: 1-100
level: 1
# Attribute max level, supports: 1-100
maxLevel: 100
# Attribute upgrade price, supports: 0-999999
upPrice: 100
# Attribute upgrade currency, supports: coin, point, money
upCurrency: coin
# Attribute upgrade type, supports: level, value, formula, max, min, step, cost, currency
upType: level
# Attribute upgrade value, supports: 1-100
upValue: 1
# Attribute upgrade max, supports: 1-100
upMax: 100
# Attribute upgrade min, supports: 1-100
upMin: 1
# Attribute upgrade step, supports: 1-100
upStep: 1
# Attribute upgrade formula, supports: linear, exponential, logarithmic
upFormula: linear
# Attribute upgrade cost, supports: 0-999999
upCost: 100
# Attribute upgrade currency, supports: coin, point, money
upCurrency: coin
# Attribute Types
| Type | Description |
|---|---|
| HEALTH | Health points |
| DAMAGE | Attack damage |
| DEFENSE | Defense points |
| SPEED | Movement speed |
| JUMP | Jump height |
| LUCK | Luck value |
| CRITICAL | Critical chance |
| CRITICAL_DAMAGE | Critical damage |
| DODGE | Dodge chance |
| HIT | Hit chance |
| BLOCK | Block chance |
| REFLECT | Damage reflection |
| ABSORB | Damage absorption |
| REGENERATION | Health regeneration |
| MANA | Mana points |
| ENERGY | Energy points |
| STAMINA | Stamina points |
| HUNGER | Hunger value |
| THIRST | Thirst value |
| OXYGEN | Oxygen level |
| EXPERIENCE | Experience points |
| LEVEL | Player level |
| MONEY | Money amount |
| POINT | Points amount |
| COIN | Coins amount |