Jump to content
  • 0

class suit baby 3rd problem


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.06
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

 

Hi people. I got this script and it works normally with the exception of baby 3rd

 

Spoiler

//####################################################
//#                              ™ #
//#   ####### ######  ###   ### ###   ### ###   ###  #
//#   ###    ###  ###  ### ###   ### ###   ### ###   #
//#   #####  ###  ###   ####      ####      #####    #
//#   ##     ###  ###  ### ###   ### ###     ###     #
//#   ##      ######  ###   ### ###   ###   ###      #
//#                                                  #
//####################################################
//v1.0: Allows changing suits to 3rd classes;        #
//v1.1: Added Xmas and Summer suits;                 #
//v1.2: Added support to baby 3rd class suits.       #
//####################################################
que_temsky,49,133,5    script    Class Suits    485,{
 
OnCommand:
 
    if(!vip_status(VIP_STATUS_ACTIVE)) {
        message strcharinfo(0),"This service is only avaiaible to VIP players.";
        end;
    }
 
    mes "[^00FF00Acesso VIP^000000]";
    mes "Então, deseja mudar sua aparência?";
    menu "Mudar para aparência 3rd.",thirdclass,"Mudar para aparência 3rd baby.",babythirdclass,"Second class",secondclass,"Voltar para o normal.",reset;
 
thirdclass:
    .@eac = eaclass();
    .@to_class = roclass(.@eac|EAJL_THIRD);
    if(.@to_class >= 0)
        changebase .@to_class;
    else
        mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
    close;
 
babythirdclass:
    .@eac = eaclass();
    .@to_class = roclass(.@eac|EAJL_THIRD|EAJL_BABY);
    if(.@to_class >= 0)
        changebase .@to_class;
    else
        mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
    close;
 
secondclass:
 
    .@eac = eaclass();
    .@to_class = roclass(.@eac&EAJ_UPPERMASK);
    if(.@to_class < 0)
        .@to_class = roclass(.@eac|JOBL_2_1);
    if(BaseJob == Job_Ninja)
        .@to_class = ((Sex)? Job_Kagerou : Job_Oboro);
    id(.@to_class < 0)
        mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
    close;
 
reset:
    changebase Class;
    close;
 
miscsuits:
    next;
    mes "[Suit Provider]";
    mes "Which of the suits would you like to use?";
    menu "Xmas suit",xmas,"Summer suit",summer;
 
xmas:
    changebase 26;
    close;
 
summer:
    changebase 27;
    close;
 
OnInit:
 
    bindatcmd "visual","Class Suits::OnCommand";
    end;
 
}

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  150
  • Reputation:   11
  • Joined:  12/03/18
  • Last Seen:  

Any errors showing up?

 

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