I’m trying to calculate some stuff in AnyDice. I’m designing a dice mechanic based around throwing a number of dice and keeping the highest, which is fairly easy to output, BUT I'd want to add a parameter where if two dice show the same result (i.e a pair) then you count both of them as a single die in terms of what you keep. Would someone know if this can be coded, and if so how?
>>44212909
Sadly, I have no idea. I tend to do the tricky stuff like that in Excel, which, granted, can be a bit time consuming.
Not sure about anydice, but I use R to deal with all of my rolling + weird mechanic edits.
>>44213178
>R
I'm trying to google that but I can't find keywords that yield any logical results
>>44213488
Maybe they meant to type Roll20?
>>44214468
Or R-olling a Bunch of Dice and seeing what happens. Or maybe Ralph, who is very good at math.
A momentary highjack, but would anyone know how to replicate Twilight 2013's dieroll mechanic in anydice?
>>44213488
R is a programming language.
>>44214965
oh, that'd make sense
>>44214888
no problem, I should've made this an AnyDice general from the start. Unfortunately I'm just learning to use it and can't really help you :(
>>44214888
>would anyone know how to replicate Twilight 2013's dieroll mechanic in anydice?
What is Twilight 2013's dice mechanic?
>>44212909
Does AnyDice allow for if statements? If not you'd be better off using a programming language, even using something like vbscript would allow you to accomplish your goal.