summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 14:42:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 14:42:17 +0000
commitb3dae1ee6a703c8e42230d12b93929e48b75553f (patch)
tree82582277459e24395365ae5f61f944708cfe85bd /src/map/party.c
parentf19f87054c9666877ad925f9d95d40ff7dc6c15e (diff)
downloadhercules-b3dae1ee6a703c8e42230d12b93929e48b75553f.tar.gz
hercules-b3dae1ee6a703c8e42230d12b93929e48b75553f.tar.bz2
hercules-b3dae1ee6a703c8e42230d12b93929e48b75553f.tar.xz
hercules-b3dae1ee6a703c8e42230d12b93929e48b75553f.zip
- Added config setting "party_hp_mode" (battle/party.conf) which determines method to use to update party-mate hp bars. Aegis style is to update HP bars whenever HP changes, while eAthena style is to update it together with the map party dots. Defaults to aegis style.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7920 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 490f5eb19..309995d9d 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -668,7 +668,8 @@ int party_send_xy_timer_sub(DBKey key,void *data,va_list ap)
p->data[i].x = sd->bl.x;
p->data[i].y = sd->bl.y;
}
- if (p->data[i].hp != sd->battle_status.hp)
+ if (battle_config.party_hp_mode &&
+ p->data[i].hp != sd->battle_status.hp)
{
clif_party_hp(sd);
p->data[i].hp = sd->battle_status.hp;