summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-06 14:37:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-06 14:37:44 +0000
commit7ada5312d478e4f56e8829779eb8c977877c99c2 (patch)
tree107125b7f161e95e1f520072d5a9ecc959dd0ce7 /src/map/mob.c
parent374f1656a59e2130ed4ee7bb7520ff5dc2bf6b82 (diff)
downloadhercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.gz
hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.bz2
hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.xz
hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.zip
- Fixed a debug message showing up on skill castend nodamage id when using a guild skill
- Fixed #save not working on maps not in the current map server. - Added battle config clear_skills_on_death to decide whether all ground-based skills should be removed when you die. Defaults to yes. - Changed Magic Crasher's element to -1 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5472 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 529b75cea..700b00e7f 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -817,7 +817,8 @@ int mob_changestate(struct mob_data *md,int state,int type)
clif_foreachclient(mob_stopattacked,md->bl.id);
skill_unit_move(&md->bl,gettick(),4);
status_change_clear(&md->bl,2); // ステータス異常を解除する
- skill_clear_unitgroup(&md->bl); // 全てのスキルユニットグループを削除する
+ if (battle_config.clear_unit_ondeath)
+ skill_clear_unitgroup(&md->bl);
skill_cleartimerskill(&md->bl);
if(md->deletetimer!=-1)
delete_timer(md->deletetimer,mob_timer_delete);