Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
Bing, AhrefsBot

Members: 0
Guests: 35
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
Files
Upload Rules | File Index | Search | Recent Uploads
» Root » SmaugFUSS » Smaug Snippets
Oppositional Dice Formulas
Author Submitted by Version D/L File Size Date Added Last Updated

Tonitrus Tonitrus 675 12.25 KB Jun 28, 2009

Description
This 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)

Revisions: 0
Rating: | Download | Comments(0)