summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/skill.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index c179f70..ea7beb3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6333,14 +6333,16 @@ int skill_check_condition(struct map_session_data *sd,int type)
if(type&2)
return 1;
- if(sp > 0) { // SP消費
- sd->status.sp-=sp;
- clif_updatestatus(sd,SP_SP);
- }
- if(hp > 0) { // HP消費
- sd->status.hp-=hp;
- clif_updatestatus(sd,SP_HP);
- }
+ pc_heal(sd, -sp, -hp); // [Fate] This might suppress some dupe messages
+
+/* if(sp > 0) { // SP消費 */
+/* sd->status.sp-=sp; */
+/* clif_updatestatus(sd,SP_SP); */
+/* } */
+/* if(hp > 0) { // HP消費 */
+/* sd->status.hp-=hp; */
+/* clif_updatestatus(sd,SP_HP); */
+/* } */
if(zeny > 0) // Zeny消費
pc_payzeny(sd,zeny);
if(spiritball > 0) // 氣球消費