![]() |
Major update on combat engine (damage/armor calculations) - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: News (/Forum-News) +--- Thread: Major update on combat engine (damage/armor calculations) (/Thread-Major-update-on-combat-engine-damage-armor-calculations) |
Major update on combat engine (damage/armor calculations) - Coruja - 01-29-2015 11:55 AM As promised, I'm bringing good news to everyone ![]() With some users feedback, I made a huge optimization on sphere internal damage/armor calculations. This means: the code is now lightweight, faster, and support some new features. If someone want use new features, just enable it and they will be ready to use. And if someone want keep using old calculations, they still avaible and fully working too. Changes:
Removed features (as discussed here):
These changes will be live on next nightly (30/01/15), I recommend everyone make some tests before use it on live servers, and also update your sphere.ini (CombatFlags list) and sphere_msgs.scp (just remove all combat_hit_* messages) Feel free to test it and make any suggestion More info about elemental engine (AOS) x old AR engine (pre-AOS): Spoiler (Click to View) RE: Major update on combat engine (damage/armor calculations) - Jim - 01-29-2015 01:47 PM Great! Thanks Coruja! :_) RE: Major update on combat engine (damage/armor calculations) - dagger4k - 01-29-2015 06:58 PM good work Coruja RE: Major update on combat engine (damage/armor calculations) - XuN - 01-29-2015 07:53 PM Good work, I have to request you to update sphere_combat.scp to keep reflected there the current base formulas and damages so anyone can have access to everything and make use of an updated and fast rework of the hardcoded engine. Also for me and Ben to keep the removed code in somewhere (targetted code is now in the current sphere_combat.scp) but if it's going to be removed it's not a big deal for us to give out one script with the code instead of making people to try formulas and code they possibly cannot figure out. And, again, nice work ![]() RE: Major update on combat engine (damage/armor calculations) - Lazarus - 02-10-2015 05:22 AM This is amazing. Thanks! RE: Major update on combat engine (damage/armor calculations) - Sharlenwar - 03-04-2015 05:42 AM Hey Coruja! Thanks for the amazing update! *Yes, I still watch these every so often* RE: Major update on combat engine (damage/armor calculations) - DerParagorn - 03-05-2015 08:15 AM Hallo i'am a new and i want to make my first shard. The New blood effects is this the blood spam on a combat? Can i disable this? RE: Major update on combat engine (damage/armor calculations) - advikahluwalia - 05-11-2015 07:36 PM Excellent.. Nice Work You Had Done Coruja :-) RE: Major update on combat engine (damage/armor calculations) - Lazarus - 09-10-2015 11:01 AM (01-29-2015 11:55 AM)Coruja Wrote: AR resist calculation: There is something weird about this formula. For example: Code: DAMAGE=50 The unique "RANDOM" PART OF THE CODE will be the 7,35 is this right? |