Thread: Superpowers
View Single Post
Old 08-04-2008, 08:10 PM   #26
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"));
I meant the word in the quotes. Here, in the strength code, the word is "strength25." In the charisma code, "Char25" is in the quotes I believe. "Char" in this case I'm assuming refers to "charisma," not character. When I was trying to modify the strength code for charisma, it didn't work for some reason. I spelled out "charisma25," is that why?
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote