summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 18:35:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 18:35:41 +0000
commitbe333fef8f4e91bebd76d0fb1c6ca714915d5dbb (patch)
tree6d563cc846d8611af820f1b86c7367b2e09e4091 /src/map/mob.c
parentf97561eb2ee94d591170e1f578c0cf736669b210 (diff)
downloadhercules-be333fef8f4e91bebd76d0fb1c6ca714915d5dbb.tar.gz
hercules-be333fef8f4e91bebd76d0fb1c6ca714915d5dbb.tar.bz2
hercules-be333fef8f4e91bebd76d0fb1c6ca714915d5dbb.tar.xz
hercules-be333fef8f4e91bebd76d0fb1c6ca714915d5dbb.zip
- Fog of Wall won't affect the caster now in any way.
- Added a missing status_calc_mob on mob_spawn_guardian_sub - Added clif_fixpos packets before attacking for the first time to clear any position sync issues with the client. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6985 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 55bc02af9..8968136dd 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -421,6 +421,8 @@ static int mob_spawn_guardian_sub(int tid,unsigned int tick,int id,int data)
md->guardian_data->emblem_id = g->emblem_id;
memcpy (md->guardian_data->guild_name, g->name, NAME_LENGTH);
md->guardian_data->guardup_lv = guild_checkskill(g,GD_GUARDUP);
+ if(md->guardian_data->guardup_lv)
+ status_calc_mob(md, 0); //Give bonuses.
return 0;
}