Skip to content

Commit

Permalink
- PRI accessory was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
Graveflo committed Aug 5, 2020
1 parent 41f014e commit 3e14735
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ def calc_lvl_repair_cost(self, lvl_costs=None):

lvl_indx = self.get_enhance_lvl_idx()
if lvl_indx == 0:
return self.base_item_cost
return self.base_item_cost * 2
else:
try:
return numpy.sum(lvl_costs[:lvl_indx])
Expand All @@ -1340,11 +1340,15 @@ def calc_lvl_repair_cost(self, lvl_costs=None):
def calc_enhance_vectors(self):
enhance_lvls = len(self.gear_type.map)
matreial_cost = numpy.ones(enhance_lvls) * self.base_item_cost
matreial_cost[0] += self.base_item_cost
repair_costs = numpy.zeros(enhance_lvls) # This is item repair not back-tracking repair
return matreial_cost, repair_costs

def calc_lvl_flat_cost(self):
return self.base_item_cost
if self.get_enhance_lvl_idx() == 0:
return self.base_item_cost * 2
else:
return self.base_item_cost

def simulate_FS(self, fs_count, last_cost):
self.prep_lvl_calc() # This is for repair cost calculation
Expand Down
2 changes: 1 addition & 1 deletion start_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
setIcon = Qt_common.setIcon
MAXIMUM_LOGFILE_SIZE = 500 * 1024

RELEASE_VER = '0.3.0a1'
RELEASE_VER = '0.3.0a2'



Expand Down

0 comments on commit 3e14735

Please sign in to comment.