DESOLATION

Help manual · SimulEfuns

Format rpg damage

This function accepts a string and returns an array of numbers This is a desolation specific simul-efun and is not part of the standard lima mudlib.

format_rpg_damage(string str);

Example

@ format_rpg_damage("2D4+3")

({ /* sizeof() == 2 */
 ({ /* sizeof() == 2 */
   4,
   4
 }),
 3

Category:SimulEfuns