Can someone edit the code of @monsterignore/@battleignore? Instead of ignoring ALL attack, it will ONLY ignore the attack of players. meaning mob can attack the player even if he/she use the command monsterignore / battleignore.
struct map_session_data *sd;
if( t_bl == s_bl ) break;
sd = BL_CAST(BL_PC, t_bl);
if( sd->state.monster_ignore && flag&BCT_ENEMY )
return 0; // Global inminuty only to Attacks
if( sd->status.karma && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->status.karma )
state |= BCT_ENEMY; // Characters with bad karma may fight amongst them
Question
x13th
Can someone edit the code of @monsterignore/@battleignore? Instead of ignoring ALL attack, it will ONLY ignore the attack of players. meaning mob can attack the player even if he/she use the command monsterignore / battleignore.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.