summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 16:53:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 16:53:10 +0000
commit1af5eb4ad8b5a03e430772ececf37f3986d0d537 (patch)
tree175ee3eb2bcde3c6f146e2607c9956da26b223c2 /src/map/battle.h
parentcdb9971c1511c4732ce08f0cb1c411a21abe8d77 (diff)
downloadhercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.gz
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.bz2
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.xz
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.zip
- 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
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h14
1 files changed, 3 insertions, 11 deletions
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);