Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Barry
/
discordbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
81ddab81
authored
2016-02-02 23:58:24 +0000
by
Barry
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Finished refactor and added threading for all calls.
1 parent
4264acb8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
db.sqlite3
hellsbot.py
pankration.py
db.sqlite3
View file @
81ddab8
No preview for this file type
hellsbot.py
View file @
81ddab8
This diff is collapsed.
Click to expand it.
pankration.py
View file @
81ddab8
...
...
@@ -86,7 +86,7 @@ Families = {
'aspir'
:
False
,
'drain'
:
False
,
'temperament_attitude'
:
{
'initial_value'
:
4
,
'initial_value'
:
4
,
'actions'
:
{
4
:
{
'use_tp_chance'
:
100
,
'ws'
:
[
'Sinker Drill'
],
'side_attack_chance'
:
0
,
'range_chance'
:
0
},
3
:
{
'use_tp_chance'
:
75
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
70
,
'range_chance'
:
10
},
...
...
@@ -95,7 +95,7 @@ Families = {
}
},
'temperament_posture'
:
{
'initial_value'
:
4
,
'initial_value'
:
4
,
'actions'
:
{
4
:
{
'use_tp_chance'
:
100
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
0
,
'range_chance'
:
0
},
3
:
{
'use_tp_chance'
:
75
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
70
,
'range_chance'
:
10
},
...
...
@@ -117,7 +117,7 @@ Families = {
'aspir'
:
True
,
'drain'
:
True
,
'temperament_attitude'
:
{
'initial_value'
:
4
,
'initial_value'
:
4
,
'actions'
:
{
4
:
{
'use_tp_chance'
:
100
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
0
,
'range_chance'
:
0
},
3
:
{
'use_tp_chance'
:
75
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
70
,
'range_chance'
:
10
},
...
...
@@ -126,7 +126,7 @@ Families = {
}
},
'temperament_posture'
:
{
'initial_value'
:
4
,
'initial_value'
:
4
,
'actions'
:
{
4
:
{
'use_tp_chance'
:
100
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
0
,
'range_chance'
:
0
},
3
:
{
'use_tp_chance'
:
75
,
'ws'
:
[
'Eyes On Me'
],
'side_attack_chance'
:
70
,
'range_chance'
:
10
},
...
...
@@ -192,7 +192,7 @@ class Pankration:
dicipline_level
=
1
monster
=
Monster
(
family
,
level
,
main_job
,
support_job
,
feral_skills
,
[],
dicipline_level
)
[],
dicipline_level
)
return
HuntResponse
(
HuntResponse
.
SUCCESS
,
"You captured the monster!"
,
monster
)
else
:
...
...
Please
register
or
sign in
to post a comment