Jump to content

Recommended Posts

Posted

would be nice if all players can't atk them too. (sorry if it is already like this, didn't read the code yet :P)

Index: src/map/battle.c

===================================================================

--- src/map/battle.c (revision 16928)

+++ src/map/battle.c (working copy)

@@ -5089,6 +5089,9 @@

if( (s_bl = battle_get_master(src)) == NULL )

s_bl = src;

+

+ if(s_bl->type == BL_MOB && t_bl->type == BL_PC && map[m].flag.mobcantattackplayer == 1 ) // [Goddameit]

+ return 0;

if ( s_bl->type == BL_PC ) {

switch( t_bl->type ) {

remove

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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