From 9692bc034537693d331148ae8bd15153265c6cf0 Mon Sep 17 00:00:00 2001 From: malufett Date: Wed, 16 Oct 2013 03:11:25 +0800 Subject: Fixed Bug#7374 -Hercules now fully support Monster Transformation. Signed-off-by: malufett --- src/map/atcommand.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 10c96e317..cc29fa1bb 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4713,7 +4713,13 @@ ACMD(disguise) clif->message(fd, msg_txt(1144)); // Character cannot be disguised while mounted. return false; } - + + if(sd->sc.data[SC_MONSTER_TRANSFORM]) + { + clif->message(fd, msg_txt(1488)); // Character cannot be disguised while in monster form. + return false; + } + pc->disguise(sd, id); clif->message(fd, msg_txt(122)); // Disguise applied. -- cgit v1.2.3-60-g2f50