xackery / rebuildeq-v1

Rebuild Everquest
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Dynamically Autotrain Skills and Autoscribe Spells #1406

Open TheGrandPackard opened 7 years ago

TheGrandPackard commented 7 years ago

In the zone/exp.cpp file, skills are autotrained and spells are autoscribed. This is done with hardocded values and could be done using DB lookups or pulled from shared memory (if it's in there) and clean that code up substantially and reduce the overhead of maintaining it if spells change or skills change.

xackery commented 7 years ago

The spells should never really change though, minus one time final tweaks.. And it isn't like it needs a dynamic system, there's other parts of the code that could take advantage of variables, but writing an entire table out for this is a bit much imo. :)