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
commit35467de0fb6dc06a402315ea478495d74080e3c5 (patch)
tree79659d470525996eb45773c0d196df440b35330e /src/map/unit.h
parent89974727211311dc13f3c823ab6f565f8942455b (diff)
downloadhercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.gz
hercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.bz2
hercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.xz
hercules-35467de0fb6dc06a402315ea478495d74080e3c5.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/trunk@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);