Is someone so kind to help me? I am using emistry's build manager but the problem is that as soon as i save a build with a level 99 non-trans character, reborn and restore my build I will have 2x 99 stats as a novice high!! and on top of that comes the extra 2x 99 stats that i am able to get as a reborn 99/70 class, which results in me being able to get almost 4x 99stats!
I really need assistance please!
Can someone help me only make the build save option only available for level 99/70/50 trans characters and max level extended classes? thank you so much! I really appreciate it!
I've tried this but it doesnt work:
Case 1:
if (Class == EAJ_UPPER) goto pass;
mes "I'm sorry, but you can only use this function as level 99/70 transcendent class!";
close;
pass:
for( set .@i,1; .@i <= .MaxSlots; set .@i,.@i + 1 )
Here the whole script!
headerfunction ManageBuild;mes "[Stat & Skill Manager]";mes "Good day, what can I do for you?";next;if ( Weight > 25000 ){mes "[Stat & Skill Manager]";mes "Oh, I can't help you! I can only help you if your weight is below 2000. Please store some items first!";close;}if (checkfalcon() || checkcart() || checkriding()){mes "[Stat & Skill Manager]";mes "Oh, I can't help you. Please remove your Falcon, Cart or Peco first.";close;}switch( select( ( .BMMode & 1 )?"^FF0000Create or switch builds^000000":"",( .BMMode & 2 )?"^0000FFReset Stat^000000":"",( .BMMode & 4 )?"^0000FFReset Skills^000000":"")){Case 1:for( set .@i,1; .@i <= .MaxSlots; set .@i,.@i + 1 )set .@Menu$,.@Menu$ + (( getd( "Slot_"+.@i+"$" ) == "" )?"^FF0000Empty Slot^000000":getd( "Slot_"+.@i+"$" ) )+":";set .@Slot,select( .@Menu$ );do{next;mes "Build : ^FF0000"+(( getd( "Slot_"+.@Slot+"$" ) == "" )?"Slot "+.@Slot:getd( "Slot_"+.@Slot+"$" ) )+"^000000";mes "STR - ^0000FF"+getd( "STR_"+.@Slot )+"^000000 INT - ^0000FF"+getd( "INT_"+.@Slot )+"^000000";mes "AGI - ^0000FF"+getd( "AGI_"+.@Slot )+"^000000 DEX - ^0000FF"+getd( "DEX_"+.@Slot )+"^000000";mes "VIT - ^0000FF"+getd( "VIT_"+.@Slot )+"^000000 LUK - ^0000FF"+getd( "LUK_"+.@Slot )+"^000000";mes " ";mes "Remaining Points : ^0000FF"+getd( "STATS_"+.@Slot )+"^000000";set .@Option,select(( getd( "Slot_"+.@Slot+"$" ) == "" )?"":"^0000FFSwitch",( getd( "Slot_"+.@Slot+"$" ) == "" )?"Save":"",( getd( "Slot_"+.@Slot+"$" ) == "" )?"":"^FF0000Clear" );ManageBuild( .@Slot,.@Option);}while( .@Option != 1 );break;Case 2:ResetStatus;mes "[Stat & Skill Manager]";mes "Your Stats have been reset.";break;Case 3:ResetSkill;mes "[Stat & Skill Manager]";mes "Your Skills have been reset.";break;}close; function ManageBuild {switch( getarg(1) ){Case 1: // Switch Buildmessage strcharinfo(0),"Build has been switched!";ResetStatus;set StatusPoint,getd( "STATS_"+getarg(0) );statusup2 bStr,getd( "STR_"+getarg(0) ) - 1;statusup2 bAgi,getd( "AGI_"+getarg(0) ) - 1;statusup2 bVit,getd( "VIT_"+getarg(0) ) - 1;statusup2 bInt,getd( "INT_"+getarg(0) ) - 1;statusup2 bDex,getd( "DEX_"+getarg(0) ) - 1;statusup2 bLuk,getd( "LUK_"+getarg(0) ) - 1;break;Case 2: // Save Buildsetd( "STR_"+getarg(0) ),readparam(bStr);setd( "AGI_"+getarg(0) ),readparam(bAgi);setd( "VIT_"+getarg(0) ),readparam(bVIT);setd( "INT_"+getarg(0) ),readparam(bInt);setd( "DEX_"+getarg(0) ),readparam(bDex);setd( "LUK_"+getarg(0) ),readparam(bLuk);setd( "STATS_"+getarg(0) ),StatusPoint;if( .Length[0] < .Length[1] && .Length[0] ){mes "Input a ^FF0000Name^000000 for this Slot.";mes "Name Length : "+.Length[0]+" ~ "+.Length[1]+" Chars";do{input getd( "Slot_"+getarg(0)+"$" );}while( getstrlen( getd( "Slot_"+getarg(0)+"$" ) ) < .Length[0] || getstrlen( getd( "Slot_"+getarg(0)+"$" ) ) > .Length[1] );}else{setd( "Slot_"+getarg(0)+"$" ),"Build "+getarg(0);}message strcharinfo(0),"Build has been saved!";break;Case 3: // Remove Buildmessage strcharinfo(0),"Build has been cleared!";setd( "STR_"+getarg(0) ),0;setd( "AGI_"+getarg(0) ),0;setd( "VIT_"+getarg(0) ),0;setd( "INT_"+getarg(0) ),0;setd( "DEX_"+getarg(0) ),0;setd( "LUK_"+getarg(0) ),0;setd( "STATS_"+getarg(0) ),0;setd( "Slot_"+getarg(0)+"$" ),"";break;}return;} OnInit:// Mode of NPC// 1 = Save & Switch // 2 = Reset Status// 4 = Reset Skills// 7 = All of Above [ 1+2+4 = 7 ]set .BMMode,7;// How Many Slots available to Save Status Builds.set .MaxSlots,4;// Enable Stats Slot Rename + Max Name Length ( 0 = Disable )setarray .Length,3,26; // Min. ~ Max. Words.end; }}}
Hello Hercules!
Is someone so kind to help me? I am using emistry's build manager but the problem is that as soon as i save a build with a level 99 non-trans character, reborn and restore my build I will have 2x 99 stats as a novice high!! and on top of that comes the extra 2x 99 stats that i am able to get as a reborn 99/70 class, which results in me being able to get almost 4x 99stats!
I really need assistance please!
Can someone help me only make the build save option only available for level 99/70/50 trans characters and max level extended classes? thank you so much! I really appreciate it!
I've tried this but it doesnt work:
Here the whole script!
Share this post
Link to post
Share on other sites