# Skilltrees

&#x20;You can think of skilltrees like classes for players (for example knight and archer).

#### Skilltrees

Within the pet-type-file you can create the **skilltree**. Each **skilltree** needs its own name, which means that you aren't allowed to create **2 or more** skilltrees with **the same name** in the same file. If you create more than one, only the first will be used.

#### Level

Within a skilltree you can specify from which levels the pet should get a new ability or rather when existing abilities should be updated.

#### Skills

Within the levels you can specify which ability will be learnd or should be updated. Any Ability has it's own custom option that can be set in the skilltrees.

### Inheritance

**Skilltree**s are capable of inheritance which means if **skilltree** `a` inherits from **skilltree** `b`, **skilltree** `a` will have all the settings form **skilltree** `b` and in adition to the own settings. The inheritance of already inherted skills can be disabled by setting MyPet.Skilltree.InheritAlreadyInheritedSkills to `false`.


---

# Agent Instructions: 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://wiki.mypet-plugin.de/legacy/systems/skilltrees.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.
