From 75b71c93f2449765688df5a247d808b7b86b0fda Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 1 Feb 2007 20:06:06 +0000 Subject: - Added support for mob skill target 'randomtarget', when specified, it will pick a random enemy from within the skill's cast range. - Updated the mob_db so that all skills from non-moving mobs that specified 'target' as enemy will use 'randomtarget' instead. - Amon Ra's meteors now use randomtarget instead of self. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9762 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index 00be1fe42..6d2d8a7db 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -57,6 +57,7 @@ int battle_weapon_attack( struct block_list *bl,struct block_list *target, // 各種パラメータを得る struct block_list* battle_get_master(struct block_list *src); struct block_list* battle_gettargeted(struct block_list *target); +struct block_list* battle_getenemy(struct block_list *target, int type, int range); int battle_gettarget(struct block_list *bl); int battle_getcurrentskill(struct block_list *bl); -- cgit v1.2.3-60-g2f50