# Supply a party level and difficulty and get the total XP of such an encounter
dndR::xp_pool(party_level = 3, party_size = 2, ver = "2014", difficulty = "medium")
# Calculate the XP pool for the same party under the 2024 rules
xp_pool(party_level = 3, party_size = 2, ver = "2024", difficulty = "moderate")
Run the code above in your browser using DataLab