Skip to content

Commit

Permalink
Changed comments to more accurately reflect scalings of characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jemminiz committed Sep 29, 2023
1 parent 8a662d3 commit e165eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TexasOptimization.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ public class TexasOptimization
public static double Savagery(String famMem, int currSav)
{
if(famMem.equals("sissy") || famMem.equals("hitchhiker")) // Sissy and Hitchhiker have the same base damage,
// at 16
// at 16, same as cook but with worse scaling
return 16 + (8.0/25 * currSav - 8);
else if(famMem.equals("johnny"))
return 18 + (8.0/25 * currSav - 8);
else if(famMem.equals("leatherface")) // Johnny and Leatherface have slightly different base damages, meaning different
// methods for each
return 20 + (2.0/5 * currSav - 10);
else if(famMem.equals("cook")) // Cook has the same base damage as Sissy and Hitchhiker, but has a worse scaling,
else if(famMem.equals("cook")) // Cook has the same base damage as Sissy and Hitchhiker, but has a better scaling,
// using Leatherface's equation instead of the default one
return 16 + (2.0/5 * currSav - 10);

Expand Down

0 comments on commit e165eba

Please sign in to comment.