diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-28 15:49:36 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-28 15:49:36 +0000 |
commit | 2b4787d78f47142d979cb568e179387fb4befc7b (patch) | |
tree | 5d9bb07a9d54bb882849c363d096f70a402e52a4 /src/map/mob.c | |
parent | 16d0bed247603d86d33b6b6b2cf6e3e2251abab4 (diff) | |
download | hercules-2b4787d78f47142d979cb568e179387fb4befc7b.tar.gz hercules-2b4787d78f47142d979cb568e179387fb4befc7b.tar.bz2 hercules-2b4787d78f47142d979cb568e179387fb4befc7b.tar.xz hercules-2b4787d78f47142d979cb568e179387fb4befc7b.zip |
- Fixed summon mobs being able to cast "summon" skills.
- Summoned mobs will inherit the size and ai properties of the master.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5790 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 034aca215..a344375b1 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2503,6 +2503,8 @@ int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id) data.x = md2->bl.x;
data.y = md2->bl.y;
data.num = 1;
+ data.state.size = md2->special_state.size;
+ data.state.ai = md2->special_state.ai;
if(mobdb_checkid(value[0]) == 0)
return 0;
|