Jump to content
  • 0

PvP only on certain cell


Question

3 answers to this question

Recommended Posts

Posted (edited)

http://www.eathena.w...howtopic=274486

so do a setcell .. cell_basilica ... so players cannot hit each other on that cell, effectively make other players can pvp only on certain cells

I assumed you already know how to write an event script if you are asking this question ...

yes, i was looking for cell_pk source for ages and does it work in latest rathena?

Thanks!

edit:

tried it and not working.

and im not sure if this line is a typo


  • //find this

  • else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.p

  • //use this to replace

  • else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.pvp) ||(!battle_config.duel_allow_gvg && map_flag_gvg(m))))||( cell_pk_check(t_bl, s_bl, m) == true ))

Edited by Feefty

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