Jump to content
  • 0
PapaZola

Bloody Branch Spawn Script

Question

hello its there posibble make bloody branch only can use at private mvp room map?

Quote

12103,Bloody_Dead_Branch,Bloody Branch,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ monster "this",-1,-1,"--ja--",-3,1,""; },{},{}

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

check this post, 

 

49 minutes ago, PapaZola said:

hello its there posibble make bloody branch only can use at private mvp room map?

 

 

Share this post


Link to post
Share on other sites
  • 0
Quote

I think for instances like this, it would be easier for a person to just modify the source quickly. For instance, look how PK is setup.

        if( battle_config.pk_mode )
            map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

We force all maps to PvP mode at loading in map::map_flags_init(). If you want to do like what you said where you'd rather allow branches on specific maps only, then I would do this:

        map[i].flag.nobranch = 1; // make all maps unable to use branches

Then in a script:

prontera,1,1,1    script    removenobranch    -1,{
OnInit:
    removemapflag "prontera",mf_nobranch;
    //rest of maps.
}

Have your script remove the mapflags that were set by the server at start and you have yourself a quick "limited" branch allowed area of maps.

 

Share this post


Link to post
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.