[大秘境]
1、初始化计时器_countdownTimer 2、开始大秘境挑战发送客户端数据包
This commit is contained in:
parent
3bd95ac266
commit
46338f58b8
@ -21,7 +21,7 @@ public:
|
||||
|
||||
struct instance_wailing_caverns_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_wailing_caverns_InstanceMapScript(Map* map) : InstanceScript(map) { }
|
||||
instance_wailing_caverns_InstanceMapScript(Map* map) : InstanceScript(map), _countdownTimer(0) { }
|
||||
|
||||
void Initialize() override
|
||||
{
|
||||
|
||||
@ -796,6 +796,7 @@ bool ModSMAddon::OnRecv(Player* player, std::string msg)
|
||||
instance->SetData(DATA_KEYSTONE_VALIDATED, DONE);
|
||||
// 然后开始倒计时
|
||||
instance->DoAction(ACTION_START_MYTHIC_COUNTDOWN);
|
||||
sGCAddon->SendPacketTo(player, "SM_S_MYTHICPLUS_COUNTDOWN","");
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user