扒了下源码,可以这么调用
import OlivaDiceCore
tmp_dict_pc_card_key = "力量"
tmp_pc_id = plugin_event.data.user_id
tmp_pc_platform = plugin_event.platform['platform']
tmp_pcHash = OlivaDiceCore.pcCard.getPcHash(
tmp_pc_id,
tmp_pc_platform
)
tmp_dict_pc_card = OlivaDiceCore.pcCard.pcCardDataGetByPcName(
tmp_pcHash,
hagId = str(plugin_event.data.group_id)
)
plugin_event.reply(str(tmp_dict_pc_card[tmp_dict_pc_card_key]))