Jump to content
  • 0

Disabling Stylist for Kagerou/Oboro


insarius

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

Did I do this right?

prontera,157,196,4 script Stylist#custom_stylist 606,{

if(basejob == job_kagerou || basejob == job_Oboro) {
mes "Sorry, I cannot help you right now.";
close;
}
setarray .@Styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color");
setarray .@Look[1],7,1,6;
set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
set .@Revert, getlook(.@Look[.@s]); set .@Style,1;
while(1) {
setlook .@Look[.@s], .@Style;
message strcharinfo(0),"This is style #"+.@Style+".";
set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
switch(select(.@menu$)) {
case 1: set .@Style, ((.@Style!=.@Styles[.@s])?.@Style+1:1); break;
case 2: set .@Style, ((.@Style!=1)?.@Style-1:.@Styles[.@s]); break;
case 3: message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+".";
input .@Style,0,.@Styles[.@s];
if (!.@Style) set .@Style, rand(1,.@Styles[.@s]);
break;
case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; }
} end;
}

EDIT: I also wish to know how I can limit the number of styles of Kagerou.

Edited by insarius
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

if (Class == Job_Kagerou || basejob == Job_Oboro)  {
mes "Sorry, I cannot help you right now.";
close;
}

A script like this will not stop Ninja from bringing the style to job change.

Edit: You can add this to limit their style. (After the original setarray .@Styles)

if (Class == Job_Kagerou || basejob == Job_Oboro) setarray .@Styles[1],3,4,5;

3 is cloth colors, 4 is hairstyles and 5 is hair colors.

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

if (Class == Job_Kagerou || basejob == Job_Oboro)  {
mes "Sorry, I cannot help you right now.";
close;
}

A script like this will not stop Ninja from bringing the style to job change.

Ninja's are fine, Kagerou and Oboro are the only dangerous ones here.

But your point is;

Ninja's having style #33 and change into Kagerou will crash?

Edited by insarius
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  345
  • Reputation:   230
  • Joined:  03/21/12
  • Last Seen:  

Maybe you should consider using my free palette pack, which goes up to 36 styles for Kagerou :)

(Will be updated soon)

http://rathena.org/board/files/file/2436-32-kamishis-clothes-dyes-from-693-big-pack/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

^@insarius, I'm not sure job changing will override user's ccolor. Using KamiShi's palette pack is best idea, you can't imagine how good-looking is the whole collection :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

Maybe you should consider using my free palette pack, which goes up to 36 styles for Kagerou :)

(Will be updated soon)

http://rathena.org/b...m-693-big-pack/

I have that pack... :o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Then why restricting Kagerou colors?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

Then why restricting Kagerou colors?

One of my players crashed at Palette 36.

He's using my data folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  345
  • Reputation:   230
  • Joined:  03/21/12
  • Last Seen:  

The free pack doesn't have more than 36 palettes. Then you should restrict it when it goes higher than 35# :)

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...