Starting today we'll be going throughout all of our source code to modify how functions are called. so what?
Benefit
With this new implementation chances to have custom source modifications conflict when you update hercules will be drastically reduced. How? Instead of modifying existing functions users will be able to create a new version of them elsewhere, e.g. in a custom file, and have it replace the original one. How? very simple.
battle->check_target = my_new_check_target_function;
PluginsThis change opens the possibility for a new plugin implementation in the future.
Project Vision
We understand this move will conflict with some points in our project vision, we'll be modifying it soon.
More
We want Hercules to stand out, with that in mind we've been planning features exclusive to Hercules, features other projects won't be able to merge. And how is that even possible? features that will integrate with our forum is one example of them. For example a feature capable of automatically looking for new updates in scripts/modifications downloaded from our upcoming downloads section.
MVP killed -> save to db left respawn time
Server restarted or npc reloaded -> server fetch respawn time from db then parse then load to its ticking process before respawn
this will only work if the MVP mob dies after server initial start...
ATM just an idea and the codes are still in my brain..if I have time I'll do it..