mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
Fix CI -- remove long rest on Agent initialization
This commit is contained in:
@@ -97,7 +97,6 @@ class Agent(ABC):
|
||||
self.default_reactions = list()
|
||||
self.default_legendary_actions = list()
|
||||
self.default_lair_actions = list()
|
||||
self.long_rest()
|
||||
|
||||
def roll_initiative(self):
|
||||
init_mod, adv = self.numerical_initiative
|
||||
|
||||
@@ -60,6 +60,7 @@ class TestEncounter(TestCase):
|
||||
enemy.default_actions.append(GiantRatAttack)
|
||||
|
||||
battle = Encounter([char], [enemy])
|
||||
battle.reset()
|
||||
results = battle.simulate()
|
||||
for event in results:
|
||||
print(str(event))
|
||||
|
||||
Reference in New Issue
Block a user