Jump to content
  • 0

Gunslinger and Ninja Stat Points giver NPC edit


Mabuhay

Question


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

// by: MrVandalBus
prontera,147,168,5	script	Gunslinger Master	632,{
if(Class == 24) {
if(statpoints !=1) goto L_give; else goto L_given;
L_give:
mes "[Gunslinger Master]";
mes "Let us not let those Rebirth Classes trash us!";
next;
mes "[Gunslinger Master]";
mes "I will give you a special power againts them!";
next;
mes "[Gunslinger Master]";
mes "Here are some Stat points for our kind!";
next;
mes "[Gunslinger Master]";
mes "Use it wisely!";
specialeffect2 72; specialeffect2 99; specialeffect2 77;
set StatusPoint, StatusPoint + 52;
close2;
set statpoints,1;
end;
L_given:
mes "[Gunslinger Master]";
mes "Use it wisely!";
close;
} else {
specialeffect 64; specialeffect2 65;
npctalk "Hey, don't you dare come close to me!";
end;
}
end;
}

prontera,164,168,3	script	Hokage	636,{
if(Class == 25) {
if(statpointsnj !=1) goto L_give; else goto L_given;
L_give:
mes "[Hokage]";
mes "Let us not let those Rebirth Classes trash us!";
next;
mes "[Hokage]";
mes "We shall dominate over them!";
next;
mes "[Hokage]";
mes "I will endow you a power which our ancestors has given only for our kind.";
next;
mes "[Hokage]";
mes "Don't let us down my child.";
specialeffect2 97; specialeffect2 76; specialeffect2 62;
set StatusPoint, StatusPoint + 52;
close2;
set statpointsnj,1;
end;
L_given:
mes "[Hokage]";
mes "Don't let us down my child.";
close;
} else {
specialeffect2 30;
npctalk "Get out of my way!";
end;
}
end;
}

I made that script so that from 1273 Stat points of NJ and GS would increase to 1325 just like rebirth classes. my problem is that when the NJ or GS resets Stat points, it turns back to 1273 -.- and those NPC wouldn't give the Stat points anymore >.> help maybe?

Working Thanks /no1

Edited by MrVandalBus
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

my problem is that when the NJ or GS resets Stat points, it turns back to 1273

Add statuspoint for ninja and gunslinger class - with condition - in the reset stats NPC.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

How do i do that? sorry im soo noob

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

In your reset NPC add

if ( ( Class == 24 && statpoints ) || ( Class == 25 && statpointsnj ) )
   set StatusPoint, StatusPoint + 52;

after

resetstatus;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...