Game Data
These functions return an object based on the game item ID or monster ID.
get_item(id)
Usage
get_item(1)
Returns
None
or an object with the game data.
{
'servername': 'ITEM_ETC_GOLD_01',
'name': 'Gold',
'tid1': 3,
'tid2': 5,
'tid3': 0,
'cash_item': False,
'max_stack': 0,
'level': 0
}
get_item_string(str)
Usage
get_item_string('ITEM_ETC_GOLD_01')
Returns
None
or an object with the game data.
{
'servername': 'ITEM_ETC_GOLD_01',
'name': 'Gold',
'tid1': 3,
'tid2': 5,
'tid3': 0,
'cash_item': False,
'max_stack': 0,
'level': 0
}
get_monster(id)
Usage
get_monster(1907)
Returns
None
or an object with the game data.
{
'servername': 'CHAR_CH_MAN_ADVENTURER',
'name': 'CHAR_CH_MAN_ADVENTURER',
'level': 1,
'hp': 0
}
get_monster_string(str)
Usage
get_monster_string('CHAR_CH_MAN_ADVENTURER')
Returns
None
or an object with the game data.
{
'servername': 'CHAR_CH_MAN_ADVENTURER',
'name': 'CHAR_CH_MAN_ADVENTURER',
'level': 1,
'hp': 0
}
get_skill(id)
Usage
get_skill(3)
Returns
None
or an object with the game data.
{
'servername': 'SKILL_CH_SWORD_SMASH_A_01',
'duration': 0,
'sp': 2,
'cool_down': 3000,
'mp': 19,
'mastery': 257,
'name': 'Strike Smash',
'cast_time': 1022,
'level': 5
}
get_zone_name(region)
Usage
get_zone_name(25000)
Returns
Name of the in game region. In the example above it returns Jangan
.
Last updated