From 6f51acd64405e1f081e1a54a5c3f5c3b5431bc70 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 18 Aug 2006 01:57:08 +0000 Subject: - Applied use of structure regen_data for a unified regen module. Natural and skill-heal is handled by this structure, while sitting-skill-heal is still player dependant (mostly because the other object types can't sit) - Added SCB_REGEN constant to identify status changes which alter regeneration - Modified SC_REGENERATION so that if val4 is set, the status actually blocks regen rather than increase it, this is what now Frenzy uses instead of "canregen_tick" - Cleaned up the status calc code for homun by moving it from status_calc_bl_sub_homun to status_calc_homun (where it should had always been) - Moved the Fleet watk code to status_calc_watk where it belongs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8334 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index e59ec0821..05592fefa 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5368,7 +5368,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case GD_REGENERATION: if(flag&1) { if (status_get_guild_id(src) == status_get_guild_id(bl)) - sc_start(bl,SC_REGENERATION,100,skilllv,skill_get_time(skillid, skilllv)); + sc_start(bl,type,100,skilllv,skill_get_time(skillid, skilllv)); } else if (status_get_guild_id(src)) { clif_skill_nodamage(src,bl,skillid,skilllv,1); map_foreachinrange(skill_area_sub, src, -- cgit v1.2.3-60-g2f50