summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-25 17:19:57 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-25 17:19:57 +0000
commita2bc8b2b7c30bd02b8a22c0abbdc711093d852f2 (patch)
tree67ae0fd7dc8c9fcf3d1acd8c6a98503af49b6b56 /src/map/clif.c
parentc652d46923e5b95a54ab16cf6ccc8eb74e5f4c08 (diff)
downloadhercules-a2bc8b2b7c30bd02b8a22c0abbdc711093d852f2.tar.gz
hercules-a2bc8b2b7c30bd02b8a22c0abbdc711093d852f2.tar.bz2
hercules-a2bc8b2b7c30bd02b8a22c0abbdc711093d852f2.tar.xz
hercules-a2bc8b2b7c30bd02b8a22c0abbdc711093d852f2.zip
Follow up r16669 updated the new monster hp to its official behavior.
Follow up r16661 added missing configuration for variable cast time reduction through stats. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16704 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b71c8e21c..508f4991e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4139,6 +4139,14 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl)
clif_specialeffect_single(bl,423,sd->fd);
else if(md->special_state.size==SZ_MEDIUM)
clif_specialeffect_single(bl,421,sd->fd);
+#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->fd);
+ }
+#endif
}
break;
case BL_PET: