Post by Boaster on May 2, 2009 5:47:07 GMT -6
As it stands, the Standard Barter Value of units can get wild at higher levels, especially for Thieves with high attack, armor and ranged attack. At these high levels, it makes them capable of auto-calculating even some of the highest level dungeons.
My plan is to revamp the way barter values of units are calculated. And since Barter Values handle how much experience is gained from combat, I may have to change how much experience each unit is required to gain levels.
I display two tables and explain them briefly
The first number is to pair up with the stat in question.
The second number is the value for Hit Points. The number of hit points a unit has, perhaps 80 hit points, it will grab 1687.
The third number of the set is for Attack and Ranged Attack.
The fourth number of the set is for Armor.
With this new table, I haven't designated Hit Points, Attack, Ranged Attack or Armor to any set of numbers. The table now goes to 99 instead of 80.
Basically, I need to have things revamped in such a way that there are no extreme jumps in barter value. And since barter value translates into it's value in barter and combat power.
Ranged units get higher barter values because their Attack, Armor, Hit Points AND Ranged Attack are factored. For Ranged Military units, this isn't a big deal but for Thieves it can give them a grossly higher Barter Value than Warriors of equal level.
It's not as simple as just grabbing each number. There are other variables involved (in some cases sight radius, stealth noise factor, flying, magic resistances and physical resistances). All of the data can be found in 'gs\formpc.gs'.
I do want hit points to play a bigger role than they have. Previously, they were the least valued of attack, armor and ranged attack.
And it may take some time to get a new table that's more closely related to the old one, that way I can avoid revamping experience required per level.
So.… when I figure something out, there may be some major changes ahead. Perhaps even more changes than I have described.
My plan is to revamp the way barter values of units are calculated. And since Barter Values handle how much experience is gained from combat, I may have to change how much experience each unit is required to gain levels.
I display two tables and explain them briefly
/combat_lookup_table
[
[1 1 1 1]
[2 2 2 2]
[3 3 3 3]
[4 4 4 8]
[5 5 5 10]
[6 6 12 24]
[7 7 14 28]
[8 8 16 48]
[9 9 36 72]
[10 10 40 80]
[11 11 66 132]
[12 13 72 192]
[13 15 104 208]
[14 17 168 336]
[15 19 180 360]
[16 21 256 512]
[17 23 272 544]
[18 27 288 576]
[19 31 456 912]
[20 35 480 960]
[21 39 504 1008]
[22 45 704 1408]
[23 51 736 1472]
[24 57 768 1536]
[25 63 800 1600]
[26 71 1248 1664]
[27 79 1296 1728]
[28 91 1344 1792]
[29 103 1392 1856]
[30 119 1920 1920]
[31 135 1984 1984]
[32 159 2048 2048]
[33 183 2112 2112]
[34 215 2176 2176]
[35 247 2240 2240]
[36 279 2304 2304]
[37 311 2368 2368]
[38 343 2432 2432]
[39 375 2496 2496]
[40 407 2560 2560]
[41 439 2560 2560]
[42 471 2560 2560]
[43 503 2560 2560]
[44 535 2560 2560]
[45 567 2560 2560]
[46 599 2560 2560]
[47 631 2560 2560]
[48 663 2560 2560]
[49 695 2560 2560]
[50 727 2560 2560]
[51 759 2560 2560]
[52 791 2560 2560]
[53 823 2560 2560]
[54 855 2560 2560]
[55 887 2560 2560]
[56 919 2560 2560]
[57 951 2560 2560]
[58 983 2560 2560]
[59 1015 2560 2560]
[60 1047 2560 2560]
[61 1079 2560 2560]
[62 1111 2560 2560]
[63 1143 2560 2560]
[64 1175 2560 2560]
[65 1207 2560 2560]
[66 1239 2560 2560]
[67 1271 2560 2560]
[68 1303 2560 2560]
[69 1335 2560 2560]
[70 1367 2560 2560]
[71 1399 2560 2560]
[72 1431 2560 2560]
[73 1463 2560 2560]
[74 1495 2560 2560]
[75 1527 2560 2560]
[76 1559 2560 2560]
[77 1591 2560 2560]
[78 1623 2560 2560]
[79 1655 2560 2560]
[80 1687 2560 2560]
]def
[
[1 1 1 1]
[2 2 2 2]
[3 3 3 3]
[4 4 4 8]
[5 5 5 10]
[6 6 12 24]
[7 7 14 28]
[8 8 16 48]
[9 9 36 72]
[10 10 40 80]
[11 11 66 132]
[12 13 72 192]
[13 15 104 208]
[14 17 168 336]
[15 19 180 360]
[16 21 256 512]
[17 23 272 544]
[18 27 288 576]
[19 31 456 912]
[20 35 480 960]
[21 39 504 1008]
[22 45 704 1408]
[23 51 736 1472]
[24 57 768 1536]
[25 63 800 1600]
[26 71 1248 1664]
[27 79 1296 1728]
[28 91 1344 1792]
[29 103 1392 1856]
[30 119 1920 1920]
[31 135 1984 1984]
[32 159 2048 2048]
[33 183 2112 2112]
[34 215 2176 2176]
[35 247 2240 2240]
[36 279 2304 2304]
[37 311 2368 2368]
[38 343 2432 2432]
[39 375 2496 2496]
[40 407 2560 2560]
[41 439 2560 2560]
[42 471 2560 2560]
[43 503 2560 2560]
[44 535 2560 2560]
[45 567 2560 2560]
[46 599 2560 2560]
[47 631 2560 2560]
[48 663 2560 2560]
[49 695 2560 2560]
[50 727 2560 2560]
[51 759 2560 2560]
[52 791 2560 2560]
[53 823 2560 2560]
[54 855 2560 2560]
[55 887 2560 2560]
[56 919 2560 2560]
[57 951 2560 2560]
[58 983 2560 2560]
[59 1015 2560 2560]
[60 1047 2560 2560]
[61 1079 2560 2560]
[62 1111 2560 2560]
[63 1143 2560 2560]
[64 1175 2560 2560]
[65 1207 2560 2560]
[66 1239 2560 2560]
[67 1271 2560 2560]
[68 1303 2560 2560]
[69 1335 2560 2560]
[70 1367 2560 2560]
[71 1399 2560 2560]
[72 1431 2560 2560]
[73 1463 2560 2560]
[74 1495 2560 2560]
[75 1527 2560 2560]
[76 1559 2560 2560]
[77 1591 2560 2560]
[78 1623 2560 2560]
[79 1655 2560 2560]
[80 1687 2560 2560]
]def
The first number is to pair up with the stat in question.
The second number is the value for Hit Points. The number of hit points a unit has, perhaps 80 hit points, it will grab 1687.
The third number of the set is for Attack and Ranged Attack.
The fourth number of the set is for Armor.
/new_combat_lookup_table
[
[1 4 3 1 1]
[2 8 6 2 2]
[3 12 9 3 3]
[4 16 12 4 4]
[5 20 15 5 5]
[6 24 18 6 7]
[7 28 21 7 9]
[8 32 24 8 11]
[9 36 27 9 13]
[10 40 30 10 15]
[11 44 33 12 18]
[12 48 36 14 21]
[13 52 39 16 24]
[14 56 42 18 27]
[15 60 45 20 30]
[16 64 48 23 34]
[17 68 51 26 38]
[18 72 54 29 42]
[19 76 57 32 46]
[20 80 60 36 50]
[21 84 63 40 55]
[22 88 66 44 60]
[23 92 69 48 65]
[24 96 72 52 70]
[25 100 75 56 75]
[26 104 78 61 81]
[27 108 81 66 87]
[28 112 84 71 93]
[29 116 87 76 99]
[30 120 90 81 105]
[31 124 93 87 112]
[32 128 96 93 119]
[33 132 99 99 126]
[34 136 102 105 133]
[35 140 105 111 140]
[36 144 108 118 148]
[37 148 111 125 156]
[38 152 114 132 164]
[39 156 117 139 172]
[40 160 120 146 180]
[41 164 123 154 189]
[42 168 126 162 198]
[43 172 129 170 207]
[44 176 132 178 216]
[45 180 135 186 225]
[46 184 138 195 235]
[47 188 141 204 245]
[48 192 144 213 255]
[49 196 147 222 265]
[50 200 150 231 275]
[51 204 153 241 286]
[52 208 156 251 297]
[53 212 159 261 308]
[54 216 162 271 319]
[55 220 165 281 330]
[56 224 168 292 342]
[57 228 171 303 354]
[58 232 174 314 366]
[59 236 177 325 378]
[60 240 180 336 390]
[61 244 183 348 403]
[62 248 186 360 416]
[63 252 189 372 429]
[64 256 192 384 442]
[65 260 195 396 455]
[66 264 198 408 469]
[67 268 201 420 483]
[68 272 204 432 497]
[69 276 207 444 511]
[70 280 210 456 525]
[71 284 213 469 540]
[72 288 216 482 555]
[73 292 219 495 570]
[74 296 222 508 585]
[75 300 225 521 600]
[76 304 228 535 616]
[77 308 231 549 632]
[78 312 234 563 648]
[79 316 237 577 664]
[80 320 240 591 680]
[81 324 243 606 697]
[82 328 246 621 714]
[83 332 249 636 731]
[84 336 252 651 748]
[85 340 255 666 765]
[86 344 258 682 783]
[87 348 261 698 801]
[88 352 264 714 819]
[89 356 267 730 837]
[90 360 270 746 855]
[91 364 273 763 874]
[92 368 276 780 893]
[93 372 279 797 912]
[94 376 282 814 931]
[95 380 285 831 950]
[96 384 288 849 970]
[97 388 291 867 990]
[98 392 294 885 1010]
[99 396 297 903 1030]
]def
[
[1 4 3 1 1]
[2 8 6 2 2]
[3 12 9 3 3]
[4 16 12 4 4]
[5 20 15 5 5]
[6 24 18 6 7]
[7 28 21 7 9]
[8 32 24 8 11]
[9 36 27 9 13]
[10 40 30 10 15]
[11 44 33 12 18]
[12 48 36 14 21]
[13 52 39 16 24]
[14 56 42 18 27]
[15 60 45 20 30]
[16 64 48 23 34]
[17 68 51 26 38]
[18 72 54 29 42]
[19 76 57 32 46]
[20 80 60 36 50]
[21 84 63 40 55]
[22 88 66 44 60]
[23 92 69 48 65]
[24 96 72 52 70]
[25 100 75 56 75]
[26 104 78 61 81]
[27 108 81 66 87]
[28 112 84 71 93]
[29 116 87 76 99]
[30 120 90 81 105]
[31 124 93 87 112]
[32 128 96 93 119]
[33 132 99 99 126]
[34 136 102 105 133]
[35 140 105 111 140]
[36 144 108 118 148]
[37 148 111 125 156]
[38 152 114 132 164]
[39 156 117 139 172]
[40 160 120 146 180]
[41 164 123 154 189]
[42 168 126 162 198]
[43 172 129 170 207]
[44 176 132 178 216]
[45 180 135 186 225]
[46 184 138 195 235]
[47 188 141 204 245]
[48 192 144 213 255]
[49 196 147 222 265]
[50 200 150 231 275]
[51 204 153 241 286]
[52 208 156 251 297]
[53 212 159 261 308]
[54 216 162 271 319]
[55 220 165 281 330]
[56 224 168 292 342]
[57 228 171 303 354]
[58 232 174 314 366]
[59 236 177 325 378]
[60 240 180 336 390]
[61 244 183 348 403]
[62 248 186 360 416]
[63 252 189 372 429]
[64 256 192 384 442]
[65 260 195 396 455]
[66 264 198 408 469]
[67 268 201 420 483]
[68 272 204 432 497]
[69 276 207 444 511]
[70 280 210 456 525]
[71 284 213 469 540]
[72 288 216 482 555]
[73 292 219 495 570]
[74 296 222 508 585]
[75 300 225 521 600]
[76 304 228 535 616]
[77 308 231 549 632]
[78 312 234 563 648]
[79 316 237 577 664]
[80 320 240 591 680]
[81 324 243 606 697]
[82 328 246 621 714]
[83 332 249 636 731]
[84 336 252 651 748]
[85 340 255 666 765]
[86 344 258 682 783]
[87 348 261 698 801]
[88 352 264 714 819]
[89 356 267 730 837]
[90 360 270 746 855]
[91 364 273 763 874]
[92 368 276 780 893]
[93 372 279 797 912]
[94 376 282 814 931]
[95 380 285 831 950]
[96 384 288 849 970]
[97 388 291 867 990]
[98 392 294 885 1010]
[99 396 297 903 1030]
]def
With this new table, I haven't designated Hit Points, Attack, Ranged Attack or Armor to any set of numbers. The table now goes to 99 instead of 80.
Basically, I need to have things revamped in such a way that there are no extreme jumps in barter value. And since barter value translates into it's value in barter and combat power.
Ranged units get higher barter values because their Attack, Armor, Hit Points AND Ranged Attack are factored. For Ranged Military units, this isn't a big deal but for Thieves it can give them a grossly higher Barter Value than Warriors of equal level.
It's not as simple as just grabbing each number. There are other variables involved (in some cases sight radius, stealth noise factor, flying, magic resistances and physical resistances). All of the data can be found in 'gs\formpc.gs'.
I do want hit points to play a bigger role than they have. Previously, they were the least valued of attack, armor and ranged attack.
And it may take some time to get a new table that's more closely related to the old one, that way I can avoid revamping experience required per level.
So.… when I figure something out, there may be some major changes ahead. Perhaps even more changes than I have described.