OpenMU icon indicating copy to clipboard operation
OpenMU copied to clipboard

Damage calculations refactoring

Open ze-dom opened this issue 7 months ago • 0 comments

Still to do:

  • [x] Comment changed files with rationale & source references
  • [ ] Update plugins (after discussion)

Changes

  • Damage calculations reviewed end to end (related jewelry and pet items to come in future PR)
  • Added Elf's melee dmg logic
  • Added Elf's bolts/arrows dmg increase
  • Added "double wield" logic
  • Added DL skills dmg attribute relationships
  • Added Sum's Berserker magic effect
  • Added Sum's curse/wizardry dmg calcs/attribute relationships
  • Added ancient jewelry bonus attribute damage

Bugfixes

  • Fire socket option
  • Excellent +2% dmg options
  • MG can now equip a staff on RH
  • Removed Powerslash skill energy requirement

Notes

I followed the damage calculation sequence in zTeamS6.3 and emu sources and tried to keep things relatively close whenever possible (as usual, with some compromises here and there).

The original Summoner damage calculations seem to diverge a bit from the more "classical" ones (with its own specific method), which gave rise to a few more if's here and there :smile:. Anyway, let's discuss and seek out the possible better final product!

ze-dom avatar Jun 03 '25 11:06 ze-dom