Post
by Kregor » Mon Apr 14, 2008 4:05 pm
Agreed. We need if checks for saving throws, now that we have working saves, something on the lines of:
if will_save(dam_type, $x)
if fort_save(dam_type, $x)
if refl_save(dam_type, $x)
So that we can specify a damage/descriptor type (this will also allow the APPLY_SAVE flags to work).
Combine that with the previous thread that suggests adding a dam_type argument to the mpdamage() function, and we have the makings of pretty much any kind of magical pitfall/trap/etc we could want, that all work hand in hand with the new saves/resists.
"There is no safety for honest men except by believing all possible evil of evil men."
Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki