mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-13 19:57:26 +08:00
Fix some bugs
- Second try to fix a bug about API - Fix a bug that the `prog boost` shows the incorrect value - Fix a bug that the rewards can be get repeatedly in World Mode - Fix a bug that second tube of blood of the world boss won't change
This commit is contained in:
@@ -199,7 +199,7 @@ class UserMap(Map):
|
||||
@property
|
||||
def rewards_for_climbing(self) -> list:
|
||||
rewards = []
|
||||
for i in range(self.prev_position, self.curr_position+1):
|
||||
for i in range(self.prev_position+1, self.curr_position+1):
|
||||
step = self.steps[i]
|
||||
if step.items:
|
||||
rewards.append(
|
||||
@@ -209,7 +209,7 @@ class UserMap(Map):
|
||||
|
||||
def rewards_for_climbing_to_dict(self) -> list:
|
||||
rewards = []
|
||||
for i in range(self.prev_position, self.curr_position+1):
|
||||
for i in range(self.prev_position+1, self.curr_position+1):
|
||||
step = self.steps[i]
|
||||
if step.items:
|
||||
rewards.append(
|
||||
|
||||
Reference in New Issue
Block a user