--ЌжЉ“ЋјЌц function s08_RoleDie(MapID, InstanceID, RoleID, KillerID) if unit.IsPlayer(RoleID) and unit.IsPlayer(KillerID) then role.SetTrialCompleteNum(KillerID, 2016, role.GetTrialCompleteNum(KillerID,2016) + 1) if role.GetTrialState(KillerID, 2016) == 1 and role.GetTrialCompleteNum(KillerID,2016) >= Trail_maxnum[2016] then role.TrialComplete(KillerID,2016) end end end aux.RegisterMapEvent("s08", 5, "s08_RoleDie") function s08_OnEnterTrigger(MapID, InstanceID, RoleID, ObjID) if ObjID == 11394 then role.RoleGotoNewMap(MapID, InstanceID, RoleID, 3424074792, 550, 5800, 1130) -- Сумеречная пустошь elseif ObjID == 9908 then role.RoleGotoNewMap(MapID, InstanceID, RoleID, 3424073256, 1289, 2538, 780) end end aux.RegisterMapEvent("s08", 6, "s08_OnEnterTrigger") function s08_OnInit(MapID,InstanceID,CreatureID,CreatureTypeID) -- map.MapCreateColCreature(MapID, InstanceID, 9010573, 2365, 11351, 2467, 1, "") end aux.RegisterMapEvent("s08", 0, "s08_OnInit") function s09_OnAreaGoto(MapID, InstanceID, RoleID, ObjAreaID) if ObjAreaID == 2557 then role.RoleGotoNewMap(MapID, InstanceID, RoleID, 3424075048, 1645, 6580, 2865) -- vора —мерти end end aux.RegisterMapEvent("s09",7,"s09_OnAreaGoto")