Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

[PF] Full Attack macro is not calculating crit multiplier and....

So I just started not to long ago I absolutely love roll20 the customization is awesome, and no software downloaded is sweet. &nbsp;That being said I'm having problems with a macro I have: /em Launches a series of unarmed attacks. &{template:pf_attack} {{header_image_melee=[Melee](<a href="http://i.imgur.com/1QEl2bG.png" rel="nofollow">http://i.imgur.com/1QEl2bG.png</a>)}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=@{repeating_weapon_0_name}}} {{attack=[[ 1d20cs&gt;@{repeating_weapon_0_crit-target} + [[ (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ]] ]]}} {{damage=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{crit_confirm=[[ 1d20 + [[ (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ]] ]]}} {{crit_damage=[[ [[ ([[ @{repeating_weapon_0_damage-dice-num} ]] * ([[ @{repeating_weapon_0_crit-multiplier} ]] - 1)) ]]d@{repeating_weapon_0_damage-die} + [[ ([[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] * (@{repeating_weapon_0_crit-multiplier} - 1)) ]] ]]}} {{type=@{repeating_weapon_0_type}}} {{description=@{repeating_weapon_0_notes}}} @{macro_options} {{attack2=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack2_value} ]] ]]}} {{damage2=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{crit_confirm2=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack2_value} ]] ]]}} {{crit_damage2=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{attack3=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack3_value} ]] ]]}} {{damage3=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{crit_confirm3=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack3_value} ]] ]]}} {{crit_damage3=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{attack4=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack4_value} ]] ]]}} {{damage4=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} {{crit_confirm4=[[ 1d20cs&gt;[[ @{repeating_weapon_0_crit-target} ]] + [[ ( (@{repeating_weapon_0_proficiency} + (((@{repeating_weapon_0_enhance} + @{repeating_weapon_0_masterwork}) + abs(@{repeating_weapon_0_enhance} - @{repeating_weapon_0_masterwork})) / 2) + @{repeating_weapon_0_attack} + @{repeating_weapon_0_attack-type} + @{armor-proficiency}) ) + @{repeating_weapon_0_iterative_attack4_value} ]] ]]}} {{crit_damage4=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} The macro works great with the exception that when a critical is rolled it doesn't add in the crit multiplier. &nbsp;I tried changing the multiplier to different values but it seems that it doesn't recognize it. &nbsp;Can someone help me on what to do? question 2: This character is a monk and his other full-round action he wants to have a stunning fist added to the first attack so on the character sheet I just added the same value and in notes wrote the DC needed however it always comes up with the first full-attack instead. &nbsp;How do I make it recognize that there are 2 attack options and that I want to select the 2nd attack option not the first?
1439869085
vÍnce
Pro
Sheet Author
John, your first attack has the correct formula for crit_damage; {{crit_damage=[[ [[ ([[ @{repeating_weapon_0_damage-dice-num} ]] * ([[ @{repeating_weapon_0_crit-multiplier} ]] - 1)) ]]d@{repeating_weapon_0_damage-die} + [[ ([[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] * (@{repeating_weapon_0_crit-multiplier} - 1)) ]] ]]}} However the iterative attacks(2-4) in your macro do not {{crit_damage2=[[ @{repeating_weapon_0_damage-dice-num}d@{repeating_weapon_0_damage-die} + [[ (@{repeating_weapon_0_enhance} + @{repeating_weapon_0_damage} + @{repeating_weapon_0_damage-ability}) ]] ]]}} If you change the crit_damage for your iterative attacks to match the first attacks's crit_damage they should be fine. I'm not sure I follow your second question. ;-(&nbsp; I would think you just need to declare you are attempting Stunning Fist before attacking and the GM would verify the Fort vs DC and apply the penalties as needed. &nbsp;Could you create a 2nd attack macro just for when Stunning Fist is used that includes the effects?
thanks Vince, it works. &nbsp;I figured out the second question and it's now working as well
1439872801
vÍnce
Pro
Sheet Author
John S. said: thanks Vince, it works. &nbsp;I figured out the second question and it's now working as well That's what I love to hear. &nbsp;Now go kill something. &nbsp;:-)