xp_pool | R Documentation |
Returns the total XP (experience points) of all creatures that would make an encounter the specified level of difficulty for a party of the supplied level. This 'pool' can be used by a GM (game master) to "purchase" monsters to identify how many a party is likely to be able to handle given their average level. NOTE: this does not take into account creature-specific abilities or traits so care should be taken if a monster has many such traits that modify its difficulty beyond its experience point value.
xp_pool(party_level = NULL, party_size = NULL, difficulty = NULL)
party_level |
(numeric) integer indicating the average party level. If all players are the same level, that level is the average party level |
party_size |
(numeric) integer indicating how many player characters (PCs) are in the party |
difficulty |
(character) one of "easy", "medium", "hard", or "deadly" for the desired difficulty of the encounter. |
(numeric) total encounter XP as an integer
# Supply a party level and difficulty and get the total XP of such an encounter
xp_pool(party_level = 3, party_size = 2, difficulty = 'medium')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.