So i am playing a 3.5 game, and I want to combine the results of an Iaijutsu Focus skill check with an attack and damage roll. the damage roll has two sections. one with the base weapon and multipliable modifiers, and the other with extra damage. the extra Damage is dependant on the result of the Iaijutsu focus skill check. example 10-14 = 1d6, 15-19 = 2d6, and so on. it will cap at a max of 9d6. my problem is finding a script that would allow the reuse of the Iaijutsu Focus skill check. here is what i have currently for the whole macro &{template:DnD35StdRoll} {{pcflag=true}} {{name=Iaijutsu
Check}} {{sense motive=[[1d20+@{sensemotive}+?{Other Sense Motive
Bonuses?|0}]]}} {{Iaijutsu Focus Check=[[1d20+@{iaitjutsufocus}+?{Other
Iaijutsu Focus Bonuses?|0}]] this replaces this character’s Initiative}}
{{attack roll=[[1d20+@{bab}+@{str-mod}+@{weapon#enh}+@{weapon#focus}+?{Other
attack bonuses|0}]]}} {{damage=Weapon
[[1d10+@{str-mod}+@{weapon#enh}+@{weapon#specialize}+?{Other Normal Damage
Bonuses?|0}]]
Iaijutsu Focus Dmg [[floor((reuse roll for Iaijutsu
Focus-10)/5)/2,9)kl1+?{Other Iaijutsu Damage Bonuses}]] }}