Nickolas Deluca
Member
- Joined
- Dec 7, 2016
- Messages
- 22
- Reaction score
- 6
As you can see right here in the vocations.cpp file, the gaincap is multiplied by 100.
I wanted to know why?
The reason is, we are setting up an account manager on our server, and it uses this values to create the character. It's weird that the server is always multiplying the cap values by 100. We "fixed" this on our sources, but shouldn't we fix it on the oficial repo as well?
C++:
if ((attr = vocationNode.attribute("gaincap"))) {
voc.gainCap = pugi::cast<uint32_t>(attr.value()) * 100;
}
I wanted to know why?
The reason is, we are setting up an account manager on our server, and it uses this values to create the character. It's weird that the server is always multiplying the cap values by 100. We "fixed" this on our sources, but shouldn't we fix it on the oficial repo as well?