Jump to content
  • 0

safe zone on a specific pvp map


Question

Posted

how to implement this?using @battleignore command?

for example. if i enter the box. my status is on automatically @battleignore. but when i go out the box. my status will be back to normal.

post-1381-0-18765300-1339966981_thumb.jpg

5 answers to this question

Recommended Posts

  • 1
Posted

I have ever seen similar topic in Ea forums

and use ~AnnieRuru~'s code

battle.c

in function int battle_check_target

find

//Alliance state takes precedence over enemy one.
else if( state&BCT_ENEMY && strip_enemy && state&(BCT_SELF|BCT_PARTY|BCT_GUILD) )
	state&=~BCT_ENEMY;

and add after

if ( map_getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map_getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map_getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map_getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) )
state &= ~BCT_ENEMY;

  • Upvote 1
Posted

since when ôO?

Hm.. I usually thought it keeps you save from Monsters as well :(

try to cast basilica then try to summon aggressive monster like mvp boss. they still attacking you even your inside the basilica

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