Skip to content

Commit

Permalink
fix a bug that some properties of equipments might be calculated with…
Browse files Browse the repository at this point in the history
… wrong form
  • Loading branch information
lasedark committed Jul 22, 2020
1 parent fc5174a commit 1fd0c7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public override double GetImprovementBonus(SlotItem slotItem)
return Math.Sqrt(slotItem.Level);

case SlotItemType.副砲:
return 0.15 * Math.Sqrt(slotItem.Level);
return 0.15 * slotItem.Level;

default:
return .0;
Expand All @@ -89,7 +89,7 @@ public override double GetImprovementBonus(SlotItem slotItem)
return Math.Sqrt(slotItem.Level);

case SlotItemIconType.HighAngleGun:
return 0.3 * Math.Sqrt(slotItem.Level);
return 0.3 * slotItem.Level;

default:
return .0;
Expand Down

0 comments on commit 1fd0c7a

Please sign in to comment.