Jump to content
  • 0

Dress Changer & Breeder. How to have it work properly?


HristDead

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Hello rAthena! 

May I ask? I am using Secret's dress room to switch outfits and was wondering how to make the breeder work along with this properly?

Secret's dress changer only switches the character's sprite/appearance so when I click the breeder it would recognize the characters that have got a third job sprite as non-third jobs, which means that they are given falcons, pecos and carts rather than wargs, dragons/gryphons and mado gear.

Is there a way I can have it recognize their (third) class sprite some way and be given the correct rental facility? Thanks a lot. ? 

prontera,155,180,3    script    Universal Rental NPC    469,{
    if (ismounting()) {
        message strcharinfo(0),"You must first remove your mount.";
        end; }
    else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
        if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
            if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
            else getitem 6124,1; }
        else getitem 6124,1; }
    else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
        if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
            if(select(" ~ Cart: ~ Mado")==1) setcart;
            else setmadogear; }
        else setcart; }
    else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
    else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
    else if (!checkriding() && getskilllv("KN_RIDING")) {
        if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
        else setriding; }
    else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
    else {
        message strcharinfo(0),"You do not meet requirements to rent.";
        end; }
    specialeffect2 276;
    end;
}
Edited by HristDead
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

You will either need to edit the source code of the game for that or replace the sprites themselves. Hope it give you more info.

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