diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-27 17:54:26 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 05:38:01 +0200 |
commit | 48310612100205a13b4d743951fbc436d081d011 (patch) | |
tree | ad97e584547176272dfee043bf23232da6d635a5 /src/types.h | |
parent | 33f06d33cc2f4cd3d36a9616f7f9e9abc7287080 (diff) |
Lua: Add "dice_type" to support moving spells to C
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index 23df8af5..796ed024 100644 --- a/src/types.h +++ b/src/types.h @@ -2440,6 +2440,16 @@ struct range_type s32b max; }; +/* + * Dice + */ +typedef struct dice_type dice_type; +struct dice_type +{ + long base; /* Base value to which roll is added. */ + long num; /* Number of dice */ + long sides; /* Sides per dice */ +}; /* * Device allocation for skill |