I am currently using the following macro, but I think I am missing something which makes the macro not work. Theoretically when I roll a 6d3, it should result in 14 but it almost always averages out below that. 2s are definitely being replaced, but I think it is then stopping the dice rolling afterwards.
Any ideas would be so helpful.
Code: Select all
[H: Total = 0]
[H: DiceNumber = MOD]
[H: DiceSize = MOD]
[H: ExpertiseTriggered = 0]
[H, C(DiceNumber, ""), CODE: {
[CurrentRoll = eval(strformat("d%{DiceSize}"))]
[ExpertiseTriggered = if(CurrentRoll == 1, 1, ExpertiseTriggered)]
[IF(ExpertiseTriggered): CurrentRoll = 2]
[Total = Total + CurrentRoll]
[ExpertiseTriggered = 0]
}]
[Total+5]