Jump to content


How is Sacred 2 Weapon Damage Calculated


Recommended Posts

While talking about direct damage I noticed that there is no information about how weapon damage is calculated.

I had only a few old values from pre Ice and Blood on some papers, but comparing these numbers with the damage numbers in Ice and Blood I saw differences which are probably due to a change how stat points are used. Sadly I lack the time to play Sacred2 to do the tests and my daughter is still at hospital. So what I want you to do is helping with tests following test patterns I am asking for.

 

The test I have done so far:

Using a level 1 character with different white weapons(no attributes on them) using different stats.

Playing bronze (there might be damage multipliers in other difficulties)

No tactic lore taken

Now adding pieces with x% damage and plotting the function. It shows that: damage= weapon-base*(1+x/100)+stat_damage fits very well.

 

It seems as if the lower value is always rounded down and the upper value always rounded up. All my tests could be explained with this rounding and the above formula.

 

So it looks as if pressing C and looking at the stat supporting the weapon: the damage is just added last to the formula.

In other words the damage you receive from stats is a fixed amount. However this fixed amount is diffrent for different weapon types.

 

So the first result is:

 

Step1: Damage part from the stat supporting the weapon

Different weapon-types - even sharing the same supporting stat - may have different damage-values added by the supporting stat.

This stat related damage part seems to be added after all other damage calculations are done (at least in bronze).

 

 

In the final formula step1 will be probably the last step :)

 

 

HELP WANTED!

For the second test pattern I need help from people playing Ice and Blood. Take a naked level 1 character in bronze and equip it with different white weapons.

 

Write down the character-class, the value of the supporting stat, how much damage it shows, which base damage your weapon has and which type it is (not just throwing weapon). There might even be a difference for the different images of a weapon, so if it is a shuriken write shuriken and perhaps how many points it has. I do not know if there is a difference, but if we add the stat related damage to wiki a list of weapon types would be nice.

 

So an entry should be like (just some fantasy values):

Dryad, 30 dex, +8weapon damage, 24-32 base-damage, 4-pointed shuriken, damage shown: 31-42

 

Even this first test made me re-considering my melee characters already. If the stat related damage part is just added last and not boosted by any x% damage stuff- should I stop to push the main stat of my weapon for Ice and Blood builds? Just all into vitality or stamina?

Link to comment
 
  • 13 years later...
 
 
 
  • The title was changed to How is Sacred 2 Weapon Damage Calculated
 

The level difference bonus depends mostly on the color of the circle the enemies have under them. The paler the circle, the higher the damage bonus, reaching max when it becomes fully white. Same the other direction and deep purple. The acutal levels for the min and max vary depending on character level.

As for attribute bonuses, do a test with weapons. I wouldn't be surprised if fists were a special case scenario and the behavior was different for actual weapons. I am 99% sure it's just additive. Even just tested. Pumped 100 points into Strength, the Weapon damage bonus increased by 68 and the tooltip damages went up by basically the same amount. Slightly more for Pelting Strikes, so if anything, Strength bonus gets multiplied by the et_mult_weapondamage of a given CA. Definitely not % bonuses, because I tested on a character with nearly a 1000% bonus to damage.

Although..... I'm on the PFP patch. If you arrive at a different conclusion in the full vanilla game, then it's yet another thing that is different. Eagerly awaiting results.

Edited by idbeholdME
  • Thanks! 1
Link to comment
 
 

Here come the weapon tests :ninja:

Note: The testing is not very thorough as it is very tedious and time-consuming.

High Elf, level 200, starting with 10.6% survival bonus that grew to 20% over the course of the tests

Fighting against a Scarab, level 203

 

Example 1: No bonuses, just the weapon

Spoiler

Case 1:

Using fists

Damage bonus from strength: 44

Damage in inventory screen: 173-173

Actual damage dealt: 173 for regular hits, 198 for critical hits

Case 2:

Using a dagger with a base damage of 19-22 (The starting dagger from bronze difficulty)

Damage bonus from dexterity: 84

Damage in inventory screen: 97-113

Actual damage dealt: Between 98-113 for regular hits, (116, 110, 110, 112) for critical hits

Case 3:

Using a desert saber with a base damage of 324-388

Damage bonus from strength: 161

Damage in inventory screen: 471-564

Actual damage dealt: Between 472-560 for regular hits, (618, 630, 634, 628, 620, 614, 627, 637, 635) for critical hits

 

Example 2: Same weapons, but now with added 200 flat damage from rings

Spoiler

Case 4:

Using fists + rings with 200 flat damage

Damage bonus from strength: 44

Damage in inventory screen: 373-373

Actual damage dealt: 373 for regular hits, 439 for critical hits

Case 5:

Using the dagger + rings with 200 flat damage

Damage bonus from dexterity: 85

Damage in inventory screen: 298-313

Actual damage dealt: Between 298-313 for regular hits, (347, 347, 354, 357, 355) for critical hits

Case 6:

Using the desert saber + rings with 200 flat damage

Damage bonus from strength: 163

Damage in inventory screen: 672-766

Actual damage dealt: Between 673-761 for regular hits, (864, 874, 876, 882) for critical hits

 

Example 3: Same weapons, but instead with added +85% physical damage from rings

Spoiler

Case 7:

Using fists + rings with +85% physical damage

Damage bonus from strength: 44

Damage in inventory screen: 282-282 (MISLEADING)

Actual damage dealt: 320 for regular hits, 368 for critical hits

Case 8:

Using the dagger + rings with +85% physical damage

Damage bonus from dexterity: 85

Damage in inventory screen: 114-132 (MISLEADING)

Actual damage dealt: 205 (Crit), 185, 206, 193, 190, 198, 192, 192, 206, 193, 204, 198, 183, 182, 202, 205, 195, 185, 195, 211 (Crit), 205, 203 (Crit), 190, 186, 183, 195, 203 (Crit), 189, 188, 194

Attribute bonus should be: 79-92

Expected damage range: 181.30-210.90

Case 9:

Using the desert saber + whet blacksmith arts for +86.4% (we can't use the physical damage rings because the desert saber has a magic component)

Damage bonus from strength: 165

Damage in inventory screen: 753-903 (MISLEADING)

Actual damage dealt: 903, 955, 954, 1027, 908, 1047, 912, 964, 1029, 899, 906, 1193 (Crit), 914, 996, 925, 932, 949, 1182 (Crit), 1157 (Crit), 1036, 910, 921, 930, 995, 913, 1036, 903, 1153 (Crit), 966, 1026, 1192 (Crit), 1191 (Crit), 955, 987, 1027, 931, 972, 980, 1160 (Crit), 1035, 965, 958, 1024, 1037, 900, 928, 945, 1166 (Crit), 1153 (Crit), 930 ... 1049 ... 892 ... 1050 ... 889 ... 1052

Attribute bonus should be: 150-180

Expected damage range: 883.54-1058.75

 

Quick summary:

In example 1 and example 2, we can see that whatever is stated in the inventory screen is the actual damage dealt (according to the floating numbers). In example 3 we can see that once we add a percentage bonus, then a discrepancy appears between what is shown in the inventory screen and the floating numbers.

Also, since the dagger has a very low base damage, there is barely any difference in damage between regular hits and critical hits. This is a very extreme example which shows us that the attribute bonus is not multiplied by the critical hit multiplier.

The sample size is very small and we cannot use that to draw conclusions about specifics, but I think it is enough to illustrate the points I'm trying to make.

Edited by Maneus
  • Appreciation 1
Link to comment
 
5 hours ago, Maneus said:

I'm curious, did you look at what is displayed in the inventory screen, or the actual damage - the floating numbers when you hit enemies? My tests above suggest that there is a difference between the two. In the inventory screen, yes, the attribute bonus is not multiplied by any percentage bonuses (Tactics Lore, +X% damage rings and whet blacksmith arts, the % bonus from pelting strikes, etc.). It might be multiplied by the et_mult_weapondamage - I will do more tests with combat arts to figure these things out. But when it comes to actual damage dealt, the floating numbers suggest that the attribute bonus is multiplied by all of the percentage bonuses. Unless the floating numbers are misleading too, which is something that I plan to test too.

As for testing with weapons instead of with fists - I'll post some results soon :)

 

 

Just the tooltip. Couldn't really do mild tests because because it was on my fully built level 200 character. So wouldn't really notice a difference between 60K damage and 60.3K damage with the big weapon spread.

 

But it seems like it'd be pretty easy to test. Just pump Strength to ridiculous levels through character editor, equip some % damage bonuses and then check whether the damage went up by the difference on the attribute tooltip or a lot more.

Also, there is a hidden level scaling for the effectiveness of the attribute bonus based on the weapon level. The higher the weapon level, the less effective the damage bonus from the attribute. Theoretically, if you equipped 2 weapons which were exactly the same other than item level, the higher level item would get lower damage bonus from the attribute. IIRC, this change was introduced in Ice & Blood. In vanilla Sacred 2, the attribute bonuses to weapon damage did actually scale.

It is also possible that the PFP adjusted some weapon calculation logic when it comes to the tooltips and the tooltips actually show the correct values. I know for certain that putting points into Strength or Dexterity for the purposes of weapon damage has next to no effect on the overall damage, even with massive damage bonuses equipped, which made me pretty sure the bonus is just flatly added after all calculations.

Edited by idbeholdME
  • Like! 1
Link to comment
 
 
 
 
 
 
 
1 hour ago, idbeholdME said:

Now this is breaking some new ground. Don't think it was ever specifically documented, how the various balance.txt parameters affected the weapon and attribute damage calculations.

Looking at the itemLevelMultiplier table, it's no wonder attribute scaling does next to nothing in the late game.

IIRC, in vanilla Sacred 2, without Ice & Blood, the attribute scaling was much better in general. Could probably be interesting to compare the values of these parameters between the versions. I think the itemLevelMultiplier was not present at all before, so it was probably 1 for all item levels. Or the values got massively lower in I&B due to some formula change.

 

Indeed. As the item level goes up, the bonus from each individual point of strength and/or damage goes down. When testing with fists, it is common to see the bonus damage drop after a level-up. Especially in the early levels. This is because the base fist damage does not increase on every level. Well not that common actually, since the attributes naturally increase too. I forgot I was testing with a constant value :lol:

It appears that weapons with high base damage for their item level (typically two-handed) receive the biggest bonus to damage.

Still, the overall sentiment remains the same.

 

Next, I'll be looking into spell-based combat arts and how intelligence affects them :)

Edited by Maneus
  • Thanks! 1
Link to comment
 
6 hours ago, Maneus said:

Another breakthrough! Thank you, idbeholdME, for telling me about attrWdam_fact - that was key!

 

How the bonus damage from strength is calculated:

The formula is:

DamageBonus = Strength * AverageBaseDamage * attrWdam_fact * ItemLevelMultiplier / BasepointsMultiplier

Where:

- DamageBonus - The value shown in the tooltip when you hover over the strength attribute (Weapon Damage +X)

- Strength - The total strength value (after Survival Bonus).

- AverageBaseDamage - The base fist damage OR the average base damage of the weapon.

- attrWdam_fact - From balance.txt. Default value is 250 (unmodded game).

- BasepointsMultiplier - From balance.txt. Default value is 500 (unmodded game).

- ItemLevelMultiplier - A special multiplier that involves the item level and TopLevelCalc from balance.txt. For fists the item level is equal to the character level. See the table below:

 

ItemLevelMultiplier table

  Reveal hidden contents

How to get these numbers:

  Reveal hidden contents

 

I'm sure the values from the table above are produced from a mathematical function, but I'm not that good at math to find it. It certainly involves the value TopLevelCalc from balance.txt (default value 200). Changing that value produces drastically different results for ItemLevelMultiplier.

 

Some other notes:

BasepointsMultiplier does not affect fists damage, but it does have a big effect on weapon damage. Setting it to 0 is no different than setting it to 1. I assume this is done to avoid division by 0.

The ItemLevelMultiplier table is not affected by character class or difficulty setting.

The calculated damage bonus can contain a fractional part (e.g. 10.8), but it is shown as 10 in the tooltip. In other words, it is rounded down. But this might be just for presentation. Will have to test.

There are a few very specific cases, where there is a discrepancy between the calculated result and the value shown in-game. For example:

  Reveal hidden contents

 

Enough for now :)

 

Edit: The formula for dexterity or intelligence is absolutely the same! Just use dexterity or intelligence instead of strength.

Maneus, thank you for this break neck pace (friend you must have the BEST coffee!! :superman: )  on Sacred 2 Calculations!

I was thinking about getting your work into a area that has even more reach... if you want i can change you into an editor for SacredWiki and you can contribute, copy paste your work into the wiki in the section for for Player Contributed guides... 

https://www.sacredwiki.org/index.php/Sacred_2:Sacred_2_Player_Contributed_Guides

and at the bottom of that wiki page you can put in a link linking to your latest work here on this forum.  

Would that be okay

:crazy_pilot:

gogo

  • Thanks! 1
Link to comment
 
15 minutes ago, gogoblender said:

Maneus, thank you for this break neck pace (friend you must have the BEST coffee!! :superman: )  on Sacred 2 Calculations!

I was thinking about getting your work into a area that has even more reach... if you want I can change you into an editor for SacredWiki and you can contribute, copy paste your work into the wiki in the section for for Player Contributed guides... 

https://www.sacredwiki.org/index.php/Sacred_2:Sacred_2_Player_Contributed_Guides

and at the bottom of that wiki page you can put in a link linking to your latest work here on this forum.  

Would that be okay

:crazy_pilot:

gogo

 

Thank you, gogo. That sounds really cool :wow:. I do have some ideas... Well, all in good time. Right now I'd like explore more mechanics and do more testing. I'll message you when I think something is worthy enough to put on a wiki :D 

 

  • Appreciation 1
Link to comment
 
 

Here are some examples. I'm making a new post because the previous one is too big for comfortable editing.

 

Example 1: Shadow Warrior, level 1, Skeletal Fortification, level 1

Spoiler

Total intelligence 22

Skeletal Fortification, level 1, no modifications

BaseDamage = 26 (Physical)

Spoiler

FinalCombatArtLevel = 1
InitialDamage = 700
DamagePerLevel = 350
SumPercentageBonuses = 0
SpellBaseDamage = 25

BaseDamage = FLOOR(FLOOR((InitialDamage + FLOOR(DamagePerLevel * FinalCombatArtLevel)) * SpellBaseDamage * 0.001) * (1 + SumPercentageBonuses))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350 * 1)) * 25 * 0.001) * (1 + 0))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350)) * 0.025) * 1)
BaseDamage = FLOOR((700 + 350) * 0.025)
BaseDamage = FLOOR(1050 * 0.025)
BaseDamage = FLOOR(26.25)
BaseDamage = 26

IntelligenceBonus = 3.77 (Reference value is 3)

Spoiler

Intelligence = 22
attrSdam_fact = 334
SpellBaseDamage = 25
BaseCombatArtLevel = 1
CharacterLevel = 1

IntelligenceMultiplier = 0.001 * FLOOR(attrSdam_fact * 0.001 * FLOOR((25 / SpellBaseDamage) * FLOOR(Intelligence * 40 / (1 + MIN(BaseCombatArtLevel, CEIL(CharacterLevel / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(334 * 0.001 * FLOOR((25 / 25) * FLOOR(22 * 40 / (1 + MIN(1, CEIL(1 / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(1 * FLOOR(880 / (1 + MIN(1, CEIL(0.3333333333333333))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / (1 + MIN(1, 1))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / (1 + 1)))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / 2))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(440))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * 440)
IntelligenceMultiplier = 0.001 * FLOOR(146.96)
IntelligenceMultiplier = 0.001 * 146
IntelligenceMultiplier = 0.146
IntelligenceMultiplier = 0.145 (Precision loss from 32-bit float)

IntelligenceBonus = BaseDamage * IntelligenceMultiplier
IntelligenceBonus = 26 * 0.145
IntelligenceBonus = 3.77

FinalDamage = BaseDamage + IntelligenceBonus
FinalDamage = 26 + 3.77
FinalDamage = 29.77 (Reference value is 29)

Reference value for combat art level 2 is 40.

 

Example 2: Shadow Warrior, level 1, Skeletal Fortification, level 49 (Requires Astral Lord Mastery, level 200)

Spoiler

Total intelligence 22

Skeletal Fortification, level 49, no modifications

BaseDamage = 446 (Physical)

Spoiler

FinalCombatArtLevel = 49
InitialDamage = 700
DamagePerLevel = 350
SumPercentageBonuses = 0
SpellBaseDamage = 25

BaseDamage = FLOOR(FLOOR((InitialDamage + FLOOR(DamagePerLevel * FinalCombatArtLevel)) * SpellBaseDamage * 0.001) * (1 + SumPercentageBonuses))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350 * 49)) * 25 * 0.001) * (1 + 0))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(17150)) * 0.025) * 1)
BaseDamage = FLOOR((700 + 17150) * 0.025)
BaseDamage = FLOOR(17850 * 0.025)
BaseDamage = FLOOR(446.25)
BaseDamage = 446

IntelligenceBonus = 65.116 (Reference value is 64)

Spoiler

Intelligence = 22
attrSdam_fact = 334
SpellBaseDamage = 25
BaseCombatArtLevel = 49
CharacterLevel = 1

IntelligenceMultiplier = 0.001 * FLOOR(attrSdam_fact * 0.001 * FLOOR((25 / SpellBaseDamage) * FLOOR(Intelligence * 40 / (1 + MIN(BaseCombatArtLevel, CEIL(CharacterLevel / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(334 * 0.001 * FLOOR((25 / 25) * FLOOR(22 * 40 / (1 + MIN(49, CEIL(1 / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(1 * FLOOR(880 / (1 + MIN(49, CEIL(0.3333333333333333))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / (1 + MIN(49, 1))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / (1 + 1)))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(880 / 2))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(440))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * 440)
IntelligenceMultiplier = 0.001 * FLOOR(146.96)
IntelligenceMultiplier = 0.001 * 146
IntelligenceMultiplier = 0.146
IntelligenceMultiplier = 0.145 (Precision loss from 32-bit float)

IntelligenceBonus = BaseDamage * IntelligenceMultiplier
IntelligenceBonus = 446 * 0.145
IntelligenceBonus = 64.67

FinalDamage = BaseDamage + IntelligenceBonus
FinalDamage = 446 + 64.67
FinalDamage = 510.67 (Reference value is 510)

Reference value for combat art level 49.6 is 516

 

Example 3: Shadow Warrior, level 200, Skeletal Fortification, level 1

Spoiler

Total intelligence 462

Skeletal Fortification, level 1, no modifications

BaseDamage = 26 (Physical)

Spoiler

FinalCombatArtLevel = 1
InitialDamage = 700
DamagePerLevel = 350
SumPercentageBonuses = 0
SpellBaseDamage = 25

BaseDamage = FLOOR(FLOOR((InitialDamage + FLOOR(DamagePerLevel * FinalCombatArtLevel)) * SpellBaseDamage * 0.001) * (1 + SumPercentageBonuses))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350 * 1)) * 25 * 0.001) * (1 + 0))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350)) * 0.025) * 1)
BaseDamage = FLOOR((700 + 350) * 0.025)
BaseDamage = FLOOR(1050 * 0.025)
BaseDamage = FLOOR(26.25)
BaseDamage = 26

IntelligenceBonus = 80.21 (Reference value is 80)

Spoiler

Intelligence = 462
attrSdam_fact = 334
SpellBaseDamage = 25
BaseCombatArtLevel = 1
CharacterLevel = 200

IntelligenceMultiplier = 0.001 * FLOOR(attrSdam_fact * 0.001 * FLOOR((25 / SpellBaseDamage) * FLOOR(Intelligence * 40 / (1 + MIN(BaseCombatArtLevel, CEIL(CharacterLevel / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(334 * 0.001 * FLOOR((25 / 25) * FLOOR(462 * 40 / (1 + MIN(1, CEIL(200 / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(1 * FLOOR(18480 / (1 + MIN(1, CEIL(66.66666666666667))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + MIN(1, 67))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + 1)))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / 2))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(9240))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * 9240)
IntelligenceMultiplier = 0.001 * FLOOR(3086.16)
IntelligenceMultiplier = 0.001 * 3086
IntelligenceMultiplier = 3.086
IntelligenceMultiplier = 3.085 (Precision loss from 32-bit float)

IntelligenceBonus = BaseDamage * IntelligenceMultiplier
IntelligenceBonus = 26 * 3.085
IntelligenceBonus = 80.21

FinalDamage = BaseDamage + IntelligenceBonus
FinalDamage = 26 + 80.21
FinalDamage = 106.21 (Reference value is 106)

Reference value for combat art level 2 is 106 (The same as level 1)

 

Example 4: Shadow Warrior, level 200, Skeletal Fortification, level 98 (Requires Astral Lord Mastery, level 200)

Spoiler

Total intelligence 462

Skeletal Fortification, level 98, no modifications

BaseDamage = 875 (Physical)

Spoiler

FinalCombatArtLevel = 98
InitialDamage = 700
DamagePerLevel = 350
SumPercentageBonuses = 0
SpellBaseDamage = 25

BaseDamage = FLOOR(FLOOR((InitialDamage + FLOOR(DamagePerLevel * FinalCombatArtLevel)) * SpellBaseDamage * 0.001) * (1 + SumPercentageBonuses))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350 * 98)) * 25 * 0.001) * (1 + 0))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(34300)) * 0.025) * 1)
BaseDamage = FLOOR((700 + 34300) * 0.025)
BaseDamage = FLOOR(35000 * 0.025)
BaseDamage = FLOOR(875)
BaseDamage = 875

IntelligenceBonus = 78.75 (Reference value is 78)

Spoiler

Intelligence = 462
attrSdam_fact = 334
SpellBaseDamage = 25
BaseCombatArtLevel = 98
CharacterLevel = 200

IntelligenceMultiplier = 0.001 * FLOOR(attrSdam_fact * 0.001 * FLOOR((25 / SpellBaseDamage) * FLOOR(Intelligence * 40 / (1 + MIN(BaseCombatArtLevel, CEIL(CharacterLevel / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(334 * 0.001 * FLOOR((25 / 25) * FLOOR(462 * 40 / (1 + MIN(98, CEIL(200 / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(1 * FLOOR(18480 / (1 + MIN(98, CEIL(66.66666666666667))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + MIN(98, 67))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + 67)))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / 68))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(271.7647058823529))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * 271)
IntelligenceMultiplier = 0.001 * FLOOR(90.514)
IntelligenceMultiplier = 0.001 * 90
IntelligenceMultiplier = 0.09

IntelligenceBonus = BaseDamage * IntelligenceMultiplier
IntelligenceBonus = 875 * 0.09
IntelligenceBonus = 78.75

FinalDamage = BaseDamage + IntelligenceBonus
FinalDamage = 875 + 78.75
FinalDamage = 953.75 (Reference value is 953)

Reference value for combat art level 98.9 is 962

 

Example 5: Shadow Warrior, level 200, Skeletal Fortification, level 3, +85.1% physical damage

Spoiler

Total intelligence 462

Skeletal Fortification, level 3, no modifications

BaseDamage = 79 (Physical)

Spoiler

FinalCombatArtLevel = 3
InitialDamage = 700
DamagePerLevel = 350
SumPercentageBonuses = 851 (Shown as 85.0% due to precision loss)
SpellBaseDamage = 25

BaseDamage = FLOOR(FLOOR((InitialDamage + FLOOR(DamagePerLevel * FinalCombatArtLevel)) * SpellBaseDamage * 0.001) * (1 + SumPercentageBonuses))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(350 * 3)) * 25 * 0.001) * (1 + 851 / 1000))
BaseDamage = FLOOR(FLOOR((700 + FLOOR(1050)) * 0.025) * (1 + 0.851))
BaseDamage = FLOOR(FLOOR((700 + 1050) * 0.025) * 1.851)
BaseDamage = FLOOR(FLOOR(1750 * 0.025) * 1.851)
BaseDamage = FLOOR(FLOOR(43.75) * 1.851)
BaseDamage = FLOOR(43 * 1.851)
BaseDamage = FLOOR(79.593)
BaseDamage = 79

IntelligenceBonus = 121.818 (Reference value 121)

Spoiler

Intelligence = 462
attrSdam_fact = 334
SpellBaseDamage = 25
BaseCombatArtLevel = 3
CharacterLevel = 200

IntelligenceMultiplier = 0.001 * FLOOR(attrSdam_fact * 0.001 * FLOOR((25 / SpellBaseDamage) * FLOOR(Intelligence * 40 / (1 + MIN(BaseCombatArtLevel, CEIL(CharacterLevel / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(334 * 0.001 * FLOOR((25 / 25) * FLOOR(462 * 40 / (1 + MIN(3, CEIL(200 / 3))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(1 * FLOOR(18480 / (1 + MIN(3, CEIL(66.66666666666667))))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + MIN(3, 67))))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / (1 + 3)))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(18480 / 4))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * FLOOR(4620))
IntelligenceMultiplier = 0.001 * FLOOR(0.334 * 4620)
IntelligenceMultiplier = 0.001 * FLOOR(1543.08)
IntelligenceMultiplier = 0.001 * 1543
IntelligenceMultiplier = 1.543
IntelligenceMultiplier = 1.542 (Precision loss from 32-bit float)

IntelligenceBonus = BaseDamage * IntelligenceMultiplier
IntelligenceBonus = 79 * 1.542
IntelligenceBonus = 121.818

FinalDamage = BaseDamage + IntelligenceBonus
FinalDamage = 79 + 121.818
FinalDamage = 200.818 (Reference value is 200)

Reference value for combat art level 4 is 214.

 

Edited by Maneus
  • Appreciation 1
Link to comment
 
 
 
16 hours ago, SLD said:

You don't give any explanation as to how you get this. I guess you have bonus points. But you would have to use the full number of points pre reduction acording to this:

so your calculation is off and as I don't know the number of bonus points you have I can't tell what the correct values would be.
 

Assuming we do have to use the runes read = BaseCombatArtLevel, which in the previous example would have been 125, we get a result (6723) that is further off from the tooltip in-game (6751). The original discrepancy is also maybe caused due to having a fractional CA level. The game is also finnicky when it comes to rounding those. It could easily be either 125.81 or 125.89.

16 hours ago, SLD said:

I do not understand how you can come to this conclusion. At higher Levels a character is expected to have access to higher attribute values. But also:Higher Level weapons have a higher base damage. So for attacks if you had no "diminishing returns" on the attribute effectiveness 1000 str would add the same relative amount on lvl 1 and a lvl 200 weapon yet its supposed to give about the same absolute amount.

Simply in-the-field experience. At later levels with high level weapons, the damage increases from STR and DEX are basically meaningless, with the base value of attrWdam_fact being as low as it is. Try it yourself with the character editor. Give yourself 500 free points, pump strength and see how slowly the damage goes up when you have a character with level 150+ and have a 175+ level weapon.

The lower level weapons actually do gain much higher attribute bonuses. As can be seen from the table, a level 1 weapon will get roughly 12 times more effective increase in damage from the relevant attribute than a level 200 one. Even then, due to the very low value of attrWdam_fact, the increases are still irrelevant. A single flat damage ring will give you the damage equal to a couple hundred strength points. There is no realistic scenario where putting that point into vitality, stamina or even willpower won't give incomparably more to your character.

Here is a video from a level 200 character with a level 242 weapon (shown at the end of the video), where I dump over 100 points into strength. Strength goes up from 684 to 868 and the tooltip bonus goes up from 347 to 441 and the minimum damage of basic weapon attack goes up by a mere 78 points.

https://www.dropbox.com/scl/fi/w83l5zmsuz81w6wvqu0y4/Sacred-2-Ice-Blood-2024-06-25-22-03-17.mp4?rlkey=7sf2n3udm33559qtnolnbtt6o&st=qp4vgjb6&dl=0

Even tried removing the converter to check whether Strength only increases the physical damage or something but no, the damage increases at the same speed even without the converter.

As for STR and DEX bonuses not being multipled by extra damage, performed a very easy check - Battle Stance with the Aggression mod, which currently gives my character +453.8% extra damage. The value of the STR bonus did not change before and after activating it. So no, they do not scale with % bonuses and are just added additively to the final result, not even the base weapon damage like rings, but just a flat + after all other calculations are done. Meaning irrelevant in the later stages of the game. This is at least how it works with the PFP.

One of 2 things was done in Ice & Blood:

1) Either they disabled the attribute bonus scaling with % bonuses (most likely)

2) They somehow changed the formula for it.

Either way, it used to be viable to put points into STR and DEX before Ice & Blood release and you could meaningfully increase damage with them. So much so in fact, that it was deemed worth nerfing (into oblivion) in the expansion.

Edited by idbeholdME
  • Like! 1
Link to comment
 
18 hours ago, idbeholdME said:

There is no realistic scenario where putting that point into vitality, stamina or even willpower won't give incomparably more to your character.

Well I can say for sure that vitality and willpower do absolutely nothing on a character with 100% mitigation, which I would consider a very realistic scenario...
 

18 hours ago, idbeholdME said:

Here is a video from a level 200 character with a level 242 weapon (shown at the end of the video), where I dump over 100 points into strength. Strength goes up from 684 to 868 and the tooltip bonus goes up from 347 to 441 and the minimum damage of basic weapon attack goes up by a mere 78 points.

Looking at the Video example:
Weapon Damage is 604-853 thats 1457/2 average or ~728.5
The original 684 STR show a damage bonus of 347 which is about 0.507 dmg per point of STR
STR is then being raised to 868 so it goes up by 184 points so STR damage Bonus is expected to rise by ~93.345 damage points
CA dmg rises from 25355-33954 to 25433-34064 which is a change of 78-110 or an average of 188/2 = 94 hmm pretty close

how much did it do now? Well I can't see the rest of the gear but if there were no added dmg rings outside your weapon:
average base dmg goes up from 728,5+347=1031 to 1125 or in realtive terms 94/1031= ~9.1% multiplicative increase in damage. For spending only 139 attribute points. Doesn't look like nothing to me...

 

18 hours ago, idbeholdME said:

As for STR and DEX bonuses not being multipled by extra damage, performed a very easy check - Battle Stance with the Aggression mod, which currently gives my character +453.8% extra damage. The value of the STR bonus did not change before and after activating it. So no, they do not scale with % bonuses and are just added additively to the final result, not even the base weapon damage like rings, but just a flat + after all other calculations are done. Meaning irrelevant in the later stages of the game. This is at least how it works with the PFP.

And this is were I give up on you. Maneus and I have already told you that the tooltip dmg is WRONG! Your video shows again that you have done no testing at all with the actual damage done and only looked at the proven wrong tooltip to contradict our reality. Here again Maneus' findings:

On 6/16/2024 at 10:02 PM, Maneus said:

4) When it comes to actual damage dealt, the attribute bonus (from Strength, Dexterity, Intelligence) IS actually multiplied by any percentage bonuses you have.

I hope the confusion is now finally cleared up. I don't know what else I could say to make it more clear.

  • Like! 1
Link to comment
 
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...