I kinda drive myself insane with my own macros. (There's cleaner ways to do it, but I tend to just push through it)
This assumes that I have base Attributes in my character sheet (str, dex, level, bab, etc)
I keep a set of variables for three different weapons and keep track of their attack and damage bonus' there.
So AttackBonus1 and DamageBonus1 correlate to my +1 flail of acid. (so +1 attack bonus and +1 damage bonus).
If I get +2 flail, or someone buffs my attack rolls, I just update the AttackBonus1 value on my character's attributes and swing as usual.
/me swings his flail around, the blunt protrusions glistening with drops of magical acid...
Attack: [[1d20+@{Rurik|STR} + @{Rurik|BAB} +@{Rurik|AttackBonus1} ]]
Damage:[[1d8 + @{Rurik|STR} + @{Rurik|DamageBonus1} ]] + Acid:[[1d6]]
Bludgeoning (20/x2)
If the attack threatens...
Crit Confirm:[[1d20 + @{Rurik|STR} + @{Rurik|BAB} + @{Rurik|AttackBonus1}]] for an Addt'l [[1d8 + @{Rurik|STR} + @{Rurik|DamageBonus1} ]] Bludgeoning Dmg
This results in output like this:
Rurik(Dwf Ftr): Attack: 21 Damage:10 + Acid:4
Bludgeoning (20/x2)
If the attack threatens...
Crit Confirm:22 for an Addt'l 5 Bludgeoning Dmg
Now this one I'm still playing with. Not sure if I have the math quite nailed down yet.
Rurick is playing a Carrion Crown campaign and we're constantly plagued with CON damage.
I've always used a macro to display my defences like AC, saving throws, etc, but I recently decided to incorporate
my HP, both current and max into it. As I take damage, rather than updating the little circles on my char, I update my character sheet
which has variables for DamageTaken, and ConDamage. (BaseHP I just enter staticly from HP rolls as I've leveled)
(And yes... it's painful to read.)
/me attempts to defend himself from the attack...
(DEFENSES)
HP: Current:[[@{Rurik|BaseHP} + (@{Rurik|Level} * @{Rurik|CON} ) - (@{Rurik|Level} * @{Rurik|ConDamage} ) - @{Rurik|DamageTaken}]] / Max:[[@{Rurik|BaseHP} + ( (@{Rurik|CON} - @{Rurik|ConDamage}) * @{Rurik|Level} )]]
AC:[[10 + @{Rurik|ArmorBonus} + @{Rurik|Shield} + @{Rurik|DEX}]]+2 vs Aber/+4 vs Giant
Fort:[[1d20 + @{Rurik|Fortitude} + (@{Rurik|CON} - @{Rurik|ConDamage})]] Ref:[[1d20 + @{Rurik|Reflex} + @{Rurik|DEX}]] Will:[[1d20 + @{Rurik|Will} + @{Rurik|WIS}]] (+1 vs fear)
CMD[[10 + @{Rurik|STR} + @{Rurik|DEX} + @{Rurik|BAB}]]/ vs Trip:[[10 + @{Rurik|STR} + @{Rurik|DEX} + @{Rurik|BAB} + 6]]/ vs Disarm:[[10 +@{Rurik|STR} + @{Rurik|DEX} + @{Rurik|BAB} + @{Rurik|DisarmBonus} ]]
Spell Resistance: [[5 + @{Rurik|Level} ]]
Which outputs like this:
Rurik(Dwf Ftr): (DEFENSES)
HP: Current:37 / Max:37
AC:22+2 vs Aber/+4 vs Giant
Fort:15 Ref:6 Will:6 (+1 vs fear)
CMD19/ vs Trip:25/ vs Disarm:21
Spell Resistance: 9