SWTOR Mechanics Forums
Damage and Healing formula - Printable Version

+- SWTOR Mechanics Forums (http://mmo-mechanics.com/swtor/forums)
+-- Forum: General (/forum-1.html)
+--- Forum: Game Mechanics (/forum-5.html)
+--- Thread: Damage and Healing formula (/thread-285.html)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Damage and Healing formula - Piree - 11-07-2011 08:53 PM

It's not betacake himself, it's some dude who is on the BetaCake forums. We should get him to SithWarrior.


RE: Damage and Healing formula - Freehugs - 11-08-2011 05:31 PM

Done some math with dual-wielding numbers, and the formula x*Main-hand + x*0.3*Off-hand + y*Bonus + z = tooltip damage is correct.

I also tested some new XML data and found our old formula works with up to date numbers, (1 + amountModifierPercent) * mainHandWeaponDamage + (1 + amountModifierPercent) * offHandWeaponDamage * 0.3 + standardDamage * standardDamagePercent + bonusDamage * coefficient
That will be the formula to use if we can get full new set of XML data.

The standardDamage of trained abilities is looked up on the damage per level table using level it's trainable.
The standardDamage of the tooltip values in the skill trees are based on the damage per level table using the level 5+5*Tier (i.e. 40 for a top tier attack).


RE: Damage and Healing formula - Ezmode - 11-08-2011 07:25 PM

Now, is there a confirmation where exactly talent mods are applied? I believe that they would be added in as such:

(1 + amountModifierPercent + TalentamountModifierPercent) * mainHandWeaponDamage + (1 + amountModifierPercent + TalentamountModifierPercent) * offHandWeaponDamage * 0.3 + standardDamage * standardDamagePercent + bonusDamage * coefficient

I will be plugging this formula into my spreadsheet tomorrow so MK and Scele can have a working toy to play with.


RE: Damage and Healing formula - Freehugs - 11-08-2011 07:38 PM

I would expect % buffs to be applied to the whole formula after everything else is calculated, but I have no data that will tell us either way.


RE: Damage and Healing formula - Masterkiller - 11-10-2011 02:42 AM

If I understand what you are saying about the level a rank is available, a Rank 10 Vicious Slash calculation would look like this:

NAKED Marauder with
Fictitious Bonus Damage: 300 (made up number)
Primary Weapon: Level 60 Artificat Lightsaber: 280-419 damage
Secondary Weapon:Level 60 Artificat Lightsaber: 280-419 damage

Vicious Slash Rank 10: Level 50
amountModifierPercent: 0.0199999996
coefficient: 1.53999996
standardDamage (lvl 50): 1610
standardDamageHealthPercent: 0.152999997

Minimum amount:




285.5999 + 85.67999 + 246.3 + 461.9999

~1079.5698


RE: Damage and Healing formula - Freehugs - 11-10-2011 02:53 AM

There's a new damage per level table, use the cbtToughness_player:

Code:
cbtToughness_weak: [ 1: 53, 2: 61, 3: 70, 4: 80, 5: 92, 6: 104, 7: 118, 8: 133, 9: 149, 10: 166, 11: 187, 12: 209, 13: 233, 14: 259, 15: 287, 16: 317, 17: 350, 18: 386, 19: 424, 20: 466, 21: 501, 22: 538, 23: 577, 24: 617, 25: 660, 26: 705, 27: 751, 28: 799, 29: 850, 30: 903, 31: 951, 32: 1001, 33: 1052, 34: 1105, 35: 1159, 36: 1214, 37: 1271, 38: 1330, 39: 1390, 40: 1452, 41: 1514, 42: 1578, 43: 1643, 44: 1709, 45: 1778, 46: 1847, 47: 1918, 48: 1991, 49: 2065, 50: 2140,  ],
   cbtToughness_standard: [ 1: 67, 2: 77, 3: 89, 4: 102, 5: 117, 6: 133, 7: 150, 8: 170, 9: 191, 10: 214, 11: 240, 12: 267, 13: 297, 14: 330, 15: 365, 16: 403, 17: 445, 18: 489, 19: 537, 20: 588, 21: 635, 22: 684, 23: 737, 24: 792, 25: 850, 26: 911, 27: 974, 28: 1041, 29: 1111, 30: 1185, 31: 1249, 32: 1314, 33: 1381, 34: 1450, 35: 1521, 36: 1594, 37: 1669, 38: 1746, 39: 1825, 40: 1905, 41: 1987, 42: 2071, 43: 2156, 44: 2244, 45: 2333, 46: 2424, 47: 2518, 48: 2613, 49: 2710, 50: 2809,  ],
   cbtToughness_strong: [ 1: 156, 2: 181, 3: 208, 4: 241, 5: 278, 6: 319, 7: 365, 8: 416, 9: 474, 10: 538, 11: 604, 12: 676, 13: 754, 14: 840, 15: 933, 16: 1035, 17: 1145, 18: 1265, 19: 1395, 20: 1536, 21: 1664, 22: 1800, 23: 1944, 24: 2097, 25: 2260, 26: 2433, 27: 2614, 28: 2806, 29: 3010, 30: 3227, 31: 3401, 32: 3578, 33: 3761, 34: 3950, 35: 4144, 36: 4342, 37: 4545, 38: 4755, 39: 4970, 40: 5190, 41: 5412, 42: 5641, 43: 5873, 44: 6111, 45: 6355, 46: 6603, 47: 6858, 48: 7116, 49: 7381, 50: 7650,  ],
   cbtToughness_boss_1: [ 1: 191, 2: 221, 3: 255, 4: 300, 5: 348, 6: 402, 7: 463, 8: 531, 9: 608, 10: 693, 11: 765, 12: 842, 13: 923, 14: 1009, 15: 1101, 16: 1198, 17: 1300, 18: 1408, 19: 1522, 20: 1642, 21: 1764, 22: 1891, 23: 2024, 24: 2164, 25: 2310, 26: 2462, 27: 2619, 28: 2782, 29: 2953, 30: 3131, 31: 3315, 32: 3504, 33: 3701, 34: 3906, 35: 4118, 36: 4337, 37: 4564, 38: 4800, 39: 5046, 40: 5298, 41: 5519, 42: 5747, 43: 5977, 44: 6213, 45: 6454, 46: 6699, 47: 6950, 48: 7204, 49: 7464, 50: 7728,  ],
   cbtToughness_boss_raid: [ 1: 397, 2: 457, 3: 525, 4: 606, 5: 695, 6: 793, 7: 902, 8: 1019, 9: 1146, 10: 1288, 11: 1417, 12: 1554, 13: 1699, 14: 1850, 15: 2010, 16: 2177, 17: 2352, 18: 2535, 19: 2728, 20: 2936, 21: 3147, 22: 3363, 23: 3588, 24: 3820, 25: 4083, 26: 4334, 27: 4593, 28: 4860, 29: 5144, 30: 5434, 31: 5941, 32: 6488, 33: 7080, 34: 7716, 35: 8399, 36: 9134, 37: 9920, 38: 10769, 39: 11676, 40: 12648, 41: 13642, 42: 14712, 43: 15851, 44: 17049, 45: 18339, 46: 19695, 47: 21134, 48: 22661, 49: 24267, 50: 25993,  ],
   cbtToughness_player: [ 1: 180, 2: 210, 3: 240, 4: 270, 5: 305, 6: 340, 7: 380, 8: 420, 9: 465, 10: 500, 11: 540, 12: 580, 13: 620, 14: 655, 15: 690, 16: 720, 17: 725, 18: 750, 19: 780, 20: 790, 21: 830, 22: 870, 23: 910, 24: 945, 25: 960, 26: 975, 27: 1005, 28: 1050, 29: 1085, 30: 1130, 31: 1175, 32: 1215, 33: 1220, 34: 1255, 35: 1280, 36: 1305, 37: 1320, 38: 1335, 39: 1350, 40: 1380, 41: 1400, 42: 1430, 43: 1440, 44: 1480, 45: 1490, 46: 1540, 47: 1545, 48: 1560, 49: 1575, 50: 1610,  ],
   cbtToughness_companion: [ 1: 180, 2: 210, 3: 240, 4: 270, 5: 305, 6: 340, 7: 380, 8: 420, 9: 465, 10: 500, 11: 540, 12: 580, 13: 620, 14: 655, 15: 690, 16: 720, 17: 725, 18: 750, 19: 780, 20: 790, 21: 830, 22: 870, 23: 910, 24: 945, 25: 960, 26: 975, 27: 1005, 28: 1050, 29: 1085, 30: 1130, 31: 1175, 32: 1215, 33: 1220, 34: 1255, 35: 1280, 36: 1305, 37: 1320, 38: 1335, 39: 1350, 40: 1380, 41: 1400, 42: 1430, 43: 1440, 44: 1480, 45: 1490, 46: 1540, 47: 1545, 48: 1560, 49: 1575, 50: 1610,  ],
   cbtToughness_boss_2: [ 1: 198, 2: 232, 3: 270, 4: 316, 5: 368, 6: 428, 7: 496, 8: 572, 9: 657, 10: 756, 11: 835, 12: 918, 13: 1008, 14: 1102, 15: 1202, 16: 1308, 17: 1420, 18: 1537, 19: 1663, 20: 1799, 21: 1936, 22: 2078, 23: 2226, 24: 2381, 25: 2558, 26: 2729, 27: 2906, 28: 3091, 29: 3289, 30: 3493, 31: 3706, 32: 3924, 33: 4154, 34: 4390, 35: 4635, 36: 4888, 37: 5151, 38: 5429, 39: 5716, 40: 6015, 41: 6267, 42: 6523, 43: 6784, 44: 7052, 45: 7330, 46: 7605, 47: 7882, 48: 8173, 49: 8469, 50: 8771,  ],
   cbtToughness_boss_3: [ 1: 235, 2: 272, 3: 312, 4: 361, 5: 416, 6: 474, 7: 541, 8: 614, 9: 692, 10: 793, 11: 881, 12: 974, 13: 1070, 14: 1172, 15: 1278, 16: 1396, 17: 1510, 18: 1640, 19: 1771, 20: 1911, 21: 2058, 22: 2201, 23: 2362, 24: 2524, 25: 2684, 26: 2852, 27: 3037, 28: 3215, 29: 3422, 30: 3621, 31: 3831, 32: 4045, 33: 4272, 34: 4511, 35: 4753, 36: 4994, 37: 5246, 38: 5504, 39: 5773, 40: 6049, 41: 6313, 42: 6589, 43: 6868, 44: 7152, 45: 7443, 46: 7743, 47: 8062, 48: 8374, 49: 8690, 50: 9020,  ],
   cbtToughness_boss_4: [ 1: 331, 2: 381, 3: 438, 4: 505, 5: 579, 6: 661, 7: 752, 8: 849, 9: 955, 10: 1074, 11: 1181, 12: 1295, 13: 1416, 14: 1542, 15: 1675, 16: 1814, 17: 1960, 18: 2113, 19: 2274, 20: 2447, 21: 2623, 22: 2803, 23: 2990, 24: 3183, 25: 3402, 26: 3612, 27: 3828, 28: 4050, 29: 4287, 30: 4529, 31: 4951, 32: 5407, 33: 5900, 34: 6430, 35: 6999, 36: 7611, 37: 8267, 38: 8974, 39: 9730, 40: 10540, 41: 11368, 42: 12260, 43: 13209, 44: 14207, 45: 15283, 46: 16412, 47: 17612, 48: 18884, 49: 20222, 50: 21661,  ]



RE: Damage and Healing formula - Masterkiller - 11-10-2011 03:04 AM

Readable format for StandardDamage for players.

idcbtToughness_player
1180
2210
3240
4270
5305
6340
7380
8420
9465
10500
11540
12580
13620
14655
15690
16720
17725
18750
19780
20790
21830
22870
23910
24945
25960
26975
271005
281050
291085
301130
311175
321215
331220
341255
351280
361305
371320
381335
391350
401380
411400
421430
431440
441480
451490
461540
471545
481560
491575
501610



RE: Damage and Healing formula - Sujin - 11-22-2011 06:01 AM

I am probably missing something obvious, but in the old XML, I found where the min/max damage range is for every item type. However, I am not sure how this damage calculation works with Force/Tech abilities. Should there be a separate table for each ability? or the base damage being pulled from the cbt_toughness table?


RE: Damage and Healing formula - Kaedis - 11-22-2011 08:01 AM

Base damage for force abilities is the max and min values (it's HP, health, or something similar, don't remember the exact label) multiplied by the cbt_toughness for either the level it was learned or the current level of the character (melee attacks used level learned, but our old force formula used the level of the character, so I'm not really sure which it is currently).


RE: Damage and Healing formula - Sujin - 11-22-2011 08:45 AM

So, min damage is just standardheathpercentmin * cbttoughness + power bonus damage * coefficient?