summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-23 09:26:00 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-23 09:26:00 +0000
commit7d7f935061145b4f387ce904ec3d1c44612341bb (patch)
tree81961130b37c75bd7915bc46247fea87c3709f40 /src/map/unit.h
parent012a470926be6d0d0f51f877c6ba1ffd3422ea3a (diff)
downloadhercules-7d7f935061145b4f387ce904ec3d1c44612341bb.tar.gz
hercules-7d7f935061145b4f387ce904ec3d1c44612341bb.tar.bz2
hercules-7d7f935061145b4f387ce904ec3d1c44612341bb.tar.xz
hercules-7d7f935061145b4f387ce904ec3d1c44612341bb.zip
* Added script command pushpc, which is required by newer scripts.
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 0d8e4535e..3b82dce56 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -84,6 +84,7 @@ int unit_movepos(struct block_list *bl, short dst_x, short dst_y, int easy, bool
int unit_warp(struct block_list *bl, short map, short x, short y, int type);
int unit_setdir(struct block_list *bl,unsigned char dir);
uint8 unit_getdir(struct block_list *bl);
+int unit_blown(struct block_list* bl, int dx, int dy, int count, int flag);
// そこまで歩行でたどり着けるかの判定
bool unit_can_reach_pos(struct block_list *bl,int x,int y,int easy);