Saving throws

For builders to discuss and ask building questions.
Post Reply
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Saving throws

Post by Mask » Thu Nov 19, 2009 6:05 pm

Hi there,

I've added saving throw support to area code, so that one is able to do:

if save_will ( $n )
if save_fortitude ( $n )
if save_reflex ( $n )

You can specify a damage type as the second parameter from this list:
"acid",
"air",
"chaotic",
"cold",
"darkness",
"death",
"earth",
"electricity",
"evil",
"fear",
"fire",
"force",
"good",
"lawful",
"light",
"mind affecting",
"paralysis",
"poison",
"sonic",
"water"
And finally, a third option is a modifier. So you can for example do:

if save_will ( $n, fire, -5 )

or save_reflex ( $n, acid )
Enig
Sword Grand Master
Sword Grand Master
Posts: 787
Joined: Wed Dec 20, 2006 5:28 pm
Location: The Frozen North (Canada!)

Re: Saving throws

Post by Enig » Fri Nov 20, 2009 7:30 am

Hi! This all looks great, but I'm a bit unclear on one thing!

What does the standard difficulty work out to be for unmodified saves?

Ie. If I were to use just 'if save_will ($n, acid), would most characters be able to make it most of the time, or half of the time, or etc?

Thanks! :)
Post Reply