Ok so this is using the Shadowrun hit system of dice, you roll X amount of dice, 5 and 6 are a hit. Is there anyway to limit the total amount of hits possible? For instance say there is a limit of 4 possible hit. Using a dice macro to run this setup would it be possible to include in the macro a limitation?
It doesn't seem possible to me off the top of my head, but maybe there is a way?
Limitations on rolls? D6 hit system
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Limitations on rolls? D6 hit system
you could use Wiki: max()
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Limitations on rolls? D6 hit system
That things a touch vague, so if I had a roll of 6, 6, 6, 3, 2, 1 and set a max of 2 will it just give me the value two then? For instance the three 6s count as hits, I only want two coming back as the actual result however.
That max function seems to require me to place the numbers in the max and I get those back from the rolls?
That max function seems to require me to place the numbers in the max and I get those back from the rolls?
-
- Giant
- Posts: 249
- Joined: Mon Apr 20, 2009 9:31 pm
Re: Limitations on rolls? D6 hit system
Oddly enough, to limit to a maximum value, you use Wiki: min().wolph42 wrote:you could use Wiki: max()
Code: Select all
[successes = 4d6s5]
[limitedSuccesses = min(successes, 2)
Re: Limitations on rolls? D6 hit system
Doh! I even thought about this when I typed this which resulted in a double correctionAkodo Makama wrote:Oddly enough, to limit to a maximum value, you use Wiki: min().wolph42 wrote:you could use Wiki: max()
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS