summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2018-04-01 23:54:10 +0800
committerJedzkie <jedzkie13@rocketmail.com>2018-04-08 01:19:29 +0800
commitb20e9cbb327a41b01183a94e00d0d7ef51600e65 (patch)
tree85be9f19a276242dbca23a083dfcadf3927b8e5e /src/map/status.c
parent584e8de359412091cb05f98b83a25fac47b5c9f2 (diff)
downloadhercules-b20e9cbb327a41b01183a94e00d0d7ef51600e65.tar.gz
hercules-b20e9cbb327a41b01183a94e00d0d7ef51600e65.tar.bz2
hercules-b20e9cbb327a41b01183a94e00d0d7ef51600e65.tar.xz
hercules-b20e9cbb327a41b01183a94e00d0d7ef51600e65.zip
Update Skill/Item messages
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 3e4b4a45c..b2f67735b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1780,7 +1780,11 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin
for(i = 0; i < map->list[src->m].zone->disabled_skills_count; i++) {
if( skill_id == map->list[src->m].zone->disabled_skills[i]->nameid && (map->list[src->m].zone->disabled_skills[i]->type&src->type) ) {
if (src->type == BL_PC) {
- clif->msgtable(sd, MSG_SKILL_CANT_USE_AREA); // This skill cannot be used within this area
+#if PACKETVER >= 20080311
+ clif->skill_mapinfomessage(sd, 2);
+#else
+ clif->messagecolor_self(sd->fd, COLOR_CYAN, msg_sd(sd, 50));
+#endif
} else if (src->type == BL_MOB && map->list[src->m].zone->disabled_skills[i]->subtype != MZS_NONE) {
if( st->mode&MD_BOSS ) { /* is boss */
if( !( map->list[src->m].zone->disabled_skills[i]->subtype&MZS_BOSS ) )