mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-13 11:47:32 +08:00
[Bug fix] API for Link Play
- Fix a bug that API for Link Play cannot work - Add an example breached map #148
This commit is contained in:
@@ -936,8 +936,9 @@ class WorldLawMixin:
|
||||
|
||||
def _over100_step50(self) -> None:
|
||||
'''PROG = OVER + STEP / 2'''
|
||||
self.new_law_prog = self.character_used.overdrive_value + \
|
||||
self.character_used.prog_value / 2
|
||||
over = self.character_used.overdrive_value + self.over_skill_increase
|
||||
prog = self.character_used.prog_value + self.prog_skill_increase
|
||||
self.new_law_prog = over + prog / 2
|
||||
|
||||
def _frag50(self) -> None:
|
||||
'''PROG x= FRAG'''
|
||||
@@ -950,9 +951,10 @@ class WorldLawMixin:
|
||||
|
||||
def _antiheroism(self) -> None:
|
||||
'''PROG = OVER - ||OVER-FRAG|-|OVER-STEP||'''
|
||||
over = self.character_used.overdrive_value
|
||||
over = self.character_used.overdrive_value + self.over_skill_increase
|
||||
prog = self.character_used.prog_value + self.prog_skill_increase
|
||||
x = abs(over - self.character_used.frag_value)
|
||||
y = abs(over - self.character_used.prog_value)
|
||||
y = abs(over - prog)
|
||||
self.new_law_prog = over - abs(x - y)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user