You should also tell us the root of the file you edited just in case people don't know~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.
#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
just use /monsterhp ingame and the bar is goneI 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.
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
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}
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}
We use essential cookies to make this site work, and optional cookies to enhance your experience.