Monster Hp Display

Omnija

New member
Messages
4
Points
0
I was wondering if there's a method of removing the pink health bar?

edit: nvm i edited the > and switched it to a < and it doesn't show anymore.

 
Last edited by a moderator:
I was wondering if there's a method of removing the pink health bar?

edit: nvm i edited the > and switched it to a < and it doesn't show anymore.
You should also tell us the root of the file you edited just in case people don't know~
default_tongue.png


 
just remove this from mob.c and recompile

Code:
#if PACKETVER >= 20120404	if( !(md->status.mode&MD_BOSS) ){		int i;		for(i = 0; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob.			if( md->dmglog[i].id ) {				struct map_session_data *sd = map->charid2sd(md->dmglog[i].id);				if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range					clif->monster_hp_bar(md,sd);			}		}	}#endif 
 
I was wondering if there's a method of removing the pink health bar?

edit: nvm i edited the > and switched it to a < and it doesn't show anymore.
just use /monsterhp   ingame and the bar is gone

 
Last edited by a moderator:
This is my setup and it work
happy.png
 
ani_no1.gif


Code:
srcmapclif.c/* <--- Add#if PACKETVER >= 20120404                if( !(md->status.mode&MD_BOSS) ){                    int i;                    for(i = 0; i < DAMAGELOG_SIZE; i++) {// must show hp bar to all char who already hit the mob.                        if( md->dmglog[i].id == sd->status.char_id ) {                            clif->monster_hp_bar(md, sd);                            break;                        }                    }                }#endif */ <-- Add
Code:
srcmapmob.c/*==========================================* mob heal, update display hp info of mob for players*------------------------------------------*/void mob_heal(struct mob_data *md,unsigned int heal){    if (battle_config.show_mob_info&3)        clif->charnameack (0, &md->bl);/* <-- Add#if PACKETVER >= 20120404    if( !(md->status.mode&MD_BOSS) ){        int i;        for(i = 0; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob.            if( md->dmglog[i].id ) {                struct map_session_data *sd = map->charid2sd(md->dmglog[i].id);                if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range                    clif->monster_hp_bar(md,sd);            }        }    }#endif*/ <-- add}
Code:
srcmapmob.c    if (battle_config.show_mob_info&3)        clif->charnameack (0, &md->bl);    if (!src)        return;/* <-- Add#if PACKETVER >= 20120404    if( !(md->status.mode&MD_BOSS) ){        int i;        for(i = 0; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob.            if( md->dmglog[i].id ) {                struct map_session_data *sd = map->charid2sd(md->dmglog[i].id);                if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range                    clif->monster_hp_bar(md,sd);            }        }    }#endif*/ <-- Add}
 
Just typing

/monsterhp

Would disable it too.

 
I like the bar of HP of monsters.
My only problem is that the bar is always displayed.

Originally only monstraba HP bar if the monster takes damage, now HP is permanent bar, the bar showing all monsters on the screen.

use / monsterhp effectively removes HP bar, but I want it to look the bar HP if the monster takes damage.

 
Back
Top