Ancient Spellcraft

Ancient Spellcraft

7M Downloads

[Bug] Spell Blade configuration options for damage don't calculate correctly

KnightCa opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing issues

Observed behavior

Configurable Settings:
Spellblade base damage (Default 2, set to 3)
Spellblade damage increase per tier (Default 1, set to 3)

Tier Damage
Spell Dagger (Novice) 6 (6+0+0.25, round down)
Dirk (Apprentice) 8 (6+2+0.50, round down)
Sword (Advanced) 10 (6+4+0.75, round down)
Blade (Master) 13 (6+6+1)

Configurable Settings:
Spellblade base damage (Default 2, set to 3)
Spellblade damage increase per tier (Default 1, set to 2)

Tier Damage
Spell Dagger (Novice) 6 (6+0+0.25, round down)
Dirk (Apprentice) 7 (6+1+0.50, round down)
Sword (Advanced) 8 (6+2+0.75, round down)
Blade (Master) 10 (6+3+1)

Configurable Settings:
Spellblade base damage (Default 2, set to 2)
Spellblade damage increase per tier (Default 1, set to 1)

Tier Damage
Spell Dagger (Novice) 5 (5+0+0.25, round down)
Dirk (Apprentice) 5 (5+0+0.50, round down)
Sword (Advanced) 5 (5+0+0.75, round down)
Blade (Master) 6 (5+0+1)

Instead of calculating damage by adding the config base damage + config damage increase/tier ..
physical damage is calculated by adding the (config base damage +3) + ([config damage increase -1]/tier after novice) + 0.25/tier (round down)

Expected behavior

Configurable Settings:
Spellblade base damage (Default 2, set to 2)
Spellblade damage increase per tier (Default 1, set to 2)

Tier Damage
Spell Dagger (Novice) 4 (2+2)
Dirk (Apprentice) 6 (2+4)
Sword (Advanced) 8 (2+6)
Blade (Master) 10 (2+8)

Steps to reproduce

  1. Set configuration to above settings.
  2. Start Server and login
  3. Attack and notice damage is different than it should be.

Environment (Singleplayer/Server, etc.)

Issue present on both sides

Mod version

1.5.11-PreRelease-4f214c5

Forge version

1.12.2-forge-14.23.5.2860

Other mods

Electroblob Wizardry 4.3.12