From 09fc9df0b6eb37a77641403eb7d7bc85f5899e0e Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 10 Aug 2006 20:17:38 +0000 Subject: - Hopefully fixed family-party-even-share not breaking when a member logs out. - Corrected Advanced Jobs HP bonus from 30% -> 25% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8238 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/int_party.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/char') diff --git a/src/char/int_party.c b/src/char/int_party.c index 5d9ab9123..62fc1ca7f 100644 --- a/src/char/int_party.c +++ b/src/char/int_party.c @@ -638,6 +638,11 @@ int mapif_parse_PartyChangeMap(int fd, int party_id, int account_id, int char_id p->party.member[i].online = online; if (online) p->party.count++; else p->party.count--; + if (p->family && p->party.exp && !party_check_exp_share(p)) + { //Even-share lost. + p->party.exp = 0; + mapif_party_optionchanged(0, &p->party, 0, 0); + } } if (p->party.member[i].lv != lv) { if(p->party.member[i].lv == p->min_lv || -- cgit v1.2.3-70-g09d2