Skip to main content

MonsterLab

by Robert Sharp

Monster Class

Optional Inputs

It is recommended to pass all the optional arguments or none of them. For example, a custom type requires a custom name.

  • Name: Compound Gaussian Distribution -> String
    • Derived from Type
    • Multidimensional distribution of types and subtypes
  • Type: Wide Flat Distribution -> String
    • Demonic
    • Devilkin
    • Dragon
    • Undead
    • Elemental
    • Fey
    • Undead
  • Level: Poisson Distribution -> Integer
    • Range: [1..20]
    • Most Common: [4..7] ~64%
    • Mean: 6.001
    • Median: 6
  • Rarity: Linear Distribution [Rank 0..Rank 5] -> String
    • Rank 0: 30.5% Very Common
    • Rank 1: 25.0% Common
    • Rank 2: 19.4% Uncommon
    • Rank 3: 13.8% Rare
    • Rank 4: 8.3% Epic
    • Rank 5: 2.7% Legendary

Derived Fields

  • Damage: Compound Geometric Distribution with Linear Noise -> String
    • Derived from Level and Rarity
  • Health: Geometric Distribution with Gaussian Noise -> Float
    • Derived from Level and Rarity
  • Energy: Geometric Distribution with Gaussian Noise -> Float
    • Derived from Level and Rarity
  • Sanity: Geometric Distribution with Gaussian Noise -> Float
    • Derived from Level and Rarity
  • Time Stamp: The Monster's Birthday -> String

Example Monster

  • Name: Revenant
  • Type: Undead
  • Level: 3
  • Rarity: Rank 0
  • Damage: 3d2+1
  • Health: 6.35
  • Energy: 5.78
  • Sanity: 6.0
  • Time Stamp: 2021-08-09 14:23:23

Code Example

$ pip install MonsterLab
$ python3
>>> from MonsterLab import Monster
>>> Monster()
Name: Imp
Type: Demonic
Level: 10
Rarity: Rank 0
Damage: 10d2+1
Health: 20.89
Energy: 20.55
Sanity: 20.79
Time Stamp: 2021-08-09 14:23:23

Metadata

Release files for monsterlab 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monsterlab 2.1.0
File Size Uploaded
monsterlab-2.1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for monsterlab 2.1.0
File Interpreter ABI Platform
monsterlab-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / monsterlab-2.1.0.tar.gz

Download URL monsterlab-2.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
731d93cf0cb4bc38b0771cb81289aa193845586b82e80e07f0cd75e6751169f7
BLAKE2b-256 checksum
How to use checksums
fce3c19e092a3c768f837df2e1b7c04c683fa26c7c8a8f2d2d1743f664a57e48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release files / monsterlab-2.1.0-py3-none-any.whl

Download URL monsterlab-2.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7feb17187bc6daa4bf3bff5c1af5ea02e698ea03247913745f49343f910757b9
BLAKE2b-256 checksum
How to use checksums
1f7b3256e98324011f704921fed6ae845e7fd11bbd774418221cca7cfcbde1dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page