魔兽私服 经验交流 发布家族 高手进阶心得 软件下载 魔兽私服技术文章 家族联盟 广告合作

修改代码,让单人进入团队副本

if(pMapinfo && pMapinfo->type == INSTANCE_RAID && GetPlayer()->InGroup() && GetPlayer()->GetGroup()->GetGroupType() != GROUP_TYPE_RAID)
                                {
                                        WorldPacket msg;
                                        msg.Initialize(SMSG_AREA_TRIGGER_MESSAGE);
                                        msg << uint32(0) << "You need to be in a raid group to be able to enter this instance." << uint8(0) << uint8(0);
                                        SendPacket(&msg);
                                        return;
                                }
                                if(pMapinfo && pMapinfo->type == INSTANCE_RAID && !GetPlayer()->InGroup())
                                {
                                        WorldPacket msg;
                                        msg.Initialize(SMSG_AREA_TRIGGER_MESSAGE);
                                        msg << uint32(0) << "You need to be in a raid group to be able to enter this instance." << uint8(0) << uint8(0);
                                        SendPacket(&msg);
                                        return;
                                }

上一篇魔兽私服文章:上一篇: 清理怪物尸体时间(antrix.co
下一篇魔兽私服文章:下一篇: antrix版本GM命令集合(全)
魔兽世界私服 魔兽世界下载 wow魔兽私服
五二我的wow魔兽私服网 www.52mysf.com 提供最新开魔兽世界私服发布 版权所有