From 7564712d7fc9d13890011fdd22215e9ff912e1a4 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 1 Mar 2006 18:18:32 +0000 Subject: - Turn Undead and Offensive Resurrection should now work on undead players. - Fixed the range checking of Repair weapon - Rude attacked is now also triggered when you hit a target that can't move out of their melee attack range. - Mob ai will attempt to do a long-range attacked condition skill before unlocking a target when it is attacked and said target is out of melee range of a non-walking mob. - Corrected mobskill event to set the target_id before triggering. - Moved MSC_SKILLUSED trigger to mobskill_event which is triggered in battle_calc_damage. It is also triggered on skill_castend_nodamage_id - Added party_share_loot for handling party-share loot. it should now work with autoloot as well. - Fixed skill_break_rate breaking stuff even if the rate is 0. - pc_stopwalking will not send a fixpos packet if you are sitting. - mob_can_reach rude-attacked condition now uses the mob's field of view. - SC_NOCHAT is automatically started on pc_authok if manner is negative. - Map server now refuses to start if you try to define a label with the same name as some const.txt defined character parameter. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5414 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/party.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/party.h') diff --git a/src/map/party.h b/src/map/party.h index f1a3f5fcc..76954a4c5 100644 --- a/src/map/party.h +++ b/src/map/party.h @@ -5,6 +5,7 @@ #define _PARTY_H_ #include +#include "map.h" extern int party_share_level; struct party; @@ -39,6 +40,7 @@ int party_check_conflict(struct map_session_data *sd); int party_skill_check(struct map_session_data *sd, int party_id, int skillid, int skilllv); int party_send_xy_clear(struct party *p); int party_exp_share(struct party *p,int map,unsigned int base_exp,unsigned int job_exp,int zeny); +int party_share_loot(struct party *p, TBL_PC *sd, struct item *item_data); int party_send_dot_remove(struct map_session_data *sd); int party_sub_count(struct block_list *bl, va_list ap); int party_foreachsamemap(int (*func)(struct block_list *,va_list),struct map_session_data *sd,int type,...); -- cgit v1.2.3-70-g09d2