summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-01 20:06:06 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-01 20:06:06 +0000
commit75b71c93f2449765688df5a247d808b7b86b0fda (patch)
treecdba42c8b756b0db204a4db27ae19887e12b49e4 /src/map/mob.h
parente38f00cc342543973a5a1faaa2db067f63dcb9e4 (diff)
downloadhercules-75b71c93f2449765688df5a247d808b7b86b0fda.tar.gz
hercules-75b71c93f2449765688df5a247d808b7b86b0fda.tar.bz2
hercules-75b71c93f2449765688df5a247d808b7b86b0fda.tar.xz
hercules-75b71c93f2449765688df5a247d808b7b86b0fda.zip
- 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
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index f4895c7e0..0828629bd 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -73,6 +73,7 @@ struct mob_db {
enum {
MST_TARGET = 0,
+ MST_RANDOM, //Random Target!
MST_SELF,
MST_FRIEND,
MST_MASTER,