summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ea70e2fe2..d6b06256e 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -554,7 +554,7 @@ int skillnotok (uint16 skill_id, struct map_session_data *sd)
// uncomment for more verbose message.
//char output[150];
//sprintf(output, msg_txt(662), battle_config.min_npc_vendchat_distance);
- //clif->displaymessage(sd->fd, output);
+ //clif->message(sd->fd, output);
clif->skill_fail(sd,skill_id,USESKILL_FAIL_THERE_ARE_NPC_AROUND,0);
return 1;
}
@@ -5069,7 +5069,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
if (sd)
clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
if (skill->break_equip(bl, EQP_WEAPON, 10000, BCT_PARTY) && sd && sd != dstsd)
- clif->displaymessage(sd->fd, msg_txt(669));
+ clif->message(sd->fd, msg_txt(669));
}
break;
@@ -5747,7 +5747,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
//NOTE: mobs don't have the sprite animation that is used when performing this skill (will cause glitches)
char temp[70];
snprintf(temp, sizeof(temp), "%s : %s !!",md->name,skill_db[skill_id].desc);
- clif->message(&md->bl,temp);
+ clif->disp_overhead(&md->bl,temp);
}
break;
@@ -5972,7 +5972,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
}
if(!battle_config.duel_allow_teleport && sd->duel_group && skill_lv <= 2) { // duel restriction [LuzZza]
char output[128]; sprintf(output, msg_txt(365), skill->get_name(AL_TELEPORT));
- clif->displaymessage(sd->fd, output); //"Duel: Can't use %s in duel."
+ clif->message(sd->fd, output); //"Duel: Can't use %s in duel."
break;
}
@@ -12426,7 +12426,7 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
case AL_WARP:
if(!battle_config.duel_allow_teleport && sd->duel_group) { // duel restriction [LuzZza]
char output[128]; sprintf(output, msg_txt(365), skill->get_name(AL_WARP));
- clif->displaymessage(sd->fd, output); //"Duel: Can't use %s in duel."
+ clif->message(sd->fd, output); //"Duel: Can't use %s in duel."
return 0;
}
break;