From c8391c9c07abd235b2d40d8cfec39d62827706a7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 30 May 2006 19:28:41 +0000 Subject: - Fixed Absorb Spirit Spheres - Added battle_config min_chat_delay (default 0) specifies in ms what is the min delay between player sent chats (whisper/global/party/guild). Messages that exceed this threshold are silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the player?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6859 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 79c1e048c..14ba8bbb1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3862,17 +3862,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in i = 2 * dstmd->db->lv; mob_target(dstmd,src,0); } - if (sd){ - if (i > 0x7FFF) - i = 0x7FFF; - if (sd->status.sp + i > sd->status.max_sp) - i = sd->status.max_sp - sd->status.sp; - if (i) { - sd->status.sp += i; - clif_heal(sd->fd,SP_SP,i); - } - } + if (i) { + status_heal(src, 0, i, 3); clif_skill_nodamage(src,bl,skillid,skilllv,0); + } break; case AC_MAKINGARROW: /* –î?ì?¬ */ -- cgit v1.2.3-70-g09d2