diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-10-16 03:11:25 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-10-16 03:11:25 +0800 |
commit | 9692bc034537693d331148ae8bd15153265c6cf0 (patch) | |
tree | 274e4f14e69802e5bfd59976f3a7bf7649f98ab8 /src/map/atcommand.c | |
parent | 3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9 (diff) | |
download | hercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.gz hercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.bz2 hercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.xz hercules-9692bc034537693d331148ae8bd15153265c6cf0.zip |
Fixed Bug#7374
-Hercules now fully support Monster Transformation.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 8 |
1 files changed, 7 insertions, 1 deletions
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. |