abdala ragab
Veteran OT User
forgottenserver/src/player.cpp at 1.2 · otland/forgottenserver
A free and open-source MMORPG server emulator written in C++ - otland/forgottenserver
github.com
Can it be added in config to control combat levels?
will need to add something similar to ConfigManager::EXP_FROM_PLAYERS_LEVEL_RANGE in source
like ConfigManager:VPENFO_CONFIG
and i can add something like PVPENFO_CONFIG = 0.75
and in script return std::max<uint64_t>(0, std::floor(getLostExperience() * getDamageRatio(attacker) * ConfigManager:VPENFO_CONFIG));
but i need to declare something before it will work
ConfigManager::EXP_FROM_PLAYERS_LEVEL_RANGE
later i will dont need to recompile everytime when u want to change this 0.75
cuz it will be changable in config.lua
I hope so
i use tfs 1.2 windows
Last edited: