summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/character_shim.erl')
-rw-r--r-- | src/character_shim.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/character_shim.erl b/src/character_shim.erl index 0ab33cb..47d9cac 100644 --- a/src/character_shim.erl +++ b/src/character_shim.erl @@ -19,6 +19,7 @@ generate_char (N) -> name = IDAsString, % Name icon = IDAsString, % Icon portrait = IDAsString, % Portrait + health = (rand:uniform(5) + 1), mov_pts = (rand:uniform(10) + 10), % Movement Points atk_rg = (rand:uniform(5) - 1) % Attack Range }. |