If you are happy to answer a query on every attack you could add the following to the description instead: }} {{r1=[[@{d20}cs>@{atkcritrange} + @{atkattr_base} + 0@{atkmod} + [[@{atkprofflag}]][PROF] + [[ 1 + ?{vs Caster|No,0|Yes,1}]][MAGIC]]]}} @{rtype}cs>@{atkcritrange} + @{atkattr_base} + 0@{atkmod} + [[@{atkprofflag}]][PROF] + [[ 1 + ?{vs Caster}]][MAGIC]]]}} {{dmg1=[[@{dmgbase}+[[@{dmgattr}]] +0@{dmgmod}[MOD] + [[ 1 + ?{vs Caster}]][MAGIC]]] edit: added the damage modifier for 'vs caster'