浏览代码

Follow up to a7de6f8
* Fixed a compile error.

aleos89 9 年之前
父节点
当前提交
b9cce000bf
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/map/skill.c

+ 2 - 2
src/map/skill.c

@@ -7962,7 +7962,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
 		break;
 
 	case WE_MALE: {
-			uint8 hp_rate = abs(skill_get_hp_rate(skill_id, skill_lv);
+			uint8 hp_rate = abs(skill_get_hp_rate(skill_id, skill_lv));
 
 			if (hp_rate && status_get_hp(src) > status_get_max_hp(src) / hp_rate) {
 				int gain_hp = tstatus->max_hp * hp_rate / 100; // The earned is the same % of the target HP than it costed the caster. [Skotlex]
@@ -7972,7 +7972,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
 		}
 		break;
 	case WE_FEMALE: {
-			uint8 sp_rate = abs(skill_get_sp_rate(skill_id, skill_lv);
+			uint8 sp_rate = abs(skill_get_sp_rate(skill_id, skill_lv));
 
 			if (sp_rate && status_get_sp(src) > status_get_max_sp(src) / sp_rate) {
 				int gain_sp = tstatus->max_sp * sp_rate / 100; // The earned is the same % of the target SP than it costed the caster. [Skotlex]