Finished refactor and added threading for all calls.
Showing
3 changed files
with
5 additions
and
5 deletions
No preview for this file type
This diff is collapsed.
Click to expand it.
... | @@ -86,7 +86,7 @@ Families = { | ... | @@ -86,7 +86,7 @@ Families = { |
86 | 'aspir': False, | 86 | 'aspir': False, |
87 | 'drain': False, | 87 | 'drain': False, |
88 | 'temperament_attitude': { | 88 | 'temperament_attitude': { |
89 | 'initial_value': 4, | 89 | 'initial_value': 4, |
90 | 'actions': { | 90 | 'actions': { |
91 | 4: {'use_tp_chance': 100, 'ws': ['Sinker Drill'], 'side_attack_chance': 0, 'range_chance': 0}, | 91 | 4: {'use_tp_chance': 100, 'ws': ['Sinker Drill'], 'side_attack_chance': 0, 'range_chance': 0}, |
92 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, | 92 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, |
... | @@ -95,7 +95,7 @@ Families = { | ... | @@ -95,7 +95,7 @@ Families = { |
95 | } | 95 | } |
96 | }, | 96 | }, |
97 | 'temperament_posture': { | 97 | 'temperament_posture': { |
98 | 'initial_value': 4, | 98 | 'initial_value': 4, |
99 | 'actions': { | 99 | 'actions': { |
100 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, | 100 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, |
101 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, | 101 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, |
... | @@ -117,7 +117,7 @@ Families = { | ... | @@ -117,7 +117,7 @@ Families = { |
117 | 'aspir': True, | 117 | 'aspir': True, |
118 | 'drain': True, | 118 | 'drain': True, |
119 | 'temperament_attitude': { | 119 | 'temperament_attitude': { |
120 | 'initial_value': 4, | 120 | 'initial_value': 4, |
121 | 'actions': { | 121 | 'actions': { |
122 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, | 122 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, |
123 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, | 123 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, |
... | @@ -126,7 +126,7 @@ Families = { | ... | @@ -126,7 +126,7 @@ Families = { |
126 | } | 126 | } |
127 | }, | 127 | }, |
128 | 'temperament_posture': { | 128 | 'temperament_posture': { |
129 | 'initial_value': 4, | 129 | 'initial_value': 4, |
130 | 'actions': { | 130 | 'actions': { |
131 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, | 131 | 4: {'use_tp_chance': 100, 'ws': ['Eyes On Me'], 'side_attack_chance': 0, 'range_chance': 0}, |
132 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, | 132 | 3: {'use_tp_chance': 75, 'ws': ['Eyes On Me'], 'side_attack_chance': 70, 'range_chance': 10}, |
... | @@ -192,7 +192,7 @@ class Pankration: | ... | @@ -192,7 +192,7 @@ class Pankration: |
192 | dicipline_level = 1 | 192 | dicipline_level = 1 |
193 | 193 | ||
194 | monster = Monster(family, level, main_job, support_job, feral_skills, | 194 | monster = Monster(family, level, main_job, support_job, feral_skills, |
195 | [], dicipline_level) | 195 | [], dicipline_level) |
196 | return HuntResponse(HuntResponse.SUCCESS, "You captured the monster!", | 196 | return HuntResponse(HuntResponse.SUCCESS, "You captured the monster!", |
197 | monster) | 197 | monster) |
198 | else: | 198 | else: | ... | ... |
-
Please register or sign in to post a comment