
I'm trying to pull a stat off a D&D 4e character sheet, divide it by a certain amount, and then use that amount to determine how many of the Fate/fudge dice to roll. I'd like to do it as an inline roll, but I can't get it to work. I'm using the floor() function to get a whole number for the dice roll, but it won't actually do the dice roll unless I type it in funky, aka not as an inline roll, just inline calculations. I have a character named Nick's Fighter, he has a strength attribute of 18 (this can be referenced by @{Nick's Fighter|strength} which spits out the proper number when I do the inline command like this - [[@{Nick's Fighter|strength}]] which gives the little box with 18 in it), and I need to divide that attribute by 5. That should give me 3, and I want to roll that many fate dice. This is what I tried at first, but it gave me an error. (Could not determine result type of: [{"type":"M","expr":"floor(18/5)"},{"type":"C","text":"df"}]) [[floor(@{Nick's Fighter|strength}/5)df]] This is the only way I can get it to work. /r [[floor(@{Nick's Fighter|strength}/5)]]df What am I missing to get it all inline?