-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from infstellar/dev
Dev -> Main
- Loading branch information
Showing
84 changed files
with
1,602 additions
and
1,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ | |
"dtype", | ||
"Elast", | ||
"Epress", | ||
"excepthook", | ||
"fastdeploy", | ||
"fromarray", | ||
"funclib", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,7 @@ vision: | |
- Dendro | ||
- Anemo | ||
- '' | ||
n: | ||
type: int | ||
priority: | ||
type: int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
"""This file is generated automatically. Do not manually modify it.""" | ||
COMMISSION_INDEX = {'ASmallStepForHilichurls_N1000P1000': {'type': 'ASmallStepForHilichurls', 'position': [-1000, 1000]}, 'BasicKnowledgeOfTheKnights_P2682N5673': {'type': 'BasicKnowledgeOfTheKnights', 'position': [2682, -5673]}, 'BigPudgyProblem_P2469N4886': {'type': 'BigPudgyProblem', 'position': [2469, -4886]}, 'BigPudgyProblem_P2526N5796': {'type': 'BigPudgyProblem', 'position': [2526, -5796]}, 'LanguageExchange_P3060N5078': {'type': 'LanguageExchange', 'position': [3060, -5078]}, 'PigeonsGoAWOL_P2671N5095': {'type': 'PigeonsGoAWOL', 'position': [2671, -5095]}, 'TheUnnoticedGuy_P2568N5889': {'type': 'TheUnnoticedGuy', 'position': [2568, -5889]}} | ||
COMMISSION_INDEX = {'BasicKnowledgeOfTheKnights_P2682N5673': {'type': 'BasicKnowledgeOfTheKnights', 'position': [2682, -5673]}, 'FloralFresh_P2556N5813': {'type': 'FloralFresh', 'position': [2556, -5813]}, 'FreshFlora_P2648N5726': {'type': 'FreshFlora', 'position': [2648, -5726]}, 'LanguageExchange_P3060N5078': {'type': 'LanguageExchange', 'position': [3060, -5078]}, 'LanguageExchange_P960N6796': {'type': 'LanguageExchange', 'position': [960, -6796]}, 'PigeonsGoAWOL_P2671N5095': {'type': 'PigeonsGoAWOL', 'position': [2671, -5095]}, 'ReliableHelper_P2966N4774': {'type': 'ReliableHelper', 'position': [2966, -4774]}, 'TheUnnoticedGuy_P2568N5889': {'type': 'TheUnnoticedGuy', 'position': [2568, -5889]}, 'TheWannabeKnight_P2251N5771': {'type': 'TheWannabeKnight', 'position': [2251, -5771]}} | ||
def get_commission_object(commission_name:str): | ||
if commission_name == 'BasicKnowledgeOfTheKnights_P2682N5673': | ||
import source.commission.commissions.BasicKnowledgeOfTheKnights_P2682N5673 | ||
return source.commission.commissions.BasicKnowledgeOfTheKnights_P2682N5673.BasicKnowledgeOfTheKnights_P2682N5673() | ||
if commission_name == 'BigPudgyProblem_P2469N4886': | ||
import source.commission.commissions.BigPudgyProblem_P2469N4886 | ||
return source.commission.commissions.BigPudgyProblem_P2469N4886.BigPudgyProblem_P2469N4886() | ||
if commission_name == 'BigPudgyProblem_P2526N5796': | ||
import source.commission.commissions.BigPudgyProblem_P2526N5796 | ||
return source.commission.commissions.BigPudgyProblem_P2526N5796.BigPudgyProblem_P2526N5796() | ||
if commission_name == 'FloralFresh_P2556N5813': | ||
import source.commission.commissions.FloralFresh_P2556N5813 | ||
return source.commission.commissions.FloralFresh_P2556N5813.FloralFresh_P2556N5813() | ||
if commission_name == 'FreshFlora_P2648N5726': | ||
import source.commission.commissions.FreshFlora_P2648N5726 | ||
return source.commission.commissions.FreshFlora_P2648N5726.FreshFlora_P2648N5726() | ||
if commission_name == 'LanguageExchange_P3060N5078': | ||
import source.commission.commissions.LanguageExchange_P3060N5078 | ||
return source.commission.commissions.LanguageExchange_P3060N5078.LanguageExchange_P3060N5078() | ||
if commission_name == 'LanguageExchange_P960N6796': | ||
import source.commission.commissions.LanguageExchange_P960N6796 | ||
return source.commission.commissions.LanguageExchange_P960N6796.LanguageExchange_P960N6796() | ||
if commission_name == 'PigeonsGoAWOL_P2671N5095': | ||
import source.commission.commissions.PigeonsGoAWOL_P2671N5095 | ||
return source.commission.commissions.PigeonsGoAWOL_P2671N5095.PigeonsGoAWOL_P2671N5095() | ||
if commission_name == 'ReliableHelper_P2966N4774': | ||
import source.commission.commissions.ReliableHelper_P2966N4774 | ||
return source.commission.commissions.ReliableHelper_P2966N4774.ReliableHelper_P2966N4774() | ||
if commission_name == 'TheUnnoticedGuy_P2568N5889': | ||
import source.commission.commissions.TheUnnoticedGuy_P2568N5889 | ||
return source.commission.commissions.TheUnnoticedGuy_P2568N5889.TheUnnoticedGuy_P2568N5889() | ||
if commission_name == 'TheWannabeKnight_P2251N5771': | ||
import source.commission.commissions.TheWannabeKnight_P2251N5771 | ||
return source.commission.commissions.TheWannabeKnight_P2251N5771.TheWannabeKnight_P2251N5771() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
source/commission/commissions/BigPudgyProblem_P2469N4886.py
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
source/commission/commissions/BigPudgyProblem_P2526N5796.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
source/commission/commissions/LanguageExchange_P960N6796.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
from source.commission.commission_template import CommissionTemplate | ||
from source.commission.commission import * | ||
from source.mission.mission_template import ERR_FAIL | ||
|
||
|
||
class FightOnlyGeneral(CommissionTemplate): | ||
class FightOnlyGeneral(Commission): | ||
def __init__(self, commission_type, commission_position): | ||
super().__init__(commission_type, commission_position) | ||
|
||
def exec_mission(self): | ||
r = self.move_straight(self.commission_position, is_tp=True) | ||
if r == ERR_FAIL:return | ||
self.circle_search(self.commission_position, stop_rule="Combat") | ||
r = self.collect(is_combat=True, is_activate_pickup=self.is_pickup_spoils) | ||
if r == ERR_FAIL:return | ||
r = self.move_straight(self.commission_position, is_tp=True, stop_rule=STOP_RULE_COMBAT) | ||
self.handle_tmf_stuck_then_raise(r) | ||
|
||
self.circle_search(self.commission_position, stop_rule=STOP_RULE_COMBAT) | ||
|
||
self.fight_until_commission_complete() | ||
|
||
if self.is_pickup_spoils: | ||
r = self.collect(is_activate_pickup=self.is_pickup_spoils) | ||
if r == ERR_FAIL:return | ||
self.commission_succ() | ||
|
||
|
Oops, something went wrong.