This
is essentially the case; we are in a "buff heavy" group in our
pathfinder game(Certain buffs aren't in the macro yet such as haste and
what not). We don't use the ingame sheet and i was hoping to make a
proper attack macro to save time for everyones case on doing math based
on buffs.
Here's what i got thusfar and it appears to work except for the
damage(on the smite) which just seems to be messed up but i'm not sure
why as i did input the 2.
(For reference, i have a x3 crit modifier on said hand crossbow)
/me Attacks with his hand crossbow Atk [[1d20cs>19+18[Bab+dex]+3[Weapon]+2[Pbs+Bracer]-2[TWF]+ ?{Misc|0} + ?{Inspire?| No, [[0]] |Yes,[[1]] } + ?{GoodHope?| No, [[0]] |Yes,[[2]] } + ?{Smite?| No, [[0]] |Yes,[[7]] } }]] Dmg [[d4+3[Weapon]+1[Pbs]+ ?{Inspire?| No, [[0]] |Yes,[[1]] } + ?{GoodHope?| No, [[0]] |Yes,[[2]] } + ?{Smite?| No, [[0]] |Yes,[[2]] } + ?{Sneak? | No, [[0]] | Yes, [[4d6]] } + ?{Unholy? | No, [[0]] | Yes, [[2d6]] } }]] Crit (![[1d20cs>19+23 -2 + ?{Misc|0} + ?{Inspire?| No, [[0]] |Yes,[[1]] } + ?{GoodHope?| No, [[0]] |Yes,[[2]] } + ?{Smite?| No, [[0]] |Yes,[[7]] } }]]!) CritDmg (![[2d4+6 +2 + ?{Inspire?| No, [[0]] |Yes,[[1]] } + ?{GoodHope?| No, [[0]] |Yes,[[2]] } + ?{Smite?| No, [[0]] |Yes,[[2]] } }]]!)
Anyone that can help me fix my macro?
Edit: Secondairy question; Is there a way to allow a number to be imputted in the below macro for the amount of times to roll something? (For example when mass spellcrafting or appraising, sometimes i'd require 10 rolls in 1 go and i'd rather have a less spammy option) As when i tried the "number of dice" command, it started messing up the entire macro. &{template:default} {{name=Things i Know}} ?{Which Knowledge?| Linguistics, **Linguistics** [[1d20+17]].| Arcana, **Arcana** [[1d20+12]].| Dungeoneering, **Dungeoneering** [[1d20+10]].| Engineering, **Engineering** [[1d20+7]].| Geography, **Geography** [[1d20+7]].| History, **History** [[1d20+7]].| Local, **Local** [[1d20+10]].| Nature, **Nature** [[1d20+7]].| Nobility, **Nobility** [[1d20+12]].| Planes, **Planes** [[1d20+7]].| Religion, **Religion** [[1d20+10]].| Survival, **Survival** [[1d20+4]].| Soldier, **Prof.Soldier** [[1d20+9]].| Heal, **Heal** [[1d20-1]].| Spellcraft, **Spellcraft** [[ ?{Number of Dice|1}d?{Type of Die|20} + ?{Modifiers|20} ]]. | Appraise, **Appraising** [[ ?{Number of Dice|1}d?{Type of Die|20} + ?{Modifiers|11} ]].}