Editing Weapons

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 229: Line 229:
 
'''Average Cooldown''' = 2.2 x 81% + 1.6 x 19% = 2.086
 
'''Average Cooldown''' = 2.2 x 81% + 1.6 x 19% = 2.086
  
'''Average DPS''' = 27.965 / 2.086 = 13.40
+
'''Listed Average DPS''' = 27.965 / 2.086 = 13.40
  
 
You can find more of these values in Dev mode >> Logging Menu >> Tools. There are also values listed for pawns and these are computed the same as above except that in step 1 you also multiply by 0.3 and the '''Chance Factor''' if one is specified. Note that just like the item values these are not actually used in the game anymore (see below).
 
You can find more of these values in Dev mode >> Logging Menu >> Tools. There are also values listed for pawns and these are computed the same as above except that in step 1 you also multiply by 0.3 and the '''Chance Factor''' if one is specified. Note that just like the item values these are not actually used in the game anymore (see below).
Line 248: Line 248:
 
# Compute the '''Average Damage''' = SumOfAll('''Damage''' x '''Selection Chance''')
 
# Compute the '''Average Damage''' = SumOfAll('''Damage''' x '''Selection Chance''')
 
# Compute the '''Average Cooldown''' = SumOfAll('''Cooldown''' x '''Selection Chance''')
 
# Compute the '''Average Cooldown''' = SumOfAll('''Cooldown''' x '''Selection Chance''')
# Compute the '''Average DPS''' = '''Average Damage''' / '''Average Cooldown'''
+
# Compute the '''Listed Average DPS''' = '''Average Damage''' / '''Average Cooldown'''
  
Below is an example with a pawn carrying a Normal Persona Zeus Hammer (note that AP is not specified and therefore is defined as '''Damage''' x 0.015):
+
Note that this is mathematically incorrect (see below for more details). Below is an example with a pawn carrying a Normal Persona Zeus Hammer (note that AP is not specified and therefore is defined as '''Damage''' x 0.015):
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 272: Line 272:
 
'''Average Cooldown''' = 2.2 x 75% + 1.6 x 12.5% + 2 x 12.5% = 2.100
 
'''Average Cooldown''' = 2.2 x 75% + 1.6 x 12.5% + 2 x 12.5% = 2.100
  
'''Average DPS''' = 26.875 / 2.100 = 12.80
+
'''Listed Average DPS''' = 26.875 / 2.100 = 12.80
  
 
Note that in this case upgrading the left arm actually decreased the average DPS (from 13.17 to 12.80) by moving an inferior attack option from ''Worst'' to ''Mid''.
 
Note that in this case upgrading the left arm actually decreased the average DPS (from 13.17 to 12.80) by moving an inferior attack option from ''Worst'' to ''Mid''.
  
There is a peculiarity in the description above as it seems that the AccuracyTouch properties of ranged weapons is not used. This may be a bug as it seems intended that it should have been used.
+
==== Actual DPS ====
 +
 
 +
There are a few peculiarities in the descriptions above. For one, it seems that the AccuracyTouch properties of ranged weapons is not used this may be a bug as it seems intended that it should have been used. Another remarkable thing is that the average DPS computation doesn't match with how the attacks are used. The final steps aggregate all damage and cooldown separately before computing the average DPS. This implicitly suggests that cooldowns are not tied to the attack options (eg. the Zeus Hammer Head attack can happen with 1.6, 2 and 2.2 cooldowns). However, this is not the case when an attack is selected the associated cooldown kicks in. This is how the actual DPS is computed:
 +
# Do step 1-4 exactly as in [[#Listed DPS on Pawns|Listed DPS on Pawns]]
 +
# For each attack option compute the '''Attack Option DPS''' = '''Damage''' / '''Cooldown'''
 +
# Compute the '''Actual Average DPS''' = SumOfAll(''''Attack Option DPS''' x '''Selection Chance''')
 +
 
 +
So it's essentially the same as [[#Listed DPS on Pawns|Listed DPS on Pawns]] except for the last steps where instead of ''Avg(Dam)/Avg(Cooldown)'' you do ''Avg(Dam/Cooldown)''
 +
 
 +
In the example above this means that the average DPS would be 12.62 (instead of 12.80). Also not that in this case it is lower but in other cases it will be higher. Therefore, in order to properly compare melee options one should not use the '''Listed Average DPS''' but instead use the '''Actual Average DPS''' as defined here.
  
 
== Biocoding ==
 
== Biocoding ==

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: