Jump to content
  • 0

Job Check before warping


Question

Posted

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 

2 answers to this question

Recommended Posts

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...