Thread: Superpowers
View Single Post
Old 08-02-2008, 07:45 AM   #15
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Quote:
Originally Posted by manikus View Post
Okay, I've got it now.

It is a bit more complicated than what we've been doing.

Here is the Activation Script:
Code:
$SET_CHAR_ASL($TargetIndex(),"strength25",25-#$GET_CHAR_STR($TargetIndex()));
$SET_CHAR_STR($TargetIndex(),25);
And the Deactivation Script:
Code:
$SET_CHAR_STR($TargetIndex(),$GET_CHAR_STR($TargetIndex())-#$GET_CHAR_ASL($TargetIndex(),"strength25"));
Okay, I tested this, works just beautifilly, thank you. Even works with different numbers too.
But what about other stats, like Charisma? I tried this script with the appropriate changes, and it seems not to work. Is it just me?
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote