Oppositional Dice FormulasAuthor Submitted by Version D/L File Size Date Added Tonitrus Tonitrus 269 12.25 KB Jun 28, 2009
DescriptionThis is a fairly trivial smaugspell alteration that increases the flexibility of smaugspells by an order of magnitude.
What it does:
Victim's stats can now be referenced by smaugspell dice formulas by using capital letters. Lowercase letters are the spell's caster, or skill's user. A skill can be caster's strength verses defender's con, caster's wisdom verses defender's luck, or any other combination of caster's and defender's stats.
Compiles on smaugfuss 1.7, 1.8, and 1.9. Maybe even others, who knows?
This is a rewrite of code that's decently tested, so, barring typos (yours or mine), should work fine.
I wrote this up as a snippet because I believe this to be a feature that should be present in all Smaug code.
(Bonus: Step 1 makes it so smaugspells won't divide by zero)
User Comments For: Oppositional Dice Formulas