prontera,198,163,5 script master statpoint 495,{
mes ( "Hi, I'm the " + strnpcinfo(0) + " !" ) ;
if ( (eaclass()&EAJL_THIRD ) && ( BaseLevel > 174 ) && StatNPCused = 0 ) {
mes ( "Do you want to max your StatusPoint?" );
next;
switch(select( "Yes","No" )) {
case 1:
mes ( "well! let's start by resetting all the stat! " );
if ( readparam(bStr) > 1 ) {
atcommand "@Str -"+(readparam(bStr)- 1); }
if ( readparam(bAgi) > 1 ) {
atcommand "@Agi -"+(readparam(bAgi)- 1); }
if ( readparam(bVit) > 1 ) {
atcommand "@Vit -"+(readparam(bVit)- 1); }
if ( readparam(bInt) > 1 ) {
atcommand "@Int -"+(readparam(bInt)- 1); }
if ( readparam(bDex) > 1 ) {
atcommand "@Dex -"+(readparam(bDex)- 1); }
if ( readparam(bLuk) > 1 ) {
atcommand "@Luk -"+(readparam(bLuk)- 1); }
mes ( "done!");
next;
mes ( "now we reset your stat points!");
StatusPoint = 0;
mes ( "done!");
next;
mes ( "maxed out 2 selected stat to max!") ;
next;
mes ( "Increasing StatusPoint!");
StatusPoint += 25000;
mes ( "Done!");
next;
mes ("congratulations! now you're at max! ");
StatNPCused = 1;
close;
case 2:
mes ( "Oh well have fun!");
close;
}
close;
type this, but not work...