phBot Plugins
Search…
⌃K

Monsters

This function returns a dictionary of all nearby monsters.

Usage

get_monsters()

Returns

None or a dictionary of monsters.
  • The object can be empty.
  • The key in the object is the monster's ID.
{
47329: {
'type': 1,
'name': 'Mangyang',
'x': 6453.99951171875,
'y': 878.016845703125,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
37259: {
'type': 0,
'name': 'Mangyang',
'x': 6447.037109375,
'y': 871.9559326171875,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
33313: {
'type': 0,
'name': 'Mangyang',
'x': 6405.9423828125,
'y': 832.6143188476562,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
53064: {
'type': 0,
'name': 'Mangyang',
'x': 6439.80615234375,
'y': 835.471435546875,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
28009: {
'type': 0,
'name': 'Mangyang',
'x': 6437.3935546875,
'y': 843.1826782226562,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
56330: {
'type': 0,
'name': 'Mangyang',
'x': 6466.873046875,
'y': 841.393798828125,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
51911: {
'type': 0,
'name': 'Mangyang',
'x': 6442.67919921875,
'y': 839.02294921875,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
54702: {
'type': 0,
'name': 'Mangyang',
'x': 6428.2998046875,
'y': 871.5999755859375,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
55282: {
'type': 0,
'name': 'Mangyang',
'x': 6409.26123046875,
'y': 838.6205444335938,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
53940: {
'type': 0,
'name': 'Mangyang',
'x': 6442.22900390625,
'y': 840.2205810546875,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
1110: {
'type': 0,
'name': 'Mangyang',
'x': 6423.46630859375,
'y': 847.1712036132812,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
35081: {
'type': 1,
'name': 'Mangyang',
'x': 6482.84033203125,
'y': 835.4631958007812,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
56425: {
'type': 1,
'name': 'Mangyang',
'x': 6489.96728515625,
'y': 859.6376342773438,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
47325: {
'type': 0,
'name': 'Mangyang',
'x': 6484.740234375,
'y': 850.72314453125,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
},
48927: {
'type': 0,
'name': 'Mangyang',
'x': 6454.64013671875,
'y': 839.1822509765625,
'model': 1933,
'servername': 'MOB_CH_MANGNYANG'
}
}
Last modified 4yr ago