Thread: Superpowers
View Single Post
Old 08-03-2008, 10:29 AM   #17
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
It should work with any attribute. The actual item that I used to test this out, and that Paul helped me with was for Intelligence. When I was testing $MyIndex (instead of $TargetIndex) I did it for Dexterity.

For Charisma it should read:
Code:
$SET_CHAR_ASL($MyIndex(),"Char25",25-#$GET_CHAR_CHA($MyIndex()));
$SET_CHAR_CHA($MyIndex(),25);
And
Code:
$SET_CHAR_CHA($MyIndex(),$GET_CHAR_CHA($MyIndex())-#$GET_CHAR_ASL($MyIndex(),"Char25"));
(For the Activation and Deactivation scripts respectively.)
Ah, I see what I was doing wrong; I was spelling out "Charisma" I see you have "Char," how do you know what to put there? Like is Intelligence Intell, and Dexitary is Dexit, etc., etc...?
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote