modifier

Settable:
no
Arguments:
character, string
Return Value:
int

This function returns the total affect modifier on a character for the specified affect. For example, if you wanted to know the total amount of disease resistance on %a from spells like Talshan's Tribute, Talshan's Diablerie, and Purity, you would use

   modifier(%a,'resist_disease')
and (if all three were up) this would return 99.