Guide Changing pre-defined Set bonuses

Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

zOmbie

Administrator
Administrator
Joined
Jun 7, 2024
Messages
1,108
Solutions
29
Reaction score
1,162
Points
113
I'm not the best at writing tut's but this is pretty straight forward if any of you have questions feel free to ask.

Note: This was done on a V15 clean source but will work on any version, just modify to your own needs.

We will be adding DST_SPEED.

[expTable.inc]: These bonuses are kept in Setitem
Hey There!
Please login and(or) register to see this awesome content today.

[expTable.inc]: So we will need to add a new column to SetItem for Speed.
Hey There!
Please login and(or) register to see this awesome content today.

[Project.cpp]: Now we must search the source for "Setitem" which brings us to this block of code:
Hey There!
Please login and(or) register to see this awesome content today.

[Project.cpp]: So let's add speed to it.
Hey There!
Please login and(or) register to see this awesome content today.

[Project.h]: Then we find this:
Hey There!
Please login and(or) register to see this awesome content today.

[Project.h]: And make it so:
Hey There!
Please login and(or) register to see this awesome content today.

[Mover.cpp]: Now we must edit both these functions
Hey There!
Please login and(or) register to see this awesome content today.

[Mover.cpp]: To be like this:
Hey There!
Please login and(or) register to see this awesome content today.

[WndManager.cpp]: Now it's time to add the tooltip, so lets change this:
Hey There!
Please login and(or) register to see this awesome content today.

[WndManager.cpp]: To be like this
Hey There!
Please login and(or) register to see this awesome content today.