Jump to content
  • 0

Job Check before warping


Fahhad

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Hi

 

i made a map for newbies and i want a npc to work like this

 

checks the player job if it was a novice with job 10 , he warp to main town "fenix"

 

if not then he stays and gets full heal + bless and agi buffs. dont mind the mes massages , ill do it my self i just need the commands /lv

 

Thanks in advance /bo 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

actually, it is a very simple script:
 

prontera,150,150,5    script    117,{

            set .map$,"Your warp map";
     
            if ( JobLevel >= 10 ) {
                   
                    warp .map$,150,150;
                    end;
                   
            } else {
           
                    specialeffect2 313; percentheal 100,100;
                    sleep2 200;
                    specialeffect2 37; sc_start SC_INCREASEAGI,240000,10;
                    sleep2 200;
                    specialeffect2 42; sc_start SC_BLESSING,240000,10;
           
                    }
}

Copy it from there --> PasteBin

 

I've added 2 "sleep2" instructions, because looks ugly when all the buffs are applied at once

Edited by eKoh
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Thanks a lot <3

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