Skip to content

Commit

Permalink
re enabled 2 custom score mods per user request
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrszymaniec authored and benjaminjackman committed Jul 13, 2021
1 parent c932f9d commit 18471bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ Features
- added # increased maximum Mana
- value of affix "#% increased Attack and Cast speed" is now added to mods "attack speed" and "cast speed"
- flasks removing bleeding has new modifier, old one is still used on previous ones
- re enabled 2 custom score mods per user request
Fixes
- duplicate requests problem solved -> faster item data download
Expand Down
10 changes: 5 additions & 5 deletions looty/src/main/scala/looty/model/ComputedItemProps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ object ComputedItemProps {
//affixes Group names for use in Column Select Panel
val General = "General"
val Miscellaneous = "Miscellaneous"
val Scores = "Score" //unused
val Scores = "Score"
val Defensive = "Defensive"
val Attack = "Attack"
val Dps = "Dps"
Expand Down Expand Up @@ -205,11 +205,11 @@ object ComputedItemProps {
//Turned on because some user requested as he still uses it
//Score
val DefaultScore = pno("DefaultScore", "score")(Scores)(_.Scores.default.score)
// val CustomScore = pno("CustomScore", "custom")(Scores)(_.Scores.custom.score)
// val CustomScore2 = pno("CustomScore2", "custom2")(Scores)(_.Scores.custom2.score)
val CustomScore = pno("CustomScore", "custom")(Scores)(_.Scores.custom.score)
val CustomScore2 = pno("CustomScore2", "custom2")(Scores)(_.Scores.custom2.score)
DefaultScore !?= "An experimental score assigned to assess the desirability of the item"
// CustomScore !?= "The result of the user definable score"
// CustomScore2 !?= "Score according to semi-strict high value rules (roughly tier 2 and higher)"
CustomScore !?= "The result of the user definable score"
CustomScore2 !?= "Score according to semi-strict high value rules (roughly tier 2 and higher)"

//Defensive
val Armour = pno("Armour", "AR")(Defensive)(_.total.armour)
Expand Down
1 change: 1 addition & 0 deletions looty/src/main/scala/looty/views/HomeView.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Features
- added # increased maximum Mana
- value of affix "#% increased Attack and Cast speed" is now added to mods "attack speed" and "cast speed"
- flasks removing bleeding has new modifier, old one is still used on previous ones
- re enabled 2 custom score mods per user request
Fixes
- duplicate requests problem solved -> faster item data download
Expand Down

0 comments on commit 18471bb

Please sign in to comment.