diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-05-21 08:16:09 -0400 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-21 06:27:37 -0600 |
commit | dd0631d545b4b3e13a6cecbd287a8d91b75524c2 (patch) | |
tree | e02566f256c05053822e7605e54132a825bd91ed | |
parent | fdf3fa3479ff9ee122d246092f7ca51a60fd4691 (diff) | |
download | tmwa-dd0631d545b4b3e13a6cecbd287a8d91b75524c2.tar.gz tmwa-dd0631d545b4b3e13a6cecbd287a8d91b75524c2.tar.bz2 tmwa-dd0631d545b4b3e13a6cecbd287a8d91b75524c2.tar.xz tmwa-dd0631d545b4b3e13a6cecbd287a8d91b75524c2.zip |
Makes sure we tell the client to remove the healing effect
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 64e66d7..84dc028 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5000,6 +5000,12 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage) // Character is dead! + // [Kage] Make sure the healing effect doesn't play + if (sd->special_state.heal_effect) { + sd->special_state.heal_effect = 0; + clif_status_change(&sd->bl, SC_HEALING, 0); + } + sd->status.hp = 0; // [Fate] Stop quickregen sd->quick_regeneration_hp.amount = 0; |