Hello.
I would like to share my point of view for creating custom skill without touching server engine code. First, here is how it look like in game:
and the code:
1. OTClient
Comparing main...feature/cooking · rookgaard/otclient (https://github.com/rookgaard/otclient/compare/main...feature/cooking)
2. Datapack
To increase cooking value you have to call
Enjoy!
I would like to share my point of view for creating custom skill without touching server engine code. First, here is how it look like in game:
and the code:
1. OTClient
Comparing main...feature/cooking · rookgaard/otclient (https://github.com/rookgaard/otclient/compare/main...feature/cooking)
2. Datapack
Comparing master...feature/cooking · rookgaard/forgottenserver
A free and open-source MMORPG server emulator written in C++ - Comparing master...feature/cooking · rookgaard/forgottenserver
github.com
To increase cooking value you have to call
Cooking.add(player, X)
in any place of your code.Enjoy!
Last edited: