From 1af5eb4ad8b5a03e430772ececf37f3986d0d537 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 7 Aug 2006 16:53:10 +0000 Subject: - Some code cleaning in status.c - Reflected damage will now also have a chance of draining hp/sp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8164 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index 43f20c4e0..d410e7a12 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -73,17 +73,9 @@ int battle_getcurrentskill(struct block_list *bl); #define BCT_NOONE 0x000000 #define BCT_SELF 0x010000 #define BCT_NEUTRAL 0x100000 -/* -enum { - BCT_NOENEMY =0x00000, - BCT_PARTY =0x10000, - BCT_ENEMY =0x40000, - BCT_NOPARTY =0x50000, - BCT_ALL =0x20000, - BCT_NOONE =0x60000, - BCT_SELF =0x60000, -}; -*/ + +#define is_boss(bl) status_get_mexp(bl) // Can refine later [Aru] + int battle_check_undead(int race,int element); int battle_check_target(struct block_list *src, struct block_list *target,int flag); int battle_check_range(struct block_list *src,struct block_list *bl,int range); -- cgit v1.2.3-60-g2f50