phBot Plugins
Search…
Pets
This function returns the characters summoned pets.

Usage

get_pets()

Returns

None or an object containing all summoned pets.
  • The object can be empty.
  • The key in the object is the pets ID.
1
{
2
43182: {
3
'name': '',
4
'servername': 'COS_P_MYOWON',
5
'model': 7493,
6
'type': 'pick',
7
'hp': 0,
8
'mounted': False,
9
'items': [
10
None,
11
{
12
'model': 3769,
13
'servername': 'ITEM_MALL_RETURN_SCROLL_HIGH_SPEED',
14
'name': 'Instant Return Scroll',
15
'quantity': 50,
16
'plus': 0,
17
'durability': 0
18
},
19
None,
20
None,
21
{
22
'model': 36777,
23
'servername': 'ITEM_MALL_DAMAGE_ABS_10P_SCROLL',
24
'name': '10% damage absorption scroll',
25
'quantity': 9,
26
'plus': 0,
27
'durability': 0
28
},
29
None,
30
None,
31
None,
32
None,
33
None,
34
{
35
'model': 3769,
36
'servername': 'ITEM_MALL_RETURN_SCROLL_HIGH_SPEED',
37
'name': 'Instant Return Scroll',
38
'quantity': 2,
39
'plus': 0,
40
'durability': 0
41
},
42
None,
43
None,
44
None,
45
None,
46
None,
47
None,
48
None,
49
{
50
'model': 3795,
51
'servername': 'ITEM_MALL_REVERSE_RETURN_SCROLL',
52
'name': 'Reverse Return Scroll',
53
'quantity': 50,
54
'plus': 0,
55
'durability': 0
56
},
57
None,
58
None,
59
None,
60
None,
61
None,
62
None,
63
None,
64
None,
65
None
66
]
67
}
68
}
Copied!

Pet Types

  • none
    • In this case, none is a string. It's returned when the pet cannot be identified due to an error.
  • fellow
  • horse
  • pick
  • transport
  • wolf
Last modified 2yr ago
Copy link