Post by Indominable J on Nov 27, 2016 17:13:12 GMT
From: www.reddit.com/r/SWGalaxyOfHeroes/comments/5f433c/explanation_of_how_ship_stats_work_and_data_tables/
So I'm dealing with implementing ship stats right now and I'm 99% sure what I'm about to say is correct. I just figured I would make a post since I've had questions asked about how it works.
So the way ship stats are calculated are this equation:
ship_stat = crew_rating * upgrade_multiplier * stat_contribution_value
Now to get each of these items you have to understand some new things:
First you need to calculate the crew ratings using tables they have ingame for the various levels of different things. The data is below for the different types. The equation below are all the ratings based on the level from the table data
crew_rating = unit_level + star_level + gear_level_and_pieces + ability_levels + mod_levels
Second you need to get the "Upgrade multiplier". Really easy and found ingame. This is what increasing the star level on your ship increases.
Third you need to get get the stat rating from the crew contribution table in game data. This isn't found in the ingame UI and will most likely be something we put on the ship pages so people can see how different stats start at base.
An example of what all this means: If you are looking to increase your ship's speed, you won't notice the difference between +health and +30 speed mods. What you will see a difference in is 4 pip and 5 pip mods. That extra level increases the crew rating, which in turn increases the speed amount. If you were to swap out your +30 primary speed mod with a +health mod, your speed would stay the same as long as the pip level is the same.
Here are the different rating tables
Rating per gear piece at tier
Rating per unit rarity
Rating per ability level
Rating per mod dots and level
Rating per unit level
So I'm dealing with implementing ship stats right now and I'm 99% sure what I'm about to say is correct. I just figured I would make a post since I've had questions asked about how it works.
So the way ship stats are calculated are this equation:
ship_stat = crew_rating * upgrade_multiplier * stat_contribution_value
Now to get each of these items you have to understand some new things:
First you need to calculate the crew ratings using tables they have ingame for the various levels of different things. The data is below for the different types. The equation below are all the ratings based on the level from the table data
crew_rating = unit_level + star_level + gear_level_and_pieces + ability_levels + mod_levels
Second you need to get the "Upgrade multiplier". Really easy and found ingame. This is what increasing the star level on your ship increases.
Third you need to get get the stat rating from the crew contribution table in game data. This isn't found in the ingame UI and will most likely be something we put on the ship pages so people can see how different stats start at base.
An example of what all this means: If you are looking to increase your ship's speed, you won't notice the difference between +health and +30 speed mods. What you will see a difference in is 4 pip and 5 pip mods. That extra level increases the crew rating, which in turn increases the speed amount. If you were to swap out your +30 primary speed mod with a +health mod, your speed would stay the same as long as the pip level is the same.
Here are the different rating tables
Rating per gear piece at tier
Tier | Value |
1 | 7 |
2 | 22 |
3 | 28 |
4 | 37 |
5 | 44 |
6 | 56 |
7 | 75 |
8 | 81 |
9 | 95 |
10 | 118 |
11 | 132 |
12 | 140 |
Rating per unit rarity
Star | Value |
1 | 200 |
2 | 300 |
3 | 450 |
4 | 675 |
5 | 1013 |
6 | 1773 |
7 | 3103 |
Rating per ability level
Level | Value |
1 | 0 |
2 | 28 |
3 | 65 |
4 | 109 |
5 | 184 |
6 | 265 |
7 | 383 |
8 | 523 |
Rating per mod dots and level
Level | 1 Dot | 2 Dot | 3 Dot | 4 Dot | 5 Dot | 6 Dot | 7 Dot |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
2 | 2 | 2 | 2 | 3 | 3 | 3 | 4 |
3 | 3 | 3 | 4 | 5 | 6 | 7 | 9 |
4 | 4 | 4 | 6 | 8 | 10 | 13 | 17 |
5 | 5 | 5 | 8 | 12 | 15 | 20 | 28 |
6 | 6 | 6 | 11 | 16 | 21 | 29 | 43 |
7 | 8 | 8 | 14 | 20 | 28 | 41 | 61 |
8 | 9 | 9 | 17 | 26 | 36 | 54 | 84 |
9 | 10 | 10 | 20 | 31 | 45 | 70 | 111 |
10 | 11 | 11 | 24 | 37 | 55 | 87 | 142 |
11 | 12 | 13 | 27 | 44 | 66 | 107 | 178 |
12 | 13 | 14 | 31 | 51 | 78 | 130 | 220 |
13 | 14 | 15 | 35 | 59 | 91 | 154 | 267 |
14 | 16 | 17 | 39 | 67 | 105 | 181 | 319 |
15 | 17 | 18 | 44 | 76 | 120 | 211 | 377 |
Rating per unit level
Level | Value | Level | Value | Level | Value | Level | Value | Level | Value | Level | Value |
1 | 1 | 16 | 24 | 31 | 74 | 46 | 177 | 61 | 391 | 76 | 837 |
2 | 2 | 17 | 26 | 32 | 79 | 47 | 187 | 62 | 412 | 77 | 880 |
3 | 3 | 18 | 28 | 33 | 84 | 48 | 197 | 63 | 434 | 78 | 925 |
4 | 4 | 19 | 31 | 34 | 208 | 49 | 208 | 64 | 457 | 79 | 972 |
5 | 5 | 20 | 34 | 35 | 95 | 50 | 219 | 65 | 481 | 80 | 1022 |
6 | 6 | 21 | 37 | 36 | 101 | 51 | 231 | 66 | 506 | 81 | 1075 |
7 | 7 | 22 | 40 | 37 | 107 | 52 | 244 | 67 | 532 | 82 | 1131 |
8 | 8 | 23 | 43 | 38 | 113 | 53 | 257 | 68 | 560 | 83 | 1190 |
9 | 10 | 24 | 46 | 39 | 120 | 54 | 271 | 69 | 589 | 84 | 1252 |
10 | 12 | 25 | 49 | 40 | 127 | 55 | 286 | 70 | 619 | 85 | 1317 |
11 | 14 | 26 | 53 | 41 | 134 | 56 | 301 | 71 | 651 | 86 | 1386 |
12 | 16 | 27 | 57 | 42 | 142 | 57 | 317 | 72 | 685 | 87 | 1459 |
13 | 18 | 28 | 61 | 43 | 150 | 58 | 334 | 73 | 720 | 88 | 1536 |
14 | 20 | 29 | 65 | 44 | 159 | 59 | 352 | 74 | 757 | 89 | 1618 |
15 | 22 | 30 | 69 | 45 | 168 | 60 | 371 | 75 | 796 | 90 | 1705 |