Login
User Name:

Password:



Register

Forgot your password?
A Bash Startup Script
Feb 7, 2026 3:49 pm
By eldhamud
Force Skills
Jan 1, 2026 3:58 pm
By Elwood
Overland with Bitmaps
Jul 4, 2025 11:57 pm
By Samson
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, Petal Search, Baiduspider, AhrefsBot, DotBot, Yandex

Members: 0
Guests: 23
Stats
Files
Topics
Posts
Members
Newest Member
507
3,814
19,735
595
FlorianNar

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 917 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)